The fungus gnat life cycle has four stages (egg, larva, pupa, adult) and completes in roughly 25 to 30 days under typical indoor conditions. That speed is exactly why a few gnats buzzing around your houseplants can become a full infestation within weeks. Understanding each stage helps you target the right one at the right time.
The Four Stages at a Glance
Fungus gnats go through complete metamorphosis, meaning they pass through egg, larva, pupa, and adult stages before the cycle starts over. At normal room temperatures, the entire process from egg to flying adult takes about four weeks. Warmer, moister conditions speed things up; cooler, drier ones slow it down. Because generations overlap, you’ll often see eggs, larvae, and adults in the same pot simultaneously.
Eggs: Days 1 Through 6
A female fungus gnat lays up to 200 eggs in clusters, tucking them into cracks and crevices on the surface of moist potting soil. The eggs are tiny, nearly invisible to the naked eye, and hatch within three to six days. Females are drawn to soil that’s rich in organic matter and consistently damp, which is why overwatered houseplants are prime real estate. If you’ve recently added compost, organic mulch, or leaf mold to a pot, that’s even more attractive to an egg-laying female.
Larvae: The Destructive Stage
Once hatched, the larvae spend roughly 15 days feeding in the top few inches of soil. They’re small, translucent, and worm-like with a distinctive shiny black head capsule. Most of their diet is fungi, decaying organic matter, root hairs, and other decomposing material in the growing medium. In small numbers, they’re essentially harmless recyclers.
At high populations, though, larvae chew through living roots and can stunt growth or even kill plants, particularly seedlings and young transplants. Significant root damage and plant death have been documented in houseplants kept in moist, organically rich soil. A wilting plant that you’ve been watering faithfully may not be thirsty at all. It may have damaged roots from larval feeding (or from other root health problems that the same soggy conditions invite).
This is the longest and most vulnerable stage, which makes it the best window for intervention. The larvae can’t fly, can’t leave the soil, and are concentrated near the surface where treatments can reach them.
Pupae: A Quick Transition
After about two weeks of feeding, larvae spin a thin silky cocoon in the soil and pupate. This stage lasts only five to six days. During pupation, the insect transforms from its worm-like larval body into its winged adult form. You won’t see pupae. They’re buried just below the soil surface and don’t feed or move. Because this stage is so short and hidden, there’s not much you can do to target it directly.
Adults: Short-Lived but Prolific
Adult fungus gnats are delicate, dark brown or black flies about 1/8 inch long. They’re weak fliers, often seen resting on the soil surface or hovering lazily near the base of a plant rather than zipping around the room. Adults live for about a week, and in that time their sole meaningful job is reproduction. They don’t bite, they don’t feed on your plants, and they cause no direct damage. The nuisance is entirely about what their offspring do in the soil and, of course, the annoyance of tiny flies near your face.
Because each female can lay up to 200 eggs, a single generation can produce an enormous next generation if conditions stay favorable. That’s the math behind how a minor gnat presence becomes a swarm in under a month.
How to Tell Them Apart From Similar Flies
Fungus gnats are easy to confuse with shore flies and fruit flies. Shore flies are stockier, much stronger fliers, and have five light-colored spots visible on their dark wings. They feed on algae rather than soil fungi, so they show up around standing water, not potting mix. Fruit flies are rounder and tend to hang around overripe produce, not plant pots. If the tiny flies are weak fliers resting on your soil surface, you’re almost certainly dealing with fungus gnats.
Breaking the Cycle
The most effective approach targets larvae in the soil, since that’s the longest stage and where all the damage happens. Two biological options work well. Parasitic nematodes (specifically the species Steinernema feltiae) are microscopic roundworms you apply as a soil drench. They enter larvae through natural body openings and release bacteria that kill from the inside out. Larvae die within three to four days. The other option is a naturally occurring soil bacterium called Bti, applied the same way as a drench. Bti is the active ingredient in products like Gnatrol, widely used in commercial greenhouses.
For adults, yellow sticky traps placed at soil level catch gnats at rest or during their short, clumsy flights. They won’t eliminate an infestation on their own, but they reduce the number of adults laying eggs and give you a visual read on how bad the problem is.
Why Moisture Is the Root Cause
Every stage of the fungus gnat life cycle depends on wet soil. Females choose moist surfaces to lay eggs. Larvae need damp organic matter to survive. Letting the top inch or two of potting mix dry out between waterings makes the environment hostile at every point in the cycle. This is the single most effective long-term prevention strategy: water less frequently, improve drainage, and avoid letting saucers sit full of water. Plants potted in dense, peat-heavy mixes that hold moisture are more vulnerable than those in well-draining blends with perlite or bark.
If you’re dealing with a plant that needs consistently moist soil, combining a biological larvicide with sticky traps and a top dressing of coarse sand or gravel (which discourages egg-laying on the surface) can keep populations in check without changing your watering habits.