Fungus Gnats in Houseplant Soil: How to Kill Them for Good
We may receive a commission on purchases made from links.
To kill fungus gnats in houseplant soil, let the top 1–2 inches dry out, water from the bottom, and use Bti to kill larvae. Yellow sticky traps catch the adults.
Quick answer
Dry the top 1–2 inches and water from the bottom so the surface is not a nursery. Hang yellow sticky traps for the adults and leave them up. Drench with Bacillus thuringiensis israelensis (Bti), sold as mosquito bits or dunks. Soak the bits, then pour that water through the pot. Bti kills larvae, not adults, and it does not kill whiteflies. Repeat the dry-down and the drench for 3–4 weeks, because eggs already in the pot keep hatching. Plan on that full repeat. Do not rely on traps, cinnamon, or peroxide alone.
How to tell larvae, adults, and a wet pot apart
Adults are small, dark, and fragile. They sprint over the soil and fly poorly, often toward your face when you water. Fruit flies hover around scraps, wine, and a full bin. Fungus gnats come from the pot. If the flies leave when the plant leaves the room, the source traveled with the soil.
Larvae stay in the top inch. Soak a spoon of wet mix in a jar and look for clear-white threads with black heads. They feed on fungus in constantly damp mix and nip fine roots. A large houseplant rarely dies from them. Seedlings can stall because they have almost no root to spare. A new flat of starts needs a drier surface than a mature plant.
The pot setup matters as much as the insect. A cachepot with no drainage holds a hidden reservoir. The top can look dry while the bottom stays swampy and sour. Black roots that smell rotten are a drainage problem first. Check the saucer. Quarantine a new plant for 2 weeks so one soggy nursery pot does not seed the whole shelf.
This is not your problem if
- Flies are tan and gather on peels, not on the soil. Those are fruit flies.
- White insects lift off the leaves in a cloud, and nothing runs on the mix.
- The top inch is dry, the pot drains, and you find no larvae there.
- Leaves have chew holes and no tiny flies at the soil line. Look for another pest.
Step-by-step: Dry the mix and drench with Bti
- Let the top 1–2 inches dry. Test with a finger, not by the color of the surface.
- Water from the bottom, or water well and empty the saucer within 15 minutes.
- Set a yellow sticky trap at soil level to catch adults while larvae decline.
- Soak mosquito bits or part of a dunk, then drench the soil with that Bti water.
- Repeat the dry-down and the Bti drench for 3–4 weeks so new larvae meet the same treatment.
- Move an infested or new plant away from the others for 2 weeks.
- Repot only if the mix is swampy, smells sour, or roots are black. Use fresh mix and a pot with a drainage hole.
- Do not leave the plant in a cachepot full of water. That reservoir keeps the cycle going.
Gnat versus fruit fly comparison
Match the fly to the room before you treat.
| Clue | Fungus gnat | Fruit fly | Whitefly | Springtail |
|---|---|---|---|---|
| Where | On soil, weak flight | Scraps and trash | Leaf undersides | Jumping on soil |
| Body | Tiny, dark, poor flyer | Tan, hovers | Tiny and white | Minute and pale |
| Larva | Black head, top inch | In fermenting food | On leaves | Wet organic matter |
| Harm | Fine roots, seedlings | None on the plant | Sticky leaves | Sign of wet mix |
| Fix | Dry, Bti, sticky traps | Clean the kitchen | Treat the leaves | Let the mix dry |
Practical control that lasts past one weekend
The real fix is a drier surface. Eggs are laid in moist mix, and larvae need that top inch wet. Bottom watering, a pot that drains, and a pause when the mix is still damp beat any spice shaken on the soil. Bti is the biological piece that fits. Mosquito bits or dunks, soaked and used as a drench, kill larvae. They do not kill adults already flying, so leave the sticky traps up for the same 3–4 weeks.
Hydrogen peroxide is not the whole plan. A drench can knock larvae back and can also stress roots. If you use it, use it once, then return to drying and Bti. Cinnamon, a vinegar cup, and a sand cap are weak alone. A half-inch layer of sand or grit can slow new egg laying, but it does nothing to larvae already under the cap. Repot a healthy root ball only when the mix smells sour or roots are black, and throw the old wet soil away.
Containers versus in-ground
Indoors, the container is the whole habitat. A plastic pot inside a cachepot can stay wet for days after one watering. Terracotta dries faster, but only if you empty the saucer. Seedling trays are the hard case: constant moisture, tiny roots, and a cloud of adults when you lift the dome. Quarantine new pots for 2 weeks before they join healthy plants.
Outdoors, fungus gnats rarely matter in garden soil that dries between rains. The same plant, set into a bed for summer, usually quiets down once the surface is not sealed and wet. Do not bring that outdoor soil inside as a top-off. Before a pot comes back to the windowsill in fall, check it. A fresh round often rides home in a pot that sat in a wet saucer all summer.
Myths that waste time
Myth: Yellow sticky traps alone will end the infestation. They catch adults and show the count dropping. Eggs and larvae in the wet top inch keep hatching, so dry the soil and drench with Bti for 3–4 weeks.
Myth: A peroxide drench is a complete cure. It can knock larvae down once, and it can stress roots. Drying the top 1–2 inches stops new eggs, so pair any drench with that dry-down.
Myth: Cinnamon, sand, or vinegar will clear the larvae. A half-inch sand or grit cap may slow new egg laying, but it does not reach larvae already in the mix. Vinegar is a fruit-fly trick, not a soil fix.
Myth: Fungus gnats and fruit flies are the same insect. Fruit flies work the kitchen scraps, while gnats come from the pot. Cleaning the fruit bowl will not dry a cachepot.
Do this today / this week
- Test the top 1–2 inches and skip watering if that layer is still damp.
- Empty every saucer and dump standing water from cachepots.
- Put a yellow sticky trap on the worst pot.
- Soak mosquito bits and drench the soil with Bti today.
- Quarantine any new plant in damp mix for 2 weeks.
- Repeat the dry-down and Bti drench for 3–4 weeks.
Frequently asked questions
Why do fungus gnats in houseplant soil keep coming back?
The surface stays wet long enough for new eggs. Traps remove adults, then the next wave leaves the top inch. Let 1–2 inches dry, water from the bottom, and drench with Bti for 3–4 weeks. A cachepot holding water will undo the rest.
Do fungus gnats kill houseplants?
They rarely kill a large plant. Larvae feed on fungus and fine roots, which can stall seedlings. A mature plant with a full root system usually holds while you dry the mix. Black, sour roots mean constant wetness is the larger problem.
Can I use Bti meant for mosquitoes?
Yes. Bacillus thuringiensis israelensis, in mosquito bits and dunks, kills fungus gnat larvae. Soak the product and drench the soil. It does not kill adult gnats, and it is not a whitefly spray. Continue for several weeks so late eggs are covered.
Should I repot every infested plant?
No. Repot when the mix is swampy, smells sour, or roots are black. Otherwise you shock a plant that only needed a drier surface. Use fresh mix and a drainage hole, and do not reuse the old soil. Empty a decorative outer pot after every watering.
Is hydrogen peroxide the fastest fix?
A peroxide drench can cut the larva count and can also irritate roots. It does not change the wet surface that invites the next eggs. Drying plus Bti is the plan. If you use peroxide, use it once, then return to the 3–4 week dry-down.
How long should I quarantine a new plant?
Give a new pot 2 weeks away from the collection. Keep the top inch drier than the shop did, and set a sticky trap beside it. If adults appear, start Bti before that plant joins the shelf. Most outbreaks begin with one overwatered nursery pot.
Key takeaways
- Fungus gnat larvae are clear-white with black heads in the top inch of wet soil.
- Let the top 1–2 inches dry, and water from the bottom.
- Bti, sold as mosquito bits or dunks, kills larvae, not adult flies.
- Repeat drying and Bti for 3–4 weeks while eggs keep hatching.
- Quarantine a new plant for 2 weeks before it joins the shelf.






