Fungus gnats in houseplants: how to get rid of them for good
Tiny black flies around your plants are fungus gnats. They breed in wet soil. Dry the soil out and break their life cycle in 2–3 weeks.
Not sure what’s wrong with yours? Get a free photo diagnosis

Fungus gnats are tiny, slow, dark flies that hover around pots and walk on the soil. Their larvae live in the top few centimetres of wet compost. Get rid of the wet soil and you get rid of the gnats.
A 3-week plan
- Let the soil dry out. Water less, and only when the top 3–5 cm are dry. This alone stops most infestations.
- Catch the adults. Put yellow sticky traps just above the soil to stop them laying more eggs.
- Treat the larvae. Water with a product containing Bti (Bacillus thuringiensis israelensis, often sold as “mosquito bits”), or put a 1 cm layer of sand or fine grit on top of the soil.
- Water from below for a few weeks so the surface stays dry.
- Keep going for 3 weeks – that is one full life cycle.
Prevent them
- Use pots with drainage and empty saucers after watering.
- Store bags of potting mix sealed – gnats love open bags.
Gnats plus yellow leaves usually means overwatering. Get a diagnosis and a watering plan. Upload a photo for a free diagnosis →
Quick answers
- Are fungus gnats harmful to plants?
- The adults are just annoying. Large numbers of larvae can nibble young roots, especially of seedlings and cuttings.
- Do fungus gnats mean I am overwatering?
- Almost always. They need constantly moist soil to breed, so they are a useful warning sign.
Not sure what’s wrong with yours?
Upload a photo, answer 3 questions, get a diagnosis and a 7-day plan. Free.
Diagnose my plant