Gnat Life Cycle Calculator

The gnat life cycle — egg, larva, pupa and adult — takes about 17 days at 75 °F (24 °C) for fungus gnats, the gnats that live in houseplant soil (UC IPM), and much longer in a cool room. Enter your room temperature and the day the soil was last overwatered to see the date of every stage, or switch to the break-the-cycle plan to find out how long to keep the soil dry and get a day-by-day checklist.

4 stages Break-the-cycle plan Updated October 2026
Gnat life cycle calculator
What do you want to know?
11–30 °C (52–86 °F), the range of the fungus gnat studies.
Leave blank to start from today. Can't be in the future.
Quick answer

The 4 stages at about 75 °F: egg about 3 days, larva about 10 days (four instars), pupa about 4 days, then adults that live 7–10 days (UC IPM; University of Kentucky). By temperature: egg to adult takes about 18–25 days at 21 °C and 93–113 days at 11 °C (Ishihara & Tagami 2019). To break it: keep the soil surface dry for a full cycle — about 35 days at 21 °C — or repot in fresh, pasteurised mix.

Gnat life cycle: 4 stages

The gnat in a houseplant is almost always a fungus gnat, and its life has four stages: egg, larva, pupa and adult. UC IPM describes the larva as having four larval stages, or instars, and gives a typical timeline at 75 °F (24 °C): eggs hatch in about 3 days, larvae take about 10 days to become pupae, and adults emerge about 4 days later — "a generation of fungus gnats (from female to female) can be produced in about 17 days".

Fungus gnat life cycle stages at about 75 °F (24 °C)
StageHow longWhat happensSource
EggAbout 3 daysTiny eggs laid in moist organic debris or potting soilUC IPM; UKy (hatch in about 4 days)
Larva (4 instars)About 10 daysFeeds on fungi, organic matter and fine roots; shiny black head, clear bodyUC IPM; UKy
PupaAbout 4 daysOblong pupa in the damp soilUC IPM
Adult7–10 daysMates and lays 100–200 eggs on moist soil or near plant stemsUKy ENTFACT-657

Notice where the time goes. Of those 17 days, 17 are spent in the soil and only the adult stage flies. That's why UC IPM says the most effective control targets the immature stages: "most of the fungus gnat's life is spent as a larva and pupa in organic matter or soil". The adults you swat are the tail end of the cycle, not the start.

The gnat life cycle overlaps itself, too. A female lays 100–200 eggs (University of Kentucky), and new adults keep appearing while older ones die, so a pot can hold every stage at once. UC IPM notes that fungus gnats have "many overlapping generations each year" and can occur at any time of year indoors.

Fungus gnat life cycle by temperature

Temperature sets the pace. The fungus gnat life cycle takes about 93 days from egg to adult female at 11 °C (52 °F) for Bradysia impatiens but only about 21 days at 25 °C (77 °F) (Ishihara & Tagami 2019). Other studies give 18–23 days at 17–21 °C (Thomas 1931), about 27 days at 24 °C for one population (Wilkinson & Daugherty 1970) and 15.6 days at 25 °C for another (Kennedy 1974). Here are the fungus gnat life cycle days at common room temperatures — the same egg-to-adult figures as our gnat lifespan calculator:

Fungus gnat life cycle days by temperature (egg, larva, pupa, egg to adult)
TemperatureEggLarva (4 instars)PupaEgg to adultEgg to last adult dying
11 °C (51.8 °F)16–20 days55–66 days22–27 days93–113 days100–123 days
16 °C (60.8 °F) (calculated)8.2–10 days27–33 days11–13 days46–57 days53–67 days
19 °C (66.2 °F)3.2–4.1 days11–14 days4.2–5.4 days18–23 days25–33 days
21 °C (69.8 °F) (calculated)3.1–4.3 days10–14 days4.1–5.8 days18–25 days25–35 days
24 °C (75.2 °F)3–4.8 days10–16 days4–6.4 days17–27 days24–37 days
25 °C (77 °F)2.8–4.7 days9.2–16 days3.7–6.3 days16–27 days23–37 days
28 °C (82.4 °F) (calculated) (uses 25 °C)2.8–4.7 days9.2–16 days3.7–6.3 days16–27 days23–37 days

Each row is a range because fungus gnat species and populations differ. The stage columns share the total out in the proportions UC IPM gives at 75 °F (3 : 10 : 4 days), the same way our fruit fly calculator shares out its development time; no study we found measured every stage at every temperature, so treat the split as an estimate. No published development time above 25 °C was found, so warmer rooms use the 25 °C figures (marked). In a typical home at 21 °C, egg to adult takes about 18–25 days, and the last adult from today's eggs could still be alive 35 days from now.

Fungus gnat eggs and larvae in the soil

Fungus gnat eggs

Fungus gnat eggs are tiny and laid where the larvae will feed: "in moist organic debris or potting soil" (UC IPM), on moist soil surfaces or near plant stems (University of Kentucky). You won't see them without a lens. How long does it take gnats to hatch? About 3 days at 75 °F (UC IPM), or about four days according to the University of Kentucky; at 21 °C the calculator puts it at about 3.1–4.3 days.

Fungus gnat larvae

Fungus gnat larvae are the stage that does the damage. UC IPM describes them as having "a shiny black head and an elongated, whitish-to-clear, legless body". They eat organic mulch, leaf mould, compost, fungi and root hairs, and in large numbers they can damage roots and stunt seedlings. When conditions are very wet they leave slime trails on the soil surface that look like tiny snail trails (UC IPM).

Gnat larvae in soil stay near the top: most are found in the top inch (UF/IFAS), which is why drying the surface works. To check a pot, push chunks of raw potato, cut side down, into the soil; "after a few days in a pot, remove infested chunks, dispose of them, and replace with fresh ones" (UC IPM).

How long do gnat larvae live?

How long do gnat larvae live? About 10 days at 75 °F (UC IPM) — roughly 14 days at 21 °C in our estimate, and much longer in a cool room. They're also the stage most sensitive to drying out: "When the soil dries, the larvae will die" (University of Maryland Extension).

How fast do gnats multiply?

How fast do gnats multiply? Fast, when the soil is warm and wet. Ishihara and Tagami (2019) measured the intrinsic rate of increase — how fast a population grows per day with plenty of food — for two greenhouse fungus gnats. Turned into doubling times, the numbers look like this:

How fast fungus gnats multiply: growth rate and doubling time by temperature
TemperatureGrowth rate per day, B. impatiensGrowth rate per day, Bradysia sp.Doubling time (B. impatiens)
11 °C (51.8 °F)+0.004-0.006about 173.3 days
16 °C (60.8 °F)+0.058+0.023about 12 days
20 °C (68 °F)+0.103+0.043about 6.7 days
25 °C (77 °F)+0.111+0.100about 6.2 days
30 °C (86 °F)+0.062-0.030about 11.2 days

The doubling time is calculated from the published rate (ln 2 ÷ rate), so it's the best case for a gnat population with nothing holding it back. At 20–25 °C a population of B. impatiens can double in under a week. At 11 °C it barely grows, and at 30 °C the second species actually shrank — warmth helps only up to a point.

In practice, the amount of water in the pot matters as much as temperature. Overwatering feeds the fungi the larvae eat (University of Maryland Extension), and houseplants "in the winter normally do not require as much water" (NC State Extension). That's how a few gnats in autumn become a cloud by mid-winter: a new generation about every 18–25 days at room temperature, each female laying up to 200 eggs, in soil that never dries.

How to break the fungus gnat life cycle

To break the cycle you have to keep conditions wrong for the young for longer than one full generation, so that the eggs and larvae already in the soil either die or emerge and die out as adults. At 21 °C that's about 35 days if you dry the soil, or about 10 days if you repot into fresh mix. The calculator's second mode gives the number for your room and a check-off list. These are the non-toxic steps from extension sources:

  • Let the surface of the soil dry between waterings, avoid overwatering and improve drainage (UC IPM). NC State Extension advises letting the soil surface dry completely between waterings in winter.
  • Water from below if it helps you keep the surface dry. Bottom-watering from the saucer is one way to follow that advice; empty the saucer afterwards so the pot doesn't sit in water (UC IPM: clean up standing water).
  • Trap adults with yellow sticky cards cut into squares on skewers (UC IPM). Traps alone don't stop the larvae, but they show whether the plan is working.
  • Use potato chunks to monitor and trap larvae, replacing them every few days (UC IPM).
  • Repot badly infested plants in pasteurised potting mix, and don't move infested pots next to clean ones (UC IPM). Home gardeners can solarise soil in clear or black plastic in the sun for about 4–6 weeks (UC IPM).
  • Remove decaying leaves and organic debris and avoid heavy organic fertilisers (UC IPM).

UC IPM also lists biological options that target larvae — Bacillus thuringiensis subspecies israelensis (Bti), Steinernema feltiae nematodes and predatory mites — and notes that insecticides are "rarely warranted" in homes. We don't give product or dosing advice.

How this calculator works

Life cycle timeline. The egg-to-adult total at your temperature comes from the same measured values as our gnat lifespan calculator: 11 °C, 17–21 °C (plotted at 19 °C), 24 °C and 25 °C, with straight lines between them (Ishihara & Tagami 2019; Thomas 1931; UC IPM; Wilkinson & Daugherty 1970; Kennedy 1974). The range shows the fastest and slowest populations. That total is shared between egg, larva and pupa in UC IPM's 75 °F proportions (3, 10 and 4 days of 17), and adults then live 7–10 days (University of Kentucky). Dates are counted from the day you enter — the day the soil was overwatered or you first saw gnats — or from today, and rounded to the nearest day. Above 25 °C the 25 °C figures are used and the result says so; outside 11–30 °C the tool asks for another temperature.

Break-the-cycle plan. The number of days is our gnat lifespan calculator's "how long will my gnat problem last?" figure: drying the soil (or bottom-watering) allows for the slowest larvae and pupae already in the soil to finish developing, then for the longest-lived adults; repotting removes the eggs, larvae and pupae with the old soil, so only the adults' remaining life is left. The checklist marks the days when the last eggs should have hatched, the last larvae pupated and the last adults emerged, with a check every 3 days in between — UC IPM's "after a few days" potato check. Sticky traps on their own get the full drying-cycle length and a warning, because traps catch adults but don't stop the larvae.

Frequently asked questions

What is the gnat life cycle?

Egg, larva (four instars), pupa and adult. At about 75 °F eggs hatch in about 3 days, larvae feed for about 10, pupae last about 4, and a new generation appears in about 17 days (UC IPM).

How many days is the fungus gnat life cycle?

About 17 days at 75 °F (UC IPM). It's about 18–25 days from egg to adult at 21 °C and as long as 93–113 days at 11 °C (Ishihara & Tagami 2019).

How long does it take gnats to hatch?

About 3 days at 75 °F (UC IPM) or about four days (University of Kentucky); longer in a cool room.

How long do gnat larvae live?

About 10 days at 75 °F before they pupate (UC IPM), and longer in cooler rooms. Drying the soil kills them (University of Maryland Extension).

Where do fungus gnats lay eggs?

In moist organic debris or potting soil (UC IPM), on moist soil surfaces or near plant stems (University of Kentucky).

What do fungus gnat larvae look like?

Tiny legless worms with a shiny black head and a whitish-to-clear body, in the top inch or so of damp soil (UC IPM; UF/IFAS).

How fast do gnats multiply?

At 20–25 °C a Bradysia impatiens population can double in under a week (calculated from Ishihara & Tagami 2019). Each female lays 100–200 eggs (University of Kentucky).

How long after overwatering do gnats appear?

New adults can emerge about 18–25 days after eggs are laid in wet soil at 21 °C — sooner in a warm room, much later in a cool one.

How long should I let the soil dry to get rid of fungus gnats?

Long enough to cover a full cycle: about 35 days at 21 °C. The calculator's plan mode works it out for your temperature.

Does repotting break the fungus gnat life cycle?

Yes, if you use pasteurised mix: the eggs, larvae and pupae go out with the old soil, leaving only adults, which live 7–10 days — about 10 days in all.

Do sticky traps break the gnat life cycle?

Not on their own. They catch adults and show you which pot is infested, but the larvae keep developing in wet soil (UC IPM).

Do fungus gnats breed all year indoors?

Yes. Indoors they have continuous, overlapping generations with all life stages present year-round (NC State Extension; UC IPM).

These calculators give estimates for education. Real flies vary with strain, food, humidity and temperature. For a stubborn infestation, your local cooperative extension service can help identify the insect. We give no pesticide advice.