How to Get Rid of Fungus Gnats

Last updated

If you've noticed tiny black flies hovering around your houseplants, you're likely dealing with fungus gnats, one of the most common indoor plant pests. While fungus gnats are not immediately harmful to your plants (and they don't bite humans), they are a clear signal that something in your plant care routine needs adjusting, usually overwatering. The good news is that fungus gnats are one of the easiest plant pests to get rid of once you understand their lifecycle. This guide covers what causes fungus gnats, how to get rid of them naturally, and how to keep them from coming back for good.

At Léon & George, our master gardeners have spent nearly a decade growing premium plants and helping thousands of plant parents nationwide, so the guidance here comes straight from hands-on experience.

What Causes Fungus Gnats?

Fungus gnats thrive in moist, organic-rich soil, which is why an infestation is almost always a sign of overwatering. The adult gnats lay their eggs in the top layer of damp potting mix, and the larvae feed on fungus, decaying matter, and tender plant roots. Overly wet soil, poor drainage, and dense, peat-heavy potting mixes all create the perfect breeding ground. If your plant's soil stays soggy for days at a time, you're giving fungus gnats exactly what they need to multiply.

Fungus gnats on an indoor plant

Understanding the Fungus Gnat Lifecycle

To get rid of fungus gnats for good, it helps to understand that there are two stages to tackle: the adult gnats flying around your home, and the larvae living in the soil. The flying adults are the visible nuisance, but it's the larvae that damage your plant's roots and lead to more gnats within days. An effective treatment plan addresses both stages at once, rather than just swatting at the flies you can see.

How to Get Rid of Fungus Gnats Naturally

The most reliable way to eliminate fungus gnats is to combine a few of these proven methods:

  • Let the soil dry out. Fungus gnats and their larvae need consistent moisture to survive. Allowing the top two inches of soil to dry out completely between waterings is the single most effective step you can take.
  • Use a homemade dish soap spray. Combine one tablespoon of dish soap with a quart of water and mist the soil and foliage. Test it on one leaf first before treating the whole plant.
  • Try potato slices. Cut one-inch cubes of potato and bury them just below the soil surface. After four to eight hours they will attract the larvae, at which point you can remove and dispose of them.
  • Apply neem oil. Neem oil is an all-natural pest solution that disrupts the gnat lifecycle. Our Super Neem Oil is formulated with lemon-eucalyptus essential oil for extra protection and a pleasant aroma.
  • Set out sticky traps. Yellow sticky traps placed at the soil surface catch flying adults and help you gauge how serious the infestation is.
  • Use Bti for stubborn cases. If gnats keep returning, look for a treatment containing Bacillus thuringiensis subspecies israelensis (Bti), a naturally occurring bacteria that targets gnat larvae without harming your plant.

How to Prevent Fungus Gnats

Preventing fungus gnats comes down to your watering habits. Always let the top couple inches of soil dry out before watering again, and make sure every pot has proper drainage so excess water can escape. Topping your soil with a layer of horticultural sand or grit makes it harder for adults to lay eggs, and bottom watering keeps the soil surface dry while still hydrating your plant's roots. With consistent watering habits and well-draining soil, fungus gnats rarely become a recurring problem.

Frequently Asked Questions

Are fungus gnats harmful to my plants?

Adult fungus gnats are mostly a nuisance and don't bite or damage healthy plants. However, their larvae feed on tender roots in the soil, which can stress seedlings and weaken established plants if an infestation is left untreated.

Why do I keep getting fungus gnats?

Recurring fungus gnats are almost always caused by overwatering. If the top layer of soil stays consistently moist, it creates an ideal breeding ground. Letting the soil dry out between waterings and improving drainage usually solves the problem for good.

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

With consistent treatment, most fungus gnat infestations clear up within two to four weeks. Because the gnats have a fast lifecycle, keep treating until you no longer see adults or larvae, even after the visible flies disappear.

Does neem oil kill fungus gnats?

Yes. Neem oil disrupts the growth and feeding of fungus gnat larvae in the soil and helps repel the adults. Apply it to both the soil and foliage, and reapply regularly until the infestation is gone.

Will fungus gnats go away on their own?

They rarely disappear on their own, because they keep breeding as long as the soil stays moist. Letting the soil dry out and applying a treatment like neem oil or Bti is the fastest way to break the cycle.