Plant care checked against published sources Plant profiles, care guides and free tools Pictures are AI illustrations
Home / Blog / Get Rid of Fungus Gnats

Get Rid of Fungus Gnats

Fungus gnats are the most common houseplant pest. Here's exactly why you have them and a step-by-step plan to get rid of them permanently.

Get Rid of Fungus Gnats

Fungus gnats are among the commonest houseplant pests - those tiny black flies that drift up in a little cloud whenever you move a pot. The good news: they’re harmless to people, they don’t bite, and adult gnats do little damage to plants. The annoying news: they’re persistent, and getting rid of them for good means understanding what they actually are.

What Fungus Gnats Actually Are

A fungus gnat infestation has two stages, and you must treat both:

  • Adults - the tiny black flies you see. Colorado State University Extension gives them a life span of seven to 10 days, in which a female may lay up to 200 eggs. They do not bite or feed; they are mostly just annoying.
  • Larvae - tiny translucent worms living in the top few centimetres of soil. These are the real population. They feed on fungus, organic matter, and decaying roots in damp soil, and in large numbers they can nibble healthy roots.

Here’s the key insight: fungus gnats are a symptom, not the disease. They breed only in constantly damp soil. If you kill the adults but leave the soil wet, a new generation hatches within days. To win, you must fix the moisture and break the breeding cycle.

Why You Have Fungus Gnats

  • Overwatering - by far the most common cause. Soil that’s always damp on top is a perfect nursery.
  • A new plant brought them home - they came in its soil.
  • A bag of contaminated potting mix.
  • Soil rich in undecomposed organic matter that stays moist.

If you have gnats, you almost certainly have a watering habit that’s a little too generous - fixing that is half the battle.

The Step-by-Step Plan to Get Rid of Them

Do all of these together. One method alone rarely works.

Step 1: Let the soil dry out

This is the most important step - Colorado State’s guide calls letting the growing medium dry between waterings, especially the top 1 to 2 inches, the most important strategy. Let the top 3-5 cm of soil dry out completely before you water again - and keep it that way. Fungus gnat larvae and eggs can’t survive in dry soil. For plants that tolerate it, letting the soil go quite dry between waterings starves the larvae directly.

Step 2: Switch to bottom watering

Water the plant from below - stand the pot in a tray of water for 20 minutes so it soaks up moisture from the bottom. This keeps the top layer of soil dry, which is exactly where gnats breed. It’s one of the most effective long-term fixes.

Step 3: Top the soil with a dry barrier

Some growers cover the soil surface with a 1-2 cm layer of something dry: coarse sand, fine gravel, or perlite. The idea is to keep the surface dry and make egg-laying harder. We found no extension trial that measures how well it works, so treat it as a supplement to drying the soil, not a replacement.

Step 4: Trap the adults with yellow sticky traps

Place yellow sticky traps flat on or just above the soil. Gnats are drawn to yellow and stick fast. This steadily cuts the adult population and lets you monitor whether you’re winning (fewer caught over time = success).

Step 5: Kill the larvae in the soil

To attack the larvae directly, use one of these:

Two things we leave out. A hydrogen peroxide drench is recommended all over the internet; none of the extension guides we read lists it. And Colorado State notes that short-lived contact sprays - pyrethrins, soaps, oils and neem - do not give sufficient long-term control of fungus gnats.

Step 6: Repeat and be patient

At ordinary room temperatures the cycle from egg to adult may be completed in three to four weeks. Keep all the above going for at least 3-4 weeks, even once you see fewer gnats - you’re outlasting every egg already in the soil. Stopping early lets the population rebound.

When Nothing Works: The Repot Option

If an infestation is severe and stubborn, the nuclear option is to repot the plant. Remove as much of the old infested soil from the roots as you reasonably can, and repot into fresh, dry potting mix in a clean pot (our repotting size calculator helps you pick the right pot). Combined with the steps above, this resets the problem.

How to Prevent Fungus Gnats

  • Don’t overwater. Let soil dry properly between waterings - the #1 prevention.
  • Bottom water plants prone to gnats, keeping the surface dry.
  • Quarantine new plants for two weeks and check their soil before they join your collection.
  • Top vulnerable pots with sand or grit as a permanent barrier.
  • Use fresh, good-quality potting mix and store opened bags sealed and dry.
  • Don’t leave water standing in saucers.

Frequently Asked Questions

Are fungus gnats harmful?

To people, no: the University of California’s pest notes say adult fungus gnats don’t damage plants or bite people. Large numbers of larvae can damage roots and stunt growth, particularly in seedlings and young plants.

Why do I keep getting fungus gnats?

Because the soil stays too damp. Fungus gnats breed only in constantly moist soil. If you kill the adults but keep overwatering, a new generation hatches within days. Fix the watering.

What kills fungus gnat larvae in soil?

A Bti drench, applied and repeated as the label directs, or insect-parasitic nematodes. Letting the soil surface dry between waterings takes away the conditions the larvae need.

Do yellow sticky traps get rid of fungus gnats?

Sticky traps catch and reduce the adults, but they don’t touch the larvae breeding in the soil. They’re one part of the plan - use them alongside drying out the soil and treating the larvae.

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

Plan for at least 3-4 weeks of consistent treatment to outlast the full life cycle. Stopping as soon as you see fewer gnats lets the remaining eggs rebuild the population.


As an Amazon Associate, we earn from qualifying purchases - at no extra cost to you. This helps us keep producing free, in-depth guides.

About these links: Plantvale takes part in the Amazon Services LLC Associates Program and other affiliate programmes, so we may earn a commission when you buy through some of the links on this page. It costs you nothing extra, and which plants or products we recommend is never influenced by what pays.

Join and get our free plant toolkit.

Subscribe and put our printable watering calendar and care log to work today - then one plant or problem, explained in plain words, every week. Unsubscribe whenever; we won't chase you.