Menu
Open the App → Home

Explore

The Hub Books

How to Get Rid of Fungus Gnats

Updated June 2026

Fungus gnats around a houseplant and how to get rid of them

Fungus gnats are the small dark flies that drift up from a pot when you water it. The adults are harmless. The damage comes from the larvae living in the top few centimetres of damp mix. Get the mix drier, trap the adults and treat the larvae, and a heavy infestation clears in a few weeks.

What fungus gnats are

Fungus gnats are small dark flies, roughly 2 to 4mm long, that breed in moist potting mix. The adults you see flying around are a nuisance but they do not bite and they do not eat your plants. The trouble lies below the surface. The larvae are tiny pale grubs with a dark head, living in the top few centimetres of mix, where they feed on fungi, decaying organic matter and fine plant roots. In small numbers they barely register. In large numbers they can chew enough fine roots to stunt or kill seedlings and cuttings.

Why they appear

Everything fungus gnats need is moisture and organic matter near the surface. They turn up when:

Seedlings and cuttings are the most at risk, because they live in constantly moist trays and have only a few fine roots to lose.

How to confirm it is fungus gnats

A control plan that works

You are trying to break the life cycle, so combine a few methods and keep them going for a full cycle.

Prevention

Remember that seedlings are the most vulnerable, so a drier surface and a sand cap on trays pays off most there.

Diagnose it in the app

The Planting Season app has built-in Pest and Plant Doctor tools that walk you through what is bugging your plant and the organic fix.

Open the app →

FAQ

What are the tiny flies around my houseplants?

They are almost certainly fungus gnats, small dark flies 2 to 4mm long that live in damp potting mix. The adults are harmless and just annoying. The larvae in the top few centimetres are the problem, feeding on fungi, decaying matter and fine roots.

Why do I keep getting fungus gnats?

They thrive in mix that stays damp. The usual causes are overwatering, poor drainage, very rich organic mixes, saucers left full of water, and new plants brought in already carrying eggs. Until the top of the mix is allowed to dry between waterings they will keep coming back.

Do fungus gnats harm plants?

Adults do not harm plants. The larvae can damage fine roots, which matters most for seedlings and cuttings. Established plants usually shrug them off, but heavy larvae numbers can stunt young plants.

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

Plan for a 3 to 4 week cycle. You need to break the life cycle, so let the surface dry out, trap the adults and treat the larvae with BTi, then repeat through that period so newly hatched generations are caught too.

Does cinnamon work on fungus gnats?

Cinnamon sprinkled on the mix has a mild anti-fungal effect that can slow the fungi the larvae feed on. It is not a cure on its own. Treat it as a small helper alongside drying the mix, sticky traps and BTi.

Related guides

See also: our NZ pest and disease guide and how to grow tomato.

Get next month's planting calendar, free

One email a month with exactly what to plant in your region, plus seasonal tips and harvest reminders. No spam, and you can unsubscribe any time.