How to Get Rid of Fungus Gnats on Houseplants for Good

Those tiny flies around your plants are fungus gnats — and they're telling you your soil is too wet. Here's how to kill the adults, the larvae, and break the cycle permanently.

How to Get Rid of Fungus Gnats on Houseplants for Good

Those tiny black flies hovering around your plants are fungus gnats. They're the bane of every indoor gardener's existence — and if you've got them, you need to act fast. While the adults are just annoying, their larvae feed on plant roots and can seriously damage seedlings, cuttings, and any stressed plant.

The good news? You can eliminate fungus gnats completely. But you have to attack them at every stage of their life cycle, not just the adults you can see.


Why Do I Have Fungus Gnats?

Fungus gnats breed in consistently moist soil. If you're overwatering — or if your pots don't drain properly — you've created the perfect nursery for these pests.

The life cycle you need to break:

  • Eggs (3 days): Laid in moist soil surface, 100-200 per female
  • Larvae (2-3 weeks): White, thread-like, feed on roots and organic matter
  • Pupae (3-7 days): Resting stage in the soil
  • Adults (7-10 days): The flying gnats you see, laying more eggs

Breaking this cycle at multiple stages simultaneously is the key. If you only kill the adults, the larvae in the soil will become adults in days. If you only treat the soil, new adults will lay more eggs. You need both.


How Do I Kill Fungus Gnat Larvae in the Soil?

This is where the real damage happens, so start here.

Yellow Sticky Traps (For Adults)

Place yellow sticky traps in or near affected pots. Adults are attracted to the colour yellow and get stuck. This won't eliminate the problem but reduces egg-laying adults significantly.

Best practice: Use the flat yellow stakes inserted directly into the soil — they catch both adults and emerging gnats.

Hydrogen Peroxide Soil Drench (For Larvae)

Mix 1 part 3% hydrogen peroxide with 4 parts water. Water your plants with this solution. It kills larvae on contact and oxygenates the root zone.

How to do it:

  1. Wait until the top 2cm of soil is dry
  2. Mix 250ml of 3% hydrogen peroxide with 1 litre of water
  3. Water the plant thoroughly until it drains from the bottom
  4. You may see fizzing — this is normal, it's the peroxide breaking down organic matter
  5. Repeat weekly for 3 weeks

Mosquito Bits / BTI (The Nuclear Option)

Bacillus thuringiensis israelensis (BTI) is a naturally occurring bacteria that kills gnat larvae but is harmless to humans, pets, and plants.

How to use it:

  • Mosquito Bits (granules): Sprinkle on soil surface, water in
  • Mosquito Dunks (larger discs): Soak a quarter of a dunk in a watering can overnight, then water plants with the treated water
  • BTI only kills larvae — it won't harm adult gnats, so pair it with sticky traps

This is the single most effective long-term solution. Use it preventively on all plants once a month.


How Do I Prevent Fungus Gnats From Coming Back?

Once you've eliminated the current infestation, prevention is straightforward:

1. Water From the Bottom

Bottom-watering keeps the soil surface dry, which discourages egg-laying. Place pots in a tray of water for 20-30 minutes, then remove. The roots draw water up while the surface stays dry.

2. Let Soil Dry Between Waterings

Most houseplants prefer to dry out slightly between waterings. Stick your finger 3-5cm into the soil — if it's still damp, don't water. Fungus gnat larvae cannot survive in dry soil.

3. Add a Sand or Gravel Layer

A 1cm layer of coarse sand or fine gravel on top of the soil prevents adults from reaching the soil to lay eggs. It also helps the surface dry faster.

4. Improve Drainage

  • Ensure every pot has drainage holes
  • Use terracotta pots instead of plastic — they breathe
  • Add perlite or orchid bark to your potting mix (30-40% by volume)
  • Never let plants sit in saucers of standing water

5. Quarantine New Plants

Any new plant coming into your home could carry fungus gnats. Keep it separate for 2 weeks, treat with BTI as a precaution, and check the soil before placing it with your other plants.


What Are the Best Natural Remedies for Fungus Gnats?

If you prefer organic methods:

  • Cinnamon: Sprinkle ground cinnamon on the soil surface. It has antifungal properties that kill the fungi larvae feed on, making the soil less hospitable.
  • Neem Oil: Dilute neem oil (5ml per litre of water) and use as a soil drench. It disrupts larvae development but works more slowly than peroxide or BTI.
  • Potato Slices: Place raw potato slices on the soil surface. Larvae will crawl into them to feed. Discard and replace every 2-3 days. This is a monitoring method more than a cure.
  • Diatomaceous Earth: Sprinkle food-grade DE on the soil surface. It dehydrates larvae on contact. Reapply after watering.

The most effective organic approach is BTI combined with sticky traps and bottom-watering. Cinnamon and neem oil are helpful additions but not sufficient on their own for a serious infestation.


How Long Does It Take to Get Rid of Fungus Gnats?

With a comprehensive approach (BTI + sticky traps + bottom-watering + letting soil dry), you'll see:

  • Adult gnats on sticky traps: Within 2-3 days
  • Significant reduction in flying gnats: Within 1-2 weeks
  • Complete elimination: 3-4 weeks (one full lifecycle)

The most common mistake is stopping treatment too early. Continue BTI treatments and sticky traps for a full 4 weeks after you stop seeing adult gnats. There may still be eggs or larvae in the soil.

For more on soil health and preventing root problems, see our guide on Signs of Root Rot in Houseplants and Best Soil for Indoor Plants.


Not Sure What's Wrong With Your Plant?

If fungus gnats have damaged your plant's roots and it's looking unwell, upload a photo and let Green Sage diagnose it instantly — free, no signup required.

👉 Diagnose My Plant Now


Are Fungus Gnats Harmful to Humans?

No. Fungus gnats don't bite, sting, or transmit diseases to humans or pets. They're a plant pest, not a health hazard. The larvae feed on plant roots and organic matter in soil — they have no interest in people.

That said, a severe infestation is unpleasant. Having dozens of tiny flies buzzing around your home isn't just annoying — it can trigger asthma or allergies in sensitive individuals. And the damage to your plants is very real, especially for seedlings, cuttings, and already-stressed plants.


Can Fungus Gnats Live in Leca or Semi-Hydroponic Systems?

Fungus gnats need moist organic matter to breed. They cannot complete their life cycle in:

  • LECA (clay pebbles): No organic matter, no breeding ground
  • Semi-hydroponic setups: The water reservoir is exposed, but without soil fungi for larvae to feed on
  • Pon substrates: Similar to LECA — inorganic, inhospitable to gnats

If you consistently struggle with fungus gnats despite treatment, switching to a soil-free growing medium eliminates the problem entirely. This is particularly effective for plants like Peace Lilies, Pothos, and Philodendrons that adapt well to semi-hydroponic growing.

Identify your plant with Green Sage →