How do fireflies light up?

Fireflies use a glowing chemical reaction to signal to one another in the dark of dusk and night.

A long-exposure shot of specks of light from fireflies in the forest
The firefly's lantern, or light-producing organ, helps these beetles glow so they can repel predators and communicate during courtship.
(Image credit: Trevor Williams via Getty Images)

It's one of the quintessential signs of summer in parts of the United States: fireflies twinkling in the night. Fireflies' ability to produce their own light is called bioluminescence, which is found in select animals, bacteria and fungi all over the world. Most of these creatures live in caves or oceans. But a handful live where humans can see them, including the more than 2,000 species of beetle that make up the firefly family.

So we know what the effect is called. But how do fireflies (family Lampyridae), also called lightning bugs, create these dazzling displays?

Freda Kreier
Live Science Contributor

Freda Kreier is a journalist based out of Washington, D.C. She majored in molecular biology at Colorado College. Freda holds a master’s in science communication from the University of California, Santa Cruz. Her work focuses on science and the natural world, with bylines in Nature, The New York Times and more.