Firefly-Friendly Gardening

Firefly glowing while flying

CREDIT: ALI MAJDFAR/GETTY IMAGES

It's estimated that one in three firefly species may be at risk of extinction, but you can help them in your garden!

Learn about how you can provide fireflies with the habitat essentials they need to survive and thrive. By providing these in your outdoor space, you may even be eligible to get recognized as a Certified Wildlife Habitat®!

Food   |   Water   |   Cover   |   Places to Raise Young   |   Sustainability


Food for wildlife habitat

Food for Fireflies

There are over 170 species of fireflies across North America, and fireflies' diet and behaviors vary a lot from species to species. Some adult fireflies eat nectar and pollen from flowers, while others are carnivorous. Some fireflies even eat other fireflies!

To support the varied diets of these insects, we recommend planting native flowers that bloom throughout the summer, providing nectar and pollen for fireflies. These same native plants will also support local insect populations, which will then become food for some of the carnivorous firefly species!

Leaving a natural fallen leaf layer in garden beds can not only provide fireflies with cover and a place to raise their young, but it also supports many animals that some fireflies eat like snails, slugs, and various insect larvae.


Fresh water for wildlife habitat

Water for Fireflies

Fireflies thrive in areas where the ground remains moist, like damp forest floors, wet meadows and especially areas near standing bodies of water. In fact, some of the larval forms even have gills!

If areas of your yard naturally retain water or stay damp, you're probably already providing firefly habitat. If you don't have moist areas, consider creating a forest floor environment by adding thick layers of fallen leaves to your garden beds, which hold on to moisture needed by fireflies. You might also create a rain garden to absorb and retain rainwater as it percolates into the soil rather than sending it down the storm drains. Add wetland plants and your rain garden will become a great firefly habitat. A small pond or water garden in the landscape can help create a damper environment for fireflies and their larval forms too.

If you have concerns about mosquitoes, you can simply add a mosquito dunk to the water source, which does not harm the fireflies or other beneficial wildlife that visit!

Learn more about these topics here:


Cover for wildlife habitat

Cover for Fireflies

With over 170 species of fireflies across North America, their behavior and preferences for cover sources can vary a lot across species. Many fireflies need landing spots in plants to perform their blinking to attract a mate. Some species stay in plants close to the ground, while others fly up to the trees. Meanwhile, many firefly larvae and even some adult fireflies take refuge in the leaf layer or even water sources on the ground!

Firefly crawling on Lyreleaf Sage plant

CREDIT: TESS RENUSCH

One of the best ways you can provide cover for fireflies is to ensure you have multiple layers of cover, working from the ground up to the treetops. See an example of what can go in these layers below. You can select just one or a few options from each layer.

  • Bottom Layer: Fallen leaf layer, ground cover native plants such as ferns and wildflowers, and a water source like a pond.
  • Middle layer: Native flowering plants, tall native grasses, and native shrubs.
  • Upper Layer: Native trees and snags.

Places to raise young for wildlife habitat

Places for Fireflies to Raise Their Young

Have you ever seen a baby firefly? Like many insects, fireflies begin their life looking a bit different from their adult forms. These fireflies have a larval stage in which they're known as "glowworms." In this stage, many species of fireflies spend their days in the damp layer of leaves and logs on the ground.

If all the leaves are raked and sent away in yard waste bags, the glowworms lose their habitat or are even carted away as part of the yard waste! Without a good leaf layer, many fireflies will never even make it to adulthood. Since this larval stage can last up to a few years for some firefly species, keeping the leaves in your yard and out of the landfill is critical to seeing more fireflies in the years to come!

Instead of carting away your fallen leaves, use them as a natural mulch by raking them into garden beds where they can provide habitat for the glowworms. (Using them in garden beds vs. just leaving them where they fall also keeps your yard looking neighbor and HOA-friendly.)

Plus, firefly larvae are commonly found near ponds and streams where the earth is damp. Add in a water source like a pond to attract more fireflies!


Sustainable gardening for wildlife habitat

Sustainable Practices to Benefit Fireflies

Unfortunately, most of our standard lawn and garden design and maintenance practices are bad for fireflies. Fireflies can't survive in a closely cropped turf grass lawn. Pesticides will kill fireflies in both their larval and adult life phases. Bagging or burning fallen leaves destroys firefly habitat and kills fireflies hiding in the leaves. Outdoor lighting disorients fireflies and can disrupt mating behavior.

Many fireflies flashing in the dark

CREDIT: HAOXIANG YANG/GETTY IMAGES

Replacing lawn with garden beds filled with native plants provides fireflies with safe habitat to hunt and hide. Plus, the deeper roots of many native plant species can help better maintain soil moisture, which many firefly larvae need. Recycling fallen leaves as mulch in those beds also provides moist firefly habitat.

Even if fireflies have everything they need to survive in your garden, it will all be for naught if they become the victims of lawn pesticides. Avoiding pesticides and relying on organic gardening techniques will remove the danger these toxic chemicals pose to fireflies (and many other wildlife species). Fireflies rely on the dark for their flashing to be effective at finding mates. Light pollution from our outdoor and landscape lighting can disorient fireflies and make it difficult for them to find mates and reproduce. Turn your outdoor lights off before bed. You can put them on a timer or a motion detector to limit their impact. Light pollution affects many other wildlife species from songbirds to moths to sea turtles.


Firefly FAQs


You may have seen headlines with this attention-grabbing statement. It is certainly true that we have seen alarming firefly declines due to human activity. A study in 2024 found that firefly populations are declining in North America, and it’s estimated that one in three firefly species may be at risk of extinction. The situation is serious.

There are a few causes for this decline including:

  • Pesticide use which can impact fireflies and their food sources
  • Habitat loss as natural areas are developed into housing, roads, and businesses
  • Light pollution which can disrupt firefly mating behavior
  • Traditional gardening methods which include widespread use of turf grass, pesticides, and removal of the leaf layer as "yard waste"

However, resigning ourselves to the idea that fireflies' fate is sealed can be dangerous in its own way. There is still a lot we can do to support firefly populations, both on a broader scale and in your own backyard. Using the gardening methods covered on this page can be a big step in supporting fireflies, and sharing this message with your friends, family, and neighbors can help convince others to garden for fireflies too.

You can also take action by getting involved in community science initiatives like recording firefly sightings through Firefly Atlas or even advocating for broader change in your municipality.

It's also important to note that fireflies are not the only wildlife that need our help. One third of America’s wildlife species are at risk of extinction, but your wildlife garden can help! And when you create a firefly-friendly habitat, it's also benefitting countless other species.

While fireflies are typically associated with the Eastern United States, they can actually be found in every state of the continental United States! Some regions boast more than 50 species!

You can see an interactive map of firefly sightings here.

There are 172 known firefly species across North America.

Species can vary widely in what they eat, their behaviors, and their preferred habitat. You can get to know some of the different species in your area by blinking patterns, which vary from species to species, just like you might identify birds by their calls and songs!

The answer depends somewhat on where you live. Fireflies tend to be active in North America throughout May, June, and July. Which month they are most active in depends on your location and the climate. Some areas like Texas even have some fireflies that can be seen late into October.

During the months when fireflies are most active, you can often see them blinking around dusk. Warm and muggy nights are often the best choices for seeing lots of firefly activity.

Fireflies' blinking is a form of communication. The blinking patterns are most often used to find a mate of the same species. Their blinking patterns are often different, meaning that you can get to know some of the different species in your area by their blinking styles, just like you might identify birds by their calls and songs!

Some firefly species are carnivorous and will even eat other fireflies. Some of these species will mimic the blinking patterns of a different firefly species to lure them in and eat them!

Fireflies do not sting or bite. In fact, one of the best ways fireflies protect themselves has to do with their glowing! The same chemicals that make them glow are also poisonous to most predators who try to eat them.

Seeing fireflies can feel like witnessing a quiet kind of magic. Around the world, many cultures view fireflies as more than your average insect–in some Indigenous traditions, they are seen as messengers, reminders of ancestral presence, or carriers of light through dark times.

From an ecological perspective, fireflies are also an indicator species, meaning they are sensitive to change in the immediate environment and react quickly when conditions begin to deteriorate. This allows scientists to monitor the broader ecosystem by monitoring fireflies. Their presence often suggests a healthy, balanced habitat with moist soil, native vegetation, minimal light pollution, and limited pesticide use.

In that sense, seeing fireflies in your yard means you are curating a healthy ecosystem–not just for fireflies, but for many other species that benefit from high-quality firefly habitat!

Certified Wildlife Habitat sign

Get Your Firefly Garden Certified!

When you garden for fireflies, you’re already providing many of the habitat essentials needed to get recognized as a Certified Wildlife Habitat®! See if you qualify and get certified today!