🪲 How do fireflies light up?

Kids Ask · A real kid question, answered · Grades 2–6

The short answer

Fireflies make their own light with a chemical reaction inside a part of their body called a lantern. They mix a chemical called luciferin with oxygen and a helper chemical called luciferase, and it glows. It is “cold light”: it makes almost no heat. Fireflies flash mostly to find a mate, and each kind of firefly has its own flash code.

✨ Crack the flash code

Pick a kind of firefly from Great Smoky Mountains National Park, then press Play. The strip at the bottom shows one firefly's pattern over 24 seconds.

Patterns follow National Park Service descriptions. The drawing is simplified.

Dig deeper: a light recipe and a secret code

The light recipe

Making light inside a living thing is called bioluminescence (Mississippi State University Extension). In the firefly's lantern, "fireflies mix the chemical luciferin with oxygen and the enzyme luciferase" (National Park Service). The glow wastes very little energy as heat. That's why it's often called "cold light."

The secret code

Flashing helps fireflies find a mate. Males usually flash while flying, and females answer from the ground. "The timing and pattern of these flashes is unique for each species" (National Park Service). Here are some of the codes at Great Smoky Mountains National Park:

FireflyIts flash code
Synchronous firefly (Photinus carolinus)5 to 8 yellow flashes, then 8 to 10 seconds of dark. Groups flash together!
Photinus macdermottiTwo yellow flashes about 1½ to 2 seconds apart, then a pause.
Photinus brimleyiSingle yellow flashes, 10 seconds or more apart.
Photinus pyralisA single long yellow glow while flying up, often in a J shape.
Blue ghost (Phausis reticulata)Males don't flash. They glow pale blue-green for 30 to 40 seconds.

Watch out for the Photuris fireflies: they copy other fireflies' signals to trick them, and then eat them!

More firefly facts

  • Fireflies are beetles, not flies (Mississippi State Extension).
  • Young fireflies, called larvae, can glow too, to "ward off predators."
  • A firefly spends one to two years as a larva but lives only three to four weeks as an adult (National Park Service).
  • Great Smoky Mountains National Park has 19 kinds of fireflies. More than 2,000 kinds are known around the world.
  • Nobody fully understands yet why synchronous fireflies flash together.

✅ Quick check (3 questions)

🧪 Try this at home: a firefly watch

On a warm summer evening, go outside with a grown-up after dark. Sit quietly in a yard or park and wait for the flashes.

  • Count the flashes in one burst, then count the seconds of dark ("one-Mississippi, two-Mississippi..."). Which code from the table does it match best?
  • Do some flashes look yellow-green and others whiter?
  • If you need a flashlight, cover it with red cellophane and point it at the ground. Bright white light can confuse fireflies' signals.
  • Just watch: don't catch them. If one lands on you, stay still until it flies away.

Help fireflies at home: turn off extra outdoor lights at night, and leave some tall grass where they can rest during the day (Mississippi State Extension).

Sources

We opened and checked each of these pages while writing this one.

Related: How do bees make honey? · Why do stars twinkle? · National Parks

More kid questions

❓ All Kids Ask questions