How to get rid of fungus gnats for good
- Justine Vari
- May 5
- 2 min read

You've spotted them — those tiny, annoying little flies hovering around your beloved houseplants. Fungus gnats. They're not just irritating; their larvae can actually damage your plant's roots. The good news? You can absolutely get rid of them, and keep them gone.
First, understand what you're dealing with
Fungus gnats are attracted to moist soil, where they lay their eggs. The larvae hatch and feed on organic matter and fine root hairs near the soil surface. The adult flies themselves are mostly harmless — it's the larvae doing the dirty work underground.
Step 1: Let the soil dry out
This is your most powerful weapon. Fungus gnats need consistently moist soil to thrive. Allow the top 3–5 cm of your potting mix to dry out completely between waterings. Most plants handle this better than you'd think — and the gnats absolutely hate it.
Step 2: Use a trap
Yellow sticky traps placed near your plants catch adult gnats before they can lay more eggs. They won't solve the problem on their own, but they break the breeding cycle and give you a satisfying sense of progress.
You can also put about 100ml of apple cider vinegar and a drop of dishwashing liquid into a small bowl and place it near your plants. The gnats are attracted to the smell and once they land in the liquid, the dishwashing liquid prevents them from escaping.
Step 3: Treat the soil
Try a soil drench with either neem oil or hydrogen peroxide. Both kill the larvae in the soil but they don't affect the adult fungus gnats so repeat after a week to break their life cycle.
Hydrogen Peroxide Drench: Mix 1 part 3% hydrogen peroxide with 4 parts water and saturate the soil to kill larvae and eggs on contact.
Neem Oil Drench: Combine 1 liter of warm water with 1-2 teaspoons (5-10 ml) of neem oil and 1/2 teaspoon of mild dish soap (to emulsify).
Step 4: Stay consistent
Fungus gnats are persistent little things. Keep up the dry-out-between-waterings habit long term, and you'll keep them away for good.
Got a plant question you're stumped on? Drop it in the comments below!




Comments