Skip to content
Stop Fungus Gnats
One visible adult usually means more are developing in the soil

Fungus gnats don't stop at one fly.

A female fungus gnat can lay dozens of eggs in moist potting mix, and a new batch of adults can emerge every few days once a pot is infested — the cycle doesn't break on its own. This is how you break it.

Is this you?

  • Tiny flies lift off every time you water
  • They gather at windows, not the fruit bowl
  • The soil never seems to fully dry out
Or jump straight to the 7-day plan
  1. Identify
  2. Treat
  3. Prevent
Indoor houseplant on a windowsill with damp soil where fungus gnats breed
Damp soil like this is the nursery

The whole fix

Confirm it, manage moisture, trap adults, treat larvae if needed

In that order. Skip identification or moisture and you're just delaying the next generation, not stopping it. The 7-day plan turns this into a day-by-day checklist.

See the full 7-day plan
  1. 1

    Confirm it's actually fungus gnats, not fruit flies or drain flies.

  2. 2

    Adjust watering so the mix dries appropriately for that specific plant — not the same rule for a succulent as a seedling.

  3. 3

    Stand yellow sticky cards at soil level to monitor and catch adults.

  4. 4

    If soil moisture and traps alone aren't enough, use a Bti product labeled for fungus gnats, following the label.

3–4 weeks
approximate egg-to-adult time indoors
~2 weeks
approximate time larvae feed in the mix
Several weeks
typical time to complete control, not days

First: confirm the pest

Wrong diagnosis, wasted week.

Fungus gnats live in potting mix. Fruit flies live in kitchens. Drain flies live in pipes. Treat the wrong one and you're back here in seven days. Three questions will sort it — or see the full comparison.

Close-up of a fungus gnat on moist potting soil
Identify the pest1 / 4

Where do you see them most?

Four quick questions

Why they keep coming back

You're fighting a life cycle, not a few flies

Full stage-by-stage detail: the fungus gnat life cycle. Wondering how they got here at all? See the causes.

The fungus gnat life cycle, illustrated in three stages Stage one: eggs laid in wet soil hatch within days. Stage two: larvae feed underground for about two weeks, invisible to sticky traps. Stage three: short-lived adults emerge, fly up when disturbed, and lay the next batch of eggs — restarting the cycle unless it's broken. THE CYCLE REPEATS — UNLESS YOU BREAK IT 01 EGG Hatches in days 02 LARVA Feeds ~2 weeks INVISIBLE TO TRAPS 03 ADULT Lays the next batch
01

Eggs in wet mix

Females lay in moist organic soil. Eggs hatch in a few days.

02

Larvae underground

White maggots with black heads feed for about two weeks. Traps miss them completely.

03

Short-lived adults

Adults are weak fliers. Kill them and the next wave still emerges from the pot.

Methods that work

Stack three attacks at once

See every treatment

Prevention

Keep them from coming back

Water from below

Bottom watering keeps the surface drier so females have nowhere useful to lay.

Cover the soil

A half-inch of coarse sand or grit after larvae are down makes egg-laying harder.

Quarantine new plants

Nursery mix is a common hitchhike. One sticky card for a week before they join the shelf.

Still wondering

Common questions

Q01 How do I know if I have fungus gnats?

They are tiny dark flies that look like mosquitoes, with long legs. They hover around houseplant soil and often fly up when you water. Fruit flies hang around kitchens and produce. Drain flies look fuzzy and sit on bathroom or kitchen drains.

Q02 Do fungus gnats bite people?

No. Adults are a nuisance in the air and on windows. The damage is underground: larvae feed on fungi, organic matter, and sometimes fine roots — especially on seedlings.

Q03 How long does it take to get rid of fungus gnats?

You may see fewer adults within days once moisture is managed and adults are being trapped, but complete control often takes several weeks, longer for a heavier infestation, because eggs and larvae keep hatching on their own schedule. Keep monitoring after adult numbers fall — don't assume it's over the moment things look clear.

Q04 Will cinnamon or vinegar traps be enough?

Vinegar traps catch some adults but are built for fruit flies. Cinnamon is a mild fungicide and may help a little. Neither replaces dry soil plus a larval treatment. Use them as extras, not the plan.

All questions