How Long Do Fungus Gnats Live?

Fungus gnats live longer than you think. Learn the full 3-4 week life cycle, the destructive larval stage, and environmental control factors.

Adult fungus gnats live anywhere from about two days to roughly two weeks, depending on the species. That number surprises most people because the tiny flies seem to hang around houseplants and greenhouses for months. The persistence of an infestation has less to do with individual longevity and more to do with overlapping generations, since the full egg-to-adult cycle takes only about three to four weeks and a single female can deposit hundreds of eggs before she dies.

The Full Life Cycle, Stage by Stage

Fungus gnats belong to the fly family Sciaridae and pass through four distinct life stages: egg, larva, pupa, and adult. Most of the animal’s life is spent as a larva burrowing through damp soil or growing media, not as the winged adult you notice buzzing near your plants.

One laboratory study tracking a common greenhouse species, Bradysia sp., on a lily crop measured the complete cycle at about 25 days. Eggs hatched roughly three and a half days after being laid, the larval stage ran about 17 days, pupation took just over two days, and the adults survived for about two days after emerging. Research on a related species, Bradysia difformis, found a similar overall timeline of 20 to 25 days at typical room temperatures, with eggs hatching in four to six days, larval development spanning 12 to 14 days across four feeding stages, and pupation taking three to four days.

The takeaway is that roughly two-thirds to three-quarters of the total lifespan is spent as a larva underground, invisible to you. The adults that catch your eye are already in the final and shortest chapter of their lives.

Why Adult Lifespan Varies So Much Between Species

Saying “fungus gnats” is a bit like saying “songbirds.” The family includes hundreds of species, and adult longevity varies considerably among them. In the Bradysia species studied on lilies, adults lived only about two days. By contrast, adults of Lycoriella ingenua, a species commonly found in commercial mushroom houses, live about 6 to 12 days. That is a six-fold difference in adult lifespan between two species you could easily confuse with the naked eye.

If you are dealing with a household infestation, you probably cannot identify the species without a microscope. The practical range to keep in mind is that any given adult buzzing around your potting soil will likely be dead within one to two weeks, and possibly much sooner. It is the steady stream of newly emerging adults that makes the problem feel endless.

Temperature and the Speed of the Cycle

The developmental timelines in the research literature come with a temperature footnote. The 20-to-25-day egg-to-adult cycle for Bradysia difformis was recorded at 20 to 25 °C, which is roughly 68 to 77 °F and matches the range of most heated homes and greenhouses. Similarly, the 18-to-21-day developmental time for Lycoriella ingenua was measured at 24 °C.

Insect development is driven by accumulated warmth, so cooler conditions slow everything down and warmer conditions speed it up. In an unheated garage over winter, the cycle could stretch well beyond a month. In a warm propagation greenhouse hovering near 80 °F, generations may turn over even faster than the lab numbers suggest. For most indoor gardeners, though, the standard three-to-four-week cycle is a reliable estimate because your home already sits in the temperature sweet spot these gnats prefer.

How Short-Lived Adults Produce So Many Offspring

A creature that lives for two days as an adult cannot afford to waste time finding a mate or laying eggs. Fungus gnats have evolved accordingly. Females of Lycoriella ingenua copulate within seconds of being paired with a male, and even females that experience a mating delay of up to four days after emergence still lay a full complement of eggs. Only when mating is delayed to five days after emergence does egg output drop, falling by about half compared to females that mate on the day they emerge. Given that these adults live 6 to 12 days, the five-day delay represents a large portion of the adult window, and the fact that fecundity holds steady until that point shows how front-loaded reproduction is.

A single female Bradysia difformis can deposit as many as 1,000 eggs over the course of her adult life, laying them on the surface of moist growing media. Even species with lower egg counts typically produce at least a hundred or more. When you combine that reproductive output with a three-to-four-week generation time, you can see how a single potted plant brought home from a nursery can seed a full-blown infestation within a couple of months. The adults die quickly, but their offspring are already incubating in the soil below.

What the Larvae Eat and Why Your Plants Care

Fungus gnat adults are mostly a nuisance. They do not bite, and they feed on very little as adults, if they feed at all. The damage to plants comes entirely from the larval stage, which is also the longest stage in the life cycle.

Larvae feed primarily on fungi, decaying organic matter, and algae in the soil. Laboratory work has shown that larvae of Bradysia impatiens can complete their entire development from egg to adult by feeding solely on the mycelium, oospores, and zoospore cysts of Pythium, a common water mold found in potting mixes. This detail matters for two reasons. First, it explains why overwatered plants attract fungus gnats: soggy soil promotes fungal growth, which provides a food source for larvae. Second, because the larvae ingest and can redistribute fungal spores and structures, they act as vectors for soil-borne plant pathogens. A fungus gnat infestation is not just cosmetic; the larvae can carry root-rot organisms from one plant to another.

When fungal food runs low, larvae will chew on fine root hairs and stems at the soil line. Seedlings, cuttings, and young transplants are especially vulnerable because they have limited root systems and cannot tolerate the damage. Established houseplants with healthy root systems usually survive, but heavy infestations can cause yellowing, wilting, and poor growth that gets mistaken for overwatering or nutrient deficiency.

Will an Infestation Go Away on Its Own?

In theory, yes. If the conditions that support the larvae change, say the soil dries out thoroughly and stays dry, then the larvae cannot feed or survive, and the cycle breaks. In practice, most people’s watering habits restart the problem before it fully resolves. Because a new generation emerges every three to four weeks, even a brief return to damp conditions can restart the population. The gnats you see flying around your kitchen today hatched from eggs laid several weeks ago, so by the time you notice them, the next generation of larvae is often already developing in the soil.

This is the central frustration of fungus gnat management. Killing the adults with sticky traps or a swat is satisfying but addresses only the short-lived tail end of the life cycle. The eggs and larvae underground are unaffected. Any realistic control strategy has to target the soil stage, or at least disrupt conditions enough that eggs and larvae cannot survive.

Practical Ways to Break the Life Cycle

Understanding the timeline gives you a framework for dealing with these insects. You need to sustain whatever intervention you choose for at least four to five weeks, long enough to outlast one full generation and overlap with the next.

  • Let the soil dry: Fungus gnat larvae need consistently moist conditions. Allowing the top couple of inches of potting mix to dry out between waterings kills young larvae and makes the surface less appealing for egg-laying females. Bottom-watering, where you set pots in a tray of water and let the soil wick moisture upward, keeps the surface drier while still hydrating the roots.
  • Top-dress with sand or grit: A half-inch layer of coarse sand, perlite, or decorative gravel on the soil surface creates a barrier that dries quickly and discourages females from laying eggs. It does not eliminate an existing population underground, but it slows reinfestation.
  • Yellow sticky traps: These catch adults before they can lay eggs. They will not solve an infestation alone, but they reduce the number of eggs entering the soil each cycle and give you a visual gauge of how bad the problem is. If the traps are still catching dozens of adults after several weeks of drying out the soil, larvae are surviving somewhere.
  • Biological controls: Beneficial nematodes and the bacterium Bacillus thuringiensis var. israelensis (often sold as Bti mosquito dunks or granules) target larvae in the soil. Bti is watered into the potting mix and is ingested by feeding larvae, killing them within days. Nematodes actively hunt larvae in the soil. Both are non-toxic to people, pets, and plants.
  • Hydrogen peroxide drench: A dilute hydrogen peroxide solution (roughly one part 3% peroxide to four parts water) poured through the soil can kill larvae and eggs on contact. It breaks down into water and oxygen, so it does not harm plant roots at that dilution. This is a one-time knockdown rather than a lasting solution, and it works best in combination with drying out the soil afterward.

The key to all of these methods is persistence. A single treatment or one week of letting the soil dry might kill most of the current larvae, but any eggs that hatch afterward will restart the cycle. Keep up your chosen strategy for at least a month, and ideally six weeks, to make sure you have covered the full developmental window.

Common Misconceptions About Fungus Gnats

People often assume the flying adults are the problem and focus exclusively on killing them. The adults are the most visible stage but the least damaging and shortest-lived. Swatting every gnat you see in the evening does almost nothing to the population living in your soil.

Another misconception is that fungus gnats come from “bad” soil or contaminated bags of potting mix. While it is true that eggs or larvae can hitchhike in commercially bagged soil, most infestations start because the conditions in your home are ideal: warm, moist, with plenty of organic matter for the larvae to eat. Sterilizing or replacing soil helps in the short term, but if you keep watering heavily, the gnats will find their way back. The problem is the moisture level, not the dirt.

There is also a widespread belief that fungus gnats are fruit flies. The two are easily confused because both are small and hover around the kitchen, but they are unrelated. Fruit flies are attracted to fermenting fruit and liquids; fungus gnats are attracted to damp soil and decaying plant material. If the flies cluster around your fruit bowl, you have fruit flies. If they hover near your potted plants and rise in a little cloud when you water, those are fungus gnats. The distinction matters because the control strategies are entirely different.

Fungus Gnat Eyes Across Geologic Time

One of the more unexpected branches of fungus gnat research has nothing to do with houseplants. Researchers have used X-ray microtomography to compare the compound eyes of ancient, fossilized fungus gnats with those of modern species. The fossilized gnat, despite being millions of years old, had a larger estimated field of view than either of the two modern species examined, even though its head and eye size fell between theirs. The finding suggests that these insects’ visual systems have changed over evolutionary time, possibly in response to shifting habitats or predator pressures. It is a reminder that the tiny flies circling your pothos plant belong to a lineage that has been adapting for a very long time, and their rapid life cycles are part of what makes that adaptation so efficient. Each generation is a fresh round of selection, and with a new generation emerging every few weeks, fungus gnats can evolve and adapt to new environments faster than most organisms their size.