You water your plants, and a little cloud of tiny dark flies lifts off the soil and drifts toward your face. They're not quite fruit flies, they don't seem to bite, and they keep showing up no matter how many you wave away. Meet the fungus gnat — possibly the most common and most irritating houseplant visitor there is.
The good news is twofold. First, fungus gnats are mostly a nuisance rather than a serious threat to a healthy plant. Second, you can deal with them without dousing your home in harsh chemicals. But to win, you have to stop swatting at the flies you can see and start thinking about the ones you can't.
The flies aren't the real problem#
Here's the key insight that changes everything: the adult gnats buzzing around are the least important part of the picture. They live only a short while, and their whole purpose is to lay eggs in damp soil. The eggs hatch into larvae — tiny, near-invisible creatures living in the top layer of your potting mix — and those larvae are what keep the cycle going.
So if you only kill the adults, you're bailing water out of a boat without plugging the hole. New adults keep emerging from the soil, day after day, and it feels like the problem never ends. To actually solve it, you have to make the soil an unwelcome place to breed.
Why they showed up in the first place#
Fungus gnats have one overwhelming preference: consistently moist soil. The larvae feed on the organic matter and fungus in damp potting mix, and they simply can't survive where the top layer dries out. So an infestation is almost always a sign that your soil is staying wetter, for longer, than your plants actually need.
This is oddly reassuring, because it means the fix is mostly about adjusting a habit rather than waging war. A few common culprits keep soil too damp:
- Watering on a fixed schedule rather than checking if the soil's actually dry
- Pots without drainage holes, where water has nowhere to go
- Pots that are too large for the plant, holding more wet soil than the roots can use
- Dense, moisture-retaining soil that never quite dries on top
Let the soil dry out#
Your single most powerful tool against fungus gnats is also the simplest: let the top inch or two of soil dry out completely between waterings, and keep it that way.
When that top layer goes dry, the larvae lose their food and their moisture, and the breeding cycle breaks. For many plants, allowing the surface to dry is perfectly healthy anyway — most houseplants prefer it to constant dampness. Check with your finger before every watering, and if the top is still damp, wait. This one change, held consistently, ends most infestations on its own over a couple of weeks.
Patience is the whole strategy here. You're not trying to kill every gnat today — you're making your soil a place where the next generation simply can't grow up.
Catch the adults while you wait#
Drying the soil breaks the cycle, but it takes time, and meanwhile the adults already present will keep flying and laying eggs. This is where a couple of gentle tactics help speed things along.
Yellow sticky traps are wonderfully effective and completely chemical-free. The adults are drawn to the bright yellow, land on the sticky surface, and stay there. Set a few flat on the soil or just above it, and you'll be quietly removing egg-layers from the population every day. It's satisfying, in a slightly grim way, to watch the trap fill while the air clears.
A top-dressing adds another layer of defense. Covering the soil surface with a half-inch of something dry and inhospitable — a layer of fine grit, sand, or small gravel works well — creates a barrier the adults don't like to lay eggs in and the emerging larvae struggle to cross. It also keeps that top layer drier, which loops right back to the main strategy.
If you'd like a little extra help, a soil drench made for fungus gnat larvae and labeled safe for houseplants can target them directly. Choose the gentlest option you can find, follow the label precisely, and treat it as a supplement to drying out the soil — not a replacement for it. The habit change is what keeps them from coming back.
Keeping them gone#
Once you've cleared an infestation, a few small habits keep your plants gnat-free for the long run.
Water only when the top of the soil is genuinely dry, and always feel it first rather than trusting the calendar. Make sure every pot drains freely, and empty any saucer that's still holding water an hour after you've watered. When you bring a new plant home, give its soil a quiet inspection and consider keeping it apart from your others for a week or two — fungus gnats often arrive as stowaways in store-bought soil.
You don't need anything aggressive to win this one. Fungus gnats are a soft pest with a simple weakness, and a dry soil surface is something you can give your plants for free, forever. Stay patient through the couple of weeks it takes for the cycle to break, keep a sticky trap working in the background, and one ordinary day you'll water your plants and notice the little cloud just isn't there anymore.