Fungus Gnats

Fungus gnat larvae: white worms in your compost

Tiny, glassy white worms with a black head in the top few centimetres of your compost are almost always fungus gnat larvae. They are the real problem: the black gnats above your plant only live for a week, while the larvae keep feeding in the soil. Below you can read how to identify fungus gnat larvae, how to tell them apart from other creatures in potting compost and how to get rid of them.

By Vincenth Otte 5 minutes to read
Cross section of a flower pot with glassy white larvae with a black head in the top layer of the compost and a black fungus gnat on the rim

What do fungus gnat larvae look like?

Fungus gnat larvae are glassy white worms a few millimetres long with a shiny black head. They have no legs and live in the top few centimetres of damp compost, often close to the stem and the roots.

You see them best when you gently loosen the top layer or when you water: that is when they sometimes come to the surface. The adults are the small black gnats that fly up when you touch the plant. Read more about those gnats in our guide how to get rid of fungus gnats.

How can you tell if there are larvae in your compost?

You can test for them with a slice of raw potato: lay it cut side down on the compost and look underneath after a few days. If there are tiny white larvae, you have fungus gnats in the pot.

Do the test in every pot where you see gnats, because the infestation is often in just one or two plants. A yellow sticky trap in the pot also shows you how many adult gnats are coming out.

What other white bugs live in potting compost?

Not every white creature in potting compost is a fungus gnat larva. Look at the head and at how it moves.

What you seeWhat it probably isFungus gnat larva?
Glassy white worm with a black head, wriggles slowlyfungus gnat larvayes
Minute white or grey creature with legs that jumps awayspringtailno
Thin white worm without a black head, with ringspot worm (enchytraeid)no
Fat white C-shaped larva with a brown head and legsbeetle larva (grub), mainly in outdoor potsno

If you see black gnats above the plant and worms with a black head in the soil, it is almost certainly a fungus gnat infestation.

Are fungus gnat larvae harmful to your plants?

In a heavy infestation, yes: the larvae feed on the fine roots, and cuttings, seedlings and young plants in particular then struggle, get yellow leaves or die off. On a mature plant the damage is usually limited.

The larvae and the gnats are not harmful to people or pets: fungus gnats do not bite and do not spread disease.

When do fungus gnat larvae hatch and how long do they stay in the soil?

Fungus gnat larvae hatch four to six days after a female has laid up to 200 eggs in the top layer of the compost. They then feed in the soil for two to three weeks, pupate and emerge as new gnats.

At room temperature a full cycle takes about three to four weeks. That is why you suddenly see many more gnats after a few weeks: the next generation was already in the soil.

How do you get rid of fungus gnat larvae in compost?

You get rid of fungus gnat larvae by keeping the compost drier and, in a heavy infestation, using nematodes. The larvae need moisture; without moisture and without new eggs, the cycle is broken after three to four weeks.

  1. Let the top 2 to 3 centimetres of compost dry out between waterings, and pour away any water still standing in the saucer after fifteen minutes.
  2. In a heavy infestation, use nematodes: tiny, beneficial worms (Steinernema feltiae) that seek out the larvae in the soil. Nematodes need damp soil; keep the compost lightly moist for about two weeks afterwards.
  3. Put yellow sticky traps in the pots: they catch the adult gnats, and a gnat that is stuck lays no more eggs.
  4. In a heavy infestation, scoop off the top layer of compost and replace it, or cover it with a layer of sand or perlite.

Choose between drying out and nematodes, because nematodes need damp soil. Only let the compost dry out again after those two weeks.

Do yellow sticky traps help against fungus gnat larvae?

No, yellow sticky traps only catch the adult gnats, not the larvae in the soil. You still need them: a gnat that is stuck lays no more eggs, so no new larvae are added.

So use them together with drying out or nematodes. One trap per pot, with the yellow part just above the compost; a trap lasts up to 3 months. Everything in one place: yellow sticky traps for fungus gnats.

Do fungus gnat larvae die off on their own?

Only if the compost dries out: as long as it stays damp, fungus gnat larvae rarely disappear on their own. Every new gnat lays eggs again, so the infestation keeps itself going.

In autumn and winter the compost stays wet for longer, because plants use less water then. That is why you have the most larvae and gnats at exactly that time of year.

Do you need to repot a plant with fungus gnat larvae?

Usually not: the larvae live in the top few centimetres, so replacing the top layer and keeping the compost drier is enough. Only repot in a heavy infestation or if the compost stays wet all the time.

If you do repot, use fresh compost that is not too wet and close the bag properly afterwards, so no gnats can get in. Wondering about a home remedy such as cinnamon or sand? Read fungus gnat home remedies: what works and what does not.

Source: how long the yellow sticky traps last according to the Super Ninja product specification.

Written by Vincenth Otte

Vincenth Otte is E-commerce Manager at Super Ninja and responsible for the webshop and the advice articles. He writes and edits the texts, based on the questions customers ask us and what people search for.

How we write our advice articles