Fungus Gnat: How to Get Rid of Gnats in Houseplants Fast

Quick Answer: A fungus gnat is a tiny dark fly that breeds in damp potting mix — the adults are harmless, but their larvae chew fine roots. Get rid of them fast with three moves at once: let the top 1–2 inches of soil dry out, catch the adults with yellow sticky traps, and kill the larvae by watering with a Bti product (Mosquito Bits or Dunks). Repeat the drench weekly for three to four weeks, and fix your watering so they do not come back.

Table of Contents

At a Glance

Fungus gnats are about 1/8 inch long and look like tiny mosquitoes; their larvae chew fine roots in soil that never dries out — the table below sums up the damage and the fastest fixes.

Fact Detail
Size About 1/8 inch (3 mm) long; looks like a tiny mosquito
Damage Adults: none. Larvae: chew fine roots, mainly seedlings and cuttings
Life cycle Egg to adult in about 3–4 weeks in warm, moist soil
Adult lifespan About a week; females lay up to 200 eggs in damp soil
Root cause Soil surface that never dries out — usually overwatering
Fastest visible fix Dry soil + yellow sticky traps (fewer adults within a week)
Fastest real fix Bti soil drench, repeated weekly for 3–4 weeks
Bites people? No — they do not bite humans or pets

What Is a Fungus Gnat?

Tiny white fungus gnat larvae with black heads in damp potting soil of a houseplant indoors

A fungus gnat is a tiny, dark, mosquito-like fly, about 1/8 inch long, that hovers around houseplants and runs across damp potting soil. The adults are annoying but harmless — they do not bite, and they do not eat your plants. The real damage comes from their larvae: tiny white, thread-like maggots with black heads that live in the top few centimetres of soil and feed on fungi, decaying organic matter and, when there are enough of them, fine root hairs.

The Life Cycle

A single fungus gnat lives only about a week as an adult, but each female lays up to 200 eggs in moist soil, and the whole cycle from egg to flying adult takes just three to four weeks in a warm room. That is why a handful of flies can become a cloud in a month — and why one treatment is never enough. You have to break the cycle at two points at once: catch the adults so they lay fewer eggs, and kill the larvae in the soil.

The Stages in Between

The stages in between are quick: eggs hatch in about three to six days, the larvae feed in the soil for about two weeks, then they pupate for a few days before emerging as adults. Adults are only about 1/16 to 1/8 inch (2-3 mm) long, slender and dark, with long legs and a Y-shaped vein in each wing.

What They Look Like

So what do fungus gnats look like in practice? The adults are the easy part to spot; the larvae, the small white baby gnats with black heads, stay hidden in the soil, which is why treatment has to target the soil, not just the flies.

How to Tell Them Apart from Fruit Flies

Tiny dark fungus gnats hovering over damp potting soil in a potted houseplant indoors

They look similar, but the location gives them away. Fungus gnats hang around houseplants and damp soil; fruit flies hover around fruit bowls, bins and drains. Gnats are darker, slimmer and more mosquito-like, with long legs and a slow, drifting flight. Fruit flies are rounder, tan-coloured, and faster. If you are still unsure, put a yellow sticky trap in the pot: gnats will cover it within a day or two, while fruit flies mostly ignore it.

Drain flies are the other lookalike — they breed in sink and shower drains, not in pots. If the flies are in the bathroom with no plants nearby, check the drains. For more on identifying the full cast of indoor pests, see our guide to plant pests.

Why You Have Them

coarse sand top layer on potting soil to deter fungus gnats

You have fungus gnats because the top layer of your potting mix stays wet. Overwatering is the number one driver, but slow-draining soil, pots without drainage holes, saucers left full of water, and old potting mix that has broken down into a soggy sponge all do the same thing. Bagged potting mix can also bring eggs in from the shop — a common reason a new plant seems to arrive with a cloud already attached.

Damage the Larvae Cause

Watch for the damage the larvae cause: lower leaves turn yellow and drop, growth slows or stops, and seedlings wilt or damp off. Larvae can also spread root diseases such as Pythium between plants, so move a badly infested plant away from your other houseplants while you treat it – a gnat infestation spreads pot to pot when infested plants sit close together.

Warm Rooms Make It Worse

Warm rooms make it worse, because the life cycle speeds up. That is why infestations often explode in spring and summer, and why they linger all winter in heated homes. Treat gnats as a watering diagnostic as much as a pest: if they keep coming back after treatment, the soil is still too wet, and no spray will fix that on its own.

How to Get Rid of Fungus Gnats: The 3-Phase Plan

Getting rid of a fungus gnat infestation takes two things at once: reduce the adults so they lay fewer eggs, and kill the larvae in the soil so they turn into fewer adults. Do both from day one and you will see real results within two to three weeks. Do only one, and the cycle keeps going.

Phase 1 — Today: Stop the Egg-Laying

First, let the top 1–2 inches of soil dry out completely before you water again — dry soil kills eggs and young larvae and makes the pot unattractive to egg-laying females. Empty saucers and cache pots so no plant sits in water. Put yellow sticky traps in every affected pot, flat on the soil or on sticks just above it, and replace them as soon as they are covered. The traps are your scoreboard: when the catch falls week by week, the treatment is working.

Phase 2 — This Week: Kill the Larvae

Fungus gnat: Hands watering a potted houseplant with a watering can, soaking the potting soil indoors

Water the soil with a Bti drench: soak Mosquito Bits or a crumbled Mosquito Dunk in water for about 30 minutes, then water the plants with it. Bti (Bacillus thuringiensis israelensis) is a naturally occurring soil bacterium that kills the larvae and nothing else — it is harmless to people, pets and the plant. Repeat every five to seven days for three to four weeks, because Bti does not affect eggs or pupae, and you need to catch each new batch as it hatches.

Phase 3 — If They Persist: Repot

If the population is still strong after three weeks, repot. Shake off as much old mix as you can, rinse the roots gently, and replant in a clean pot with fresh, sterile potting mix — see our guide to potting soil for a mix that drains properly. This is the reset button: it removes the larvae, the eggs and the soggy old mix in one move. Water the new mix lightly for the first week.

7 Methods That Work

Seven methods work against fungus gnats, and they work best in combination: dry soil and traps cut down the adults, while a soil drench kills the larvae in the soil. Start with the first three methods — drying, traps, and Bti.

1. Let the Soil Dry

The single most effective step. Allow the top 1–2 inches to dry before watering again, and stretch the gap as long as the plant tolerates. Most houseplants prefer this anyway. Water from below for a while — set the pot in a tray, let it soak up moisture, then empty the tray — so the surface stays dry.

2. Yellow Sticky Traps

Yellow sticky traps on sticks in potted houseplants with tiny fungus gnats stuck on them indoors

Cheap, non-chemical and genuinely useful. Cut traps into small squares and place them on the soil surface or on sticks just above it. They catch adults, reduce egg-laying and show whether numbers are falling. They will not solve the problem alone, because they never touch the larvae.

3. Bti Soil Drench

The best larva killer for home use. Soak Mosquito Bits in water, then use that water for your normal watering, once a week for three to four weeks. Gnatrol is the liquid version of the same bacterium. Safe, odourless and very effective when repeated on schedule.

4. Hydrogen Peroxide Drench

Mix one part 3% hydrogen peroxide with four parts water and water the soil with it. It kills larvae on contact and oxygenates the soil, but it also kills some beneficial microbes, so use it as a short-term knockdown rather than a weekly habit. Repeat once after a week if needed.

5. Sand or Gravel Top Layer

A 1/2- to 1-inch layer of coarse horticultural sand or fine gravel on top of the soil keeps the surface dry and makes it hard for females to lay eggs. It also looks tidy. Use horticultural sand rather than play sand, which packs down and holds water.

6. Apple Cider Vinegar Traps

Vinegar traps catch adult fungus gnats but do nothing about the larvae, so treat them as a supplement, not a solution. Fill a shallow dish with equal parts water and apple cider vinegar, add a few drops of dish soap, and set it beside the pot. Refresh every few days.

7. Beneficial Nematodes

Steinernema feltiae nematodes are microscopic worms that hunt larvae in moist soil and kill them within days. They work between 60 and 90°F and are ideal for plants that cannot be allowed to dry out, such as ferns and calatheas. They are perishable, so use them promptly after delivery and keep the soil moist for a few days after application.

What Does Not Work Well

What does not work well: spraying the adults with insecticide (the larvae keep hatching), cinnamon or chamomile on the soil (weak evidence, and cinnamon moulds when wet), and repotting into the same old soggy mix. And skip the folk remedy of watering with dish soap — it can damage roots.

Extra Tools and Warnings

Diatomaceous earth: is one more tool for fungus gnat control: sprinkle food-grade powder thinly on dry soil, where it damages larvae and adults on contact. It stops working when wet, so reapply after watering, and wear a mask while applying it, because the fine dust irritates lungs.

Do not mix treatments blindly: hydrogen peroxide also kills beneficial nematodes, so do not use the two together, and systemic granules are a last resort that should never be used on edible plants. A raw potato slice pressed onto the soil surface works as a cheap monitor: lift it after a few days and you will see the larvae gathered underneath, which tells you whether the treatment is working. The methods in this guide were checked in November.

How to Prevent Fungus Gnats Coming Back

Fungus gnat: repotting a houseplant into fresh potting mix

The best way to prevent fungus gnats is to fix your watering. Water only when the top inch or two is dry, use pots with drainage holes, and always empty saucers within half an hour. Choose a free-draining mix and refresh it every one to two years before it breaks down into sludge.

Keep New Gnats Out

Quarantine new plants for three weeks — gnats often arrive in the bag — and inspect the soil surface before you bring a plant home. Cover drainage holes with fine mesh or landscape fabric so adults cannot crawl in from below, and when you repot, replace the top 5 cm (2 inches) of old mix even if you keep the rest, since that is where most eggs and larvae sit.

Watering Habits That Keep Them Away

Mix extra perlite or orchid bark into the potting mix so it drains freely, and water less in winter, when plants grow slowly and the soil stays damp longer. A moisture meter takes the guesswork out of watering: only water when the probe reads dry at root level.

A thin sand top layer on moisture-loving plants, bottom-watering as a habit, and a yellow sticky trap left in each pot as an early-warning system will keep numbers near zero. If you see two or three gnats on a trap, dry the soil out for a few days before they become two hundred. For more on pest prevention generally, see our guide to neem oil for a safe routine treatment.

FAQs

Are fungus gnats harmful to plants?

Adults are harmless, but fungus gnat larvae can chew fine roots and stunt seedlings, cuttings and young plants. A large population can weaken a mature plant too, so do not ignore them — but do not panic either.

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

Expect two to four weeks with a proper plan: dry soil, sticky traps and a weekly Bti drench. You will see fewer adults within a week, but the larvae take a full life cycle — about three to four weeks — to clear completely.

Do fungus gnats bite people?

No. They do not bite humans or pets, do not spread disease, and do not eat food. They are a nuisance and a warning sign about your soil, not a health risk.

Why do fungus gnats keep coming back?

Because the soil stays wet — fungus gnats return whenever the top layer of mix is damp for days at a time. Fix the watering, use a free-draining mix, and keep a trap in the pot as an early warning.

Can I just repot to get rid of them?

Repotting helps a lot, because it removes the larvae and the old soggy mix — but if you replant into the same kind of mix and water the same way, they will be back within weeks. Combine repotting with drier watering for a lasting fix.

For the university-backed view, see the Old Farmer’s Almanac guide: How to Identify and Get Rid of Fungus Gnats, and the National Gardening Association: 12 Ways to Prevent and Treat Fungus Gnats.

Muzzamil
Muzzamil

Muzzamil runs LeafHomeGarden. He grows indoor plants at home and writes the guides here from his own experience — the watering, light and feeding routines that actually kept his plants alive, and the mistakes that taught him the most.

Articles: 281

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *