Fungus gnats

Fungus gnats are annoying rather than dangerous, and they are really a message about watering. Fix the soil and they go.

Fungus gnats
Photo: AfroBrazilian, CC BY-SA 3.0, via Wikimedia Commons

How to spot fungus gnats

Small, dark, slow-flying flies around the pots and on the windows, a few millimetres long.

They rise from the soil when you water or touch the pot.

The larvae are tiny, see-through worms with black heads in the top few centimetres of wet soil. A slice of potato pressed onto the soil for a day will show them.

How they might look

They don't all look the same. There are different kinds, the colours vary, and the young look different from the adults. Compare what you see with these real photos. Tap one to see it bigger.

Wings held flat, with a slight sheen
Wings held flat, with a slight sheenPhoto: AfroBrazilian, CC BY-SA 3.0
A female, with a longer body
A female, with a longer bodyPhoto: Katja Schulz from Washington, D. C., USA, CC BY 2.0
They rest on leaves and around pots
They rest on leaves and around potsPhoto: John Tann from Sydney, Australia, CC BY 2.0

Why they show up

They lay eggs in soil that stays damp. Overwatering, a pot that's too big, a dense mix and a saucer full of water all make a perfect nursery.

Bags of potting soil stored open, especially damp ones, often bring them into the home.

How they spread They fly from pot to pot and lay eggs in any soil that stays damp.

How to get rid of them

  1. Let the top 3 to 5 cm of soil dry out fully between waterings. This alone often solves it.
  2. Hang or stick yellow sticky traps near the soil to catch the adults.
  3. Top-dress with a centimetre of sand, grit or LECA so they can't lay eggs in the surface.
  4. Water from the bottom for a few weeks, so the surface stays dry.
  5. For a heavy case, water with a BTI drench or use beneficial nematodes.

What to use

Yellow sticky traps catch adults and show you how it's going. BTI (sold as mosquito bits or dunks) is a natural bacterium that kills the larvae in the soil and is harmless to people, pets and plants. Beneficial nematodes do the same job alive.

Read about each before you use it: bti · sticky traps · beneficial insects and nematodes.

Never lose track of a treatmentIn Plants with Mary, report the pest on the plant's page and log each round. The app works out when the next one is due, from the pest and what you used, and puts it on your Today list.Open the app, it's free

How long it takes

Two to four weeks once the soil dries out properly. Each generation lives about a month, so keep the traps up until they stay clean.

Keeping them away

Water only when the soil has dried enough for that plant, use pots with drainage holes and an airy mix, empty saucers, and keep potting soil in a closed bag.

Common questions

Do fungus gnats harm plants?

Adults don't. Larvae mostly eat fungi and rotting matter, but a lot of them can nibble the roots of seedlings and cuttings. The real problem is the wet soil they point to.

Do they bite?

No, fungus gnats don't bite people or pets.

Will repotting help?

Fresh soil in the right size pot helps, but if you keep overwatering they'll be back. Drying out is the real cure.

Other pests

Need help?

Tell me what's going on and I'll write back, usually within a day or two.

Sent!

Thank you for writing. I'll get back to you soon, usually within a day or two.