Home & Garden Garden How to Attract Fireflies to Your Backyard By Melissa Breyer Melissa Breyer Editorial Director Hunter College F.I.T., State University of New York Cornell University Melissa Breyer is Treehugger’s editorial director. She is a sustainability expert and author whose work has been published by the New York Times and National Geographic, among others. Learn about our editorial process Updated September 18, 2021 Fact checked by Elizabeth MacLennan Fact checked by Elizabeth MacLennan University of Tennessee Elizabeth MacLennan is a fact checker and expert on climate change. Learn about our fact checking process Don't you want to see more fireflies in your backyard? Here's how to make it happen. HTU/Shutterstock Share Twitter Pinterest Email Home & Garden Planting Guides Indoor Gardening Urban Farms Insects Few things in nature are as magical as a backyard coruscating with the glow of fireflies. But sadly — most likely due to habitat destruction, pesticide use, and light pollution — firefly populations are dwindling. With that in mind, making a firefly-friendly garden can serve two purposes: it can help the fireflies, and it can fill your summer dusk with the beguiling beauty of bioluminescence! Here’s how to get fireflies to flock to your neck of the woods. Skip the Chemicals Most chemicals used outdoors to kill or deter certain bugs aren’t that selective; they will likely kill or deter fireflies as well. And since larvae are born underground, lawn chemicals in the soil will be detrimental as well. Don’t Disrupt the Slimy Things A firefly larva starts to snack on a snail. Txanbelin/Shutterstock As magical as fireflies may be, the larvae have a less-than-enchanting secret; they’re wee carnivores that feast on worms, grubs, slugs, and snails. (And they do so by immobilizing their prey with toxic enzymes before sucking out the liquefied body contents. Sweet!) To keep the zombie bug babies happy so that they can grow up to become pretty fireflies, leave their slimy victims alone. Provide Good Cover During the day, nocturnal adult fireflies hide in the grass and low-profile plants. A nice variety of shrubs, high grass, and low-growing plants will provide shelter. Give Them What They Like Fireflies like moist areas, especially wet meadows, forest edges, farm fields, and wild bog, marsh, stream, and lake edges. Plant Flowers Planting flowers can help attract fireflies. Courtney A Denning/Shutterstock With 2,000 species of fireflies — and many of them having different diets — it may be hard to pinpoint what your local variety likes to eat. Many adult fireflies eat very little, but regardless, many eat a variety of pollen and nectar, so having a lot of flowers around should prove enticing. (And that approach is good for other pollinators, too!) Dim the Lights Since fireflies are so reliant on their “fire,” confusing them with artificial light can cause many problems. Street lamps, garden lights, and porch lights can all make fireflies a little shy. Resist the Urge to Put Them in a Jar Yes, it may be one of the joys of childhood, but collecting fireflies in a container can lead to accidental death — not to mention bug trauma. Instead, enjoy them as they flit about freely. View Article Sources "Types of Fireflies." Firefly Conservation and Research.