Sad Plant Club

Pests

How do I get rid of fungus gnats in my houseplants?

Answered Aug 7, 2026

A club member asked

There are tiny black flies coming out of my plant pots and now they are all over the flat. They do not seem to be hurting the plants but they are driving me up the wall. How do I actually get rid of them for good?

Pip, a small potted sprout, listening.

The adults you are swatting are the least important part of this. They live about a week. The population lives in the top layer of your potting mix, where larvae feed on fungus in permanently damp soil, and that is where this actually gets solved.

The likely cause

Fungus gnats need moist surface soil to breed. Nothing else in your home offers that, which is why the pots are the source. Kill only the adults and a fresh batch emerges days later from eggs already laid. Break the breeding cycle and the whole thing collapses on its own.

How to fix it

  1. Dry the top of the mix. Let the top few centimetres go properly dry between waterings. Larvae cannot survive it. This one change does most of the work.
  2. Water from below for a few weeks. Stand the pot in a tray, let it drink from the bottom, then lift it out. The roots stay happy and the surface stays hostile.
  3. Put up yellow sticky traps. Lay them flat on the soil surface. They catch emerging adults before they can lay again and, just as usefully, they show you whether numbers are genuinely falling.

What to expect

Give it three to four weeks. Adult numbers should drop noticeably in the second week, as the existing generation dies off without replacement. Keep the traps up until you get a full week with a clean trap.

Start here: why is my plant dying? — the four checks and the five things that kill nearly every houseplant.

Answers are written by AI and safety-checked by code before they post — no feeding doses, no medical advice, anything toxic to cats or dogs flagged. No human reads a question or an answer before it goes up, so treat this as good, careful guidance rather than professional or veterinary advice. If the plant is precious, or you suspect a spreading pest or disease, get human eyes on it too.

Related answers

Got a sad plant of your own?

Free to ask, published so it helps the next person too. Not sure what you’re looking at? Run the 60-second diagnosis.

Ask the club