How to Get Rid of Fungus Gnats in Houseplants: 6 Methods That Work (2026)
Last updated: June 2026
This post contains affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. We only recommend products we’d put in our own apartments.
There’s a particular feeling that comes the moment you realize the cute little flies wandering off your monstera every time you water it are not, in fact, fruit flies. They’re not coming from the bananas on your counter. They’re coming from the plant. And once you see them, you see them everywhere.
Good news: fungus gnats are one of the easier indoor pest problems to fix — once you know that the flies you see are the visible 5% of the problem, and the larvae in the top inch of soil are the other 95%. Spray the adults all you want; if you don’t kill the larvae, you’ll be back here in two weeks.
This guide walks you through the two-pronged plan that actually works: knock down the adults, kill the larvae, dry out the breeding ground, and don’t fall for the cinnamon-dusting nonsense. Most beginners can be gnat-free in about two weeks.
How to Confirm It’s Fungus Gnats (Not Fruit Flies)
Three small flying insects show up in homes and people mix them up constantly. Quick triage:
| What you see | What it is | Where it’s breeding |
|---|---|---|
| Tiny dark flies near your plants, weak fliers, often resting on soil or leaves | Fungus gnats | Top inch of moist potting soil |
| Tan/brown flies near fruit bowl or trash, strong fliers, hover near food | Fruit flies | Ripening fruit, sugary residue |
| Fuzzy moth-like flies in bathroom or kitchen sinks | Drain flies | Drain biofilm |
Fungus gnats are about 1/8 inch long, dark gray to black, with long legs that dangle as they fly. They’re terrible fliers — if a fly bounces drunkenly out of the soil when you touch the pot, that’s a fungus gnat. The other tell: they’re attracted to plants, not your wine glass.
Why You Have Them (Almost Always Overwatering)
Fungus gnat larvae need three things to thrive: moist soil, organic matter to eat, and time. Indoor potting mixes — especially peat-heavy ones — are rich in organic matter. The mix usually arrives with eggs or larvae already in the bag, which then hatch the moment conditions get good. “Good conditions” is shorthand for constantly damp topsoil.
So if you have fungus gnats, you almost certainly have a watering problem. That’s not a moral failing — most beginners overwater, and the soil never gets a chance to dry out between drinks. We covered the diagnostic side in our guide to how often to water houseplants, and the rescue side in how to save an overwatered houseplant. If you find yourself fighting gnats and root rot at the same time, that’s not a coincidence — it’s the same root cause.
The fix is the same too: dry out the top of the soil, and let your plants actually breathe between waterings.
The Two-Pronged Plan: Adults and Larvae
The single most common mistake is treating only what you can see. You buy a pack of sticky traps, the count drops for three days, and then a new generation hatches and you’re back to square one.
You need to do two things at once:
- Kill the larvae in the soil. This is what breaks the cycle. BTI (Bacillus thuringiensis israelensis) is the cleanest, most beginner-friendly tool here.
- Kill the adults before they lay more eggs. Yellow sticky traps stuck into the pot do this almost effortlessly.
Do both for 2–3 weeks — long enough to outlast the egg-to-adult cycle (~3–4 weeks) — and you’re done.
The 6 Methods That Actually Work, Ranked
1. BTI / Mosquito Bits Soil Drench (most effective)
This is the single most important step. Mosquito Bits are a corn-cob granule soaked in Bacillus thuringiensis israelensis (BTI), a naturally occurring soil bacterium that’s lethal to mosquito and fungus-gnat larvae but harmless to pets, kids, plants, and beneficial insects. Larvae eat the BTI, their guts rupture, the cycle ends.
There are two ways to use it:
- Top-dress (easy): Sprinkle a thin layer of bits over the soil surface of every affected pot. Each time you water, BTI releases into the topsoil and kills new larvae. Re-apply every 2–3 weeks.
- Tea drench (faster knockdown): Soak 1 tablespoon of bits per quart of water for 30 minutes, strain, then water your plants with the BTI tea. Stronger initial hit; use once a week for 3 weeks.
Either method works. Top-dress is the “set it and forget it” choice; the tea drench knocks numbers down faster when you’re already overrun.
- Mosquito Bits — 8 oz (small infestation, 1–3 plants)
- Mosquito Bits — 30 oz (large collection or repeat use)
2. Yellow Sticky Traps (catches the adults)
Tiny rectangles of bright yellow plastic coated in non-toxic glue. The color attracts adult gnats; they land, they stay. Push the trap stake into the pot at soil level — the closer to the soil, the more you catch. Replace when the trap is covered or after 2–3 weeks.
Sticky traps alone won’t solve a fungus gnat problem, but they’re essential alongside a larvicide. They also tell you how the war is going: dense black dots dwindling each week means you’re winning.
- Gideal 20-pack, 6×8 in dual-sided (most coverage per dollar)
- Kensizer 20-pack with twist ties (easier to position in tall plants)
- Garsum 36-pack (large plant collections)
3. Let the Top Inch of Soil Dry Out (and Bottom-Water If You Can)
Fungus gnat eggs and young larvae cannot survive in dry soil. This is also the single biggest piece of long-term prevention.
Two changes:
- Stick a finger into the soil 1–2 inches deep before every watering. If it’s still moist, wait. A cheap moisture meter takes the guesswork out, especially for deep pots.
- Bottom-water when possible. Sit the pot in a shallow tray of water for 15–30 minutes; the soil pulls moisture up through the drainage holes from below, leaving the top of the soil — where gnats breed — bone dry.
This is free, immediate, and surprisingly effective on its own for mild infestations.
4. Hydrogen Peroxide Drench (fast larvae kill)
3% household hydrogen peroxide kills fungus gnat larvae on contact, then breaks down into water and oxygen — no chemical residue.
The ratio: 1 part 3% hydrogen peroxide to 4 parts water. Pour the mixture through the soil the next time the plant needs water. The soil will fizz; that’s normal, and the fizz means it’s working. The roots are fine.
Use this once, then switch to BTI for ongoing control. Hydrogen peroxide is a one-time hammer, not a maintenance tool.
5. Sand or Fine-Grade Perlite Top Layer
Fungus gnats lay eggs in the top 1/4 inch of soil. Cover the soil with about half an inch of coarse sand, fine gravel, or coarse perlite, and they can’t get to the soil to lay. Existing larvae will still finish out their cycle, so combine this with sticky traps and BTI for the first month — but as a long-term preventative for plants that keep getting reinfested, it’s excellent.
Coarse perlite is the indoor-friendly choice — it looks tidier than sand, doesn’t track around, and improves drainage as a bonus.
6. Apple Cider Vinegar Trap (supplemental, optional)
Fill a shallow dish with about a quarter inch of apple cider vinegar, add 2–3 drops of dish soap (breaks the surface tension), and place it next to the affected plant. Adults are drawn in and drown.
This is more of a folk-remedy boost than a primary tool — it catches a small percentage of adults near the trap and that’s about it. Use it if you happen to have everything in the kitchen already, but don’t expect it to do the heavy lifting. Yellow sticky traps catch far more.
Quick Comparison: Which Method, When?
| Method | Targets | Speed | Cost | Pet/Kid Safe | Effort |
|---|---|---|---|---|---|
| Mosquito Bits (BTI) | Larvae | 1–2 weeks | $$ | Yes | Low |
| Yellow sticky traps | Adults | Immediate (visible) | $ | Yes (out of reach) | Low |
| Let soil dry / bottom water | Both (prevention) | Ongoing | Free | Yes | Low |
| Hydrogen peroxide drench | Larvae | Immediate (one-time) | $ | Yes | Low |
| Sand or perlite top layer | Adults laying eggs | Long-term | $ | Yes | Medium |
| Apple cider vinegar trap | Adults | Slow | Free | Yes (out of reach) | Low |
The combo that works for almost every infestation: Mosquito Bits + sticky traps + let the soil dry. Everything else is optional.
Things to Skip (Common Mistakes That Waste Time)
Save your money and your sanity:
- Cinnamon dusting. The story is that cinnamon kills the fungus the larvae eat. It doesn’t reach the larvae in any meaningful dose, and most indoor potting mix isn’t sustaining the larvae on fungus alone. Pretty smell, not a fix.
- Dish-soap-only sprays. They kill the adults you spray directly — that’s it. The larvae and eggs are unaffected.
- Diatomaceous earth on the surface. Works only while bone dry. As soon as you water, it loses its abrasive edge, and you’re refreshing it constantly.
- Neem oil drench alone. Mildly suppresses larvae, but slow. BTI is dramatically more effective for the same effort.
- Repotting in fresh soil immediately. Tempting, but a fresh bag of peat-heavy mix often arrives with its own larvae or eggs. Fix the watering routine first; repot only if root rot is also in play. (Here’s how to handle that: how to save an overwatered houseplant.)
- Bleach. Don’t pour bleach into your plant pots. Yes, people suggest this. Yes, it will kill larvae. It will also kill the plant.
How to Prevent Fungus Gnats From Coming Back
After you’ve cleared an infestation, prevention is mostly about not creating the conditions in the first place:
- Let the top of the soil dry out between waterings for any plant that tolerates it (most do).
- Bottom-water the plants that are gnat-magnets — usually peace lilies, calatheas, and anything with constantly moist soil requirements.
- Choose a better potting mix. A chunky, perlite-rich mix dries faster than dense peat-only soil. We compare beginner-friendly options in our best potting mix for indoor plants guide.
- Inspect and quarantine new plants for two weeks. Nursery plants are a common source. Stick a yellow sticky trap in the new pot and watch.
- Empty drip trays. Standing water under a pot keeps the bottom of the soil swampy.
- Keep a small box of Mosquito Bits on hand. A 30-oz bag lasts a year or two; one preventative top-dress in spring keeps gnats out before they start.
FAQ
How long does it take to get rid of fungus gnats?
With the combo plan (BTI + sticky traps + drying soil), most beginners see a major drop in adult flies within 5–7 days and full clearance in 2–3 weeks. The lifecycle from egg to flying adult is about 3–4 weeks, so the goal is to break that cycle for at least one full generation.
Will fungus gnats kill my houseplants?
A mild infestation in an established plant: no, mostly cosmetic and annoying. A heavy infestation in seedlings, young cuttings, or plants already weak from root rot: yes, the larvae can chew enough fine root hairs to kill the plant. Either way, don’t leave them alone for months.
Are Mosquito Bits and BTI safe for pets and kids?
Yes. BTI is one of the most extensively studied biological controls — it’s used in municipal water supplies to control mosquito larvae and is safe for people, pets, fish, bees, and beneficial insects. Store the bag out of reach (it looks like food, and a curious dog could eat enough to upset their stomach).
Why do I keep getting fungus gnats over and over?
Almost always one of three things: the soil never fully dries between waterings, a new bag of potting mix introduced fresh eggs, or you brought in a new plant that already had them. Address all three and they’ll stop coming back.
Can I use hydrogen peroxide on all houseplants?
Yes, at a 1:4 ratio (one part 3% peroxide to four parts water) used as a one-time drench instead of a regular watering. Avoid using it repeatedly — peroxide is hard on soil microbes that you actually want.
Do sticky traps alone work?
For prevention or very mild infestations, sometimes. For an active infestation, no — you’ll catch hundreds of adults while the next generation hatches in the soil. Always pair with a larvicide (BTI or peroxide).
Will cinnamon really kill fungus gnats?
It’s a myth that won’t die. Cinnamon has mild antifungal properties, but the dose that reaches your soil from a dusting is far too low to do anything meaningful to larvae. Use cinnamon for cinnamon rolls.
How do I prevent fungus gnats from coming back?
Three habits: let the top inch of soil dry between waterings, bottom-water the constantly-moist plants, and quarantine any new plant for two weeks with a sticky trap in the pot. A once-a-season Mosquito Bits top-dress on troublesome pots is cheap insurance.
The Two-Week Bottom Line
If you do nothing else from this post, do this:
- Today: stick yellow sticky traps in every affected pot.
- Today: sprinkle Mosquito Bits on top of the soil, or do one hydrogen peroxide drench.
- Tomorrow: stop watering on a schedule. Check the top inch of soil with your finger or a moisture meter before each watering.
- Repeat the BTI top-dress in 2–3 weeks.
You’ll go from “every time I walk past my monstera, gnats fly out” to “where did they go?” in about two weeks. The real win is the watering habit you build along the way — fungus gnats are usually telling you something useful about your routine.
Happy growing.
If you found this useful, our houseplants section has more beginner guides — including how often to water, how to spot overwatering before it becomes root rot, and the best beginner-friendly potting mixes.



