How Long Do Fungus Gnats Live? Life Cycle Explained
How long do fungus gnats live? Not long at all, which makes the problem confusing. The adult you swat today lived for about a week. The real population sits below it in the pot, where the next generation is already feeding and growing.
Adult fungus gnats live about one week. The full cycle from egg to adult takes 3 to 4 weeks under optimal conditions. Eggs hatch in 3 to 6 days, larvae feed for 1 to 2 weeks, and pupae turn into adults in 4 to 5 days. That overlap is why gnats keep coming back.
How Long Do Fungus Gnats Live? Adult Lifespan and Life Cycle
Adult fungus gnats survive about one week, according to University of Wisconsin Horticulture Extension. That week is enough. A female lays up to 200 eggs in clusters, tucked into cracks on the surface of moist potting soil. Each egg starts its own clock.

The stages run in a fixed order. Eggs hatch within 3 to 6 days. Larvae pass through four growth stages over 1 to 2 weeks, then pupate near the soil surface. Adults emerge 4 to 5 days after the pupae form. The 3 to 4 week total applies to optimal conditions, and a cool room can stretch it.
| Stage | Duration | Where it lives | What you see |
|---|---|---|---|
| Egg | 3 to 6 days | Cracks in the soil surface | Clusters of up to 200 per female |
| Larva | 1 to 2 weeks | Top layer of moist soil | Clear worm with a black head, up to 1/4 inch |
| Pupa | 4 to 5 days | Near the soil surface | Hidden in the soil |
| Adult | About 1 week | Leaves, soil, pot rims, windows | Dark fly about 1/8 inch long |
Generations overlap, so killing the flying adults never ends an infestation on its own. Fungus gnats go through multiple generations per year. While you swat adults, eggs, larvae and pupae keep developing in the soil. Wisconsin Extension notes that it may take 3 to 4 weeks of changed watering to get them in check.
Getting rid of gnats on house plants takes steady treatment across at least one full cycle. Nothing swatted or sprayed at the flying adults ends an infestation at once, because eggs, larvae and pupae stay in the soil.
Fungus Gnats vs Fruit Flies: How to Tell Them Apart
Fungus gnats are delicate, dark brown or black flies with a slim body. Fruit flies are stockier and tan, with a rounder shape. The flight differs too. Fungus gnats are weak fliers that hover near pots and walk across the soil, while fruit flies circle the kitchen.
The breeding site settles the question. Fungus gnats breed in moist potting soil. Fruit flies breed in ripe or fermenting fruit, drains and trash. If small flies rise from a pot when you water it, you have fungus gnats. If they gather around a fruit bowl, you have fruit flies. Neither one bites people.
Where Fungus Gnats Live in the Soil
Fungus gnat larvae live in the top layer of moist potting soil, typically within the top 1 to 2 inches. Eggs sit in surface cracks and pupae form near the surface, so the whole soil stage stays shallow. Mature larvae reach 1/4 inch and have a clear body with a shiny black head.

Larvae feed on fungi and decaying organic matter. On seedlings and young plants they can also chew roots. Adults do not feed on or damage plants. They rest on leaves, the soil surface, pot rims and nearby windows, and they stay close to the plant they came from.
What Causes a Fungus Gnat Infestation
A fungus gnat infestation starts with soil that stays wet. Females lay eggs in moist soil, and larvae feed on the fungi and organic matter that grow there. Mixes rich in peat, bark or compost give them more to eat. Frequent watering, full saucers and pots without drainage holes keep the top layer damp for days. Illinois Extension advises watering by soil moisture, not by the calendar.
The pests also arrive from outside. A new plant or an opened bag of potting mix can already hold eggs or larvae. Soil that never dries brings a second risk, because it also favors root rot in houseplants.
Fast-draining soil for succulent plants shows what a quick-drying mix looks like, and the same idea helps any plant that sits wet for days.
How to Spot and Monitor Fungus Gnats
Yellow sticky cards are the simplest way to spot fungus gnats. Lay a card flat on the soil or stake it just above the surface, then check it every few days. Rising counts mean a new generation is emerging. To find larvae, press a slice of raw potato onto the soil and lift it after a few days. Larvae gather underneath as tiny clear worms with black heads. Scratching the top layer of soil shows the same worms.
A stray gnat on your pillow or in your hair came from a nearby pot. It is not nesting there. Monitoring before treating is a core step of integrated pest management.
Getting rid of insects in house plants starts with the same card count, because it tells you which pest you are dealing with.
How to Prevent Fungus Gnats from Coming Back
Prevention starts with letting the top layer of soil dry between waterings. Eggs and larvae need moist soil, so a dry surface breaks the cycle where it begins. Test with a finger before you water. Empty saucers after watering and use pots with drainage holes. Keep new plants apart from the others for 3 to 4 weeks, one full cycle, and watch them with a sticky card.
Using grow lights for indoor plants frees you to place pots where air moves, instead of in dim corners where soil can stay damp.
Easy-care house plants that tolerate drier soil make this watering rhythm easier to keep, since a dry surface between waterings suits them.
No smell has a proven effect on fungus gnats. Cinnamon, vinegar and essential oil sprays are not registered treatments, and they have no documented effect on the larvae in the soil.
Leaf Comfort Tip. Leave one sticky card in the pot for four weeks after you see the last gnat. That span covers a full cycle. A card that stays clean suggests the soil population is gone.
Related reading: does neem oil kill fungus gnats.
Frequently Asked Questions
How deep in soil do fungus gnats live?
Fungus gnat larvae typically live in the top 1 to 2 inches of moist soil. Eggs and pupae sit even closer to the surface, which makes a dry top layer a strong defense.
Can fungus gnats infest your bed?
No. Fungus gnats typically breed in moist, organic-rich soil, so a bed gives them nothing to live on. An adult on your sheets strayed from a nearby plant and dies within about a week.
Do gnats lay eggs in your hair?
No. Female fungus gnats lay their eggs in cracks on the surface of moist potting soil, not on people or pets.
What diseases do gnats carry?
Fungus gnats are not a documented carrier of human disease, and they do not bite. Wisconsin Extension calls them a cosmetic problem in most situations. Their harm falls on plants, where larvae can damage the roots of seedlings.
Where do gnats go at night in your house?
At night, fungus gnats rest on the plant, the soil surface, pot rims and nearby windows. They rarely stray far from the pot they hatched in.
Sources
- University of Wisconsin Horticulture Extension, Fungus Gnats on Houseplants
- University of Wisconsin Horticulture Extension, Root Rots of Houseplants
- University of Illinois Extension, Houseplants Watering
- US EPA, Integrated Pest Management (IPM) Principles