Disclosure: Amazon links on this page are affiliate links, so this site may earn a commission at no extra cost to you. Commissions don’t decide which products are recommended. See the full affiliate disclosure.
Fungus gnats are a common houseplant pest and one of the easiest to actually eliminate — but only if you treat both the larvae in the soil and the adults flying around. Most online "treatments" only handle one or the other. Here's the two-product setup that actually works, drawn from UW Extension and UC IPM.
- Best for
- Larval control
- Mechanism
- Bti biological larvicide
- Notes
- Weekly for 3 weeks
- Best for
- Adult monitoring
- Mechanism
- Adhesive trap
- Notes
- Replace when full
- Best for
- Prevention at potting
- Mechanism
- Predatory nematode
- Notes
- Refrigerate; repeat weekly
- Best for
- Soil surface barrier
- Mechanism
- Mechanical abrasion
- Notes
- Thin top-dressing
| Pick | Best for | Mechanism | Notes |
|---|---|---|---|
| Summit Mosquito Bits (30 oz) | Larval control | Bti biological larvicide | Weekly for 3 weeks |
| Garsum Yellow Sticky Traps (42-pack) | Adult monitoring | Adhesive trap | Replace when full |
| SF Beneficial Nematodes | Prevention at potting | Predatory nematode | Refrigerate; repeat weekly |
| Food-Grade Diatomaceous Earth | Soil surface barrier | Mechanical abrasion | Thin top-dressing |
As an Amazon Associate I earn from qualifying purchases. Picks are editorial; prices and availability vary.
What you're actually treating
Fungus gnats (Bradysia spp.) are small dark flies, about 1/8 inch long, that breed in damp soil. Per UW Extension, the larvae feed on decaying organic matter and fungi in the potting mix, and large populations also damage roots; Colorado State University Extension adds that they usually live in the top 2 to 3 inches. The adults are mostly a nuisance — the larvae do the actual damage.
The lifecycle has two phases that need to be hit separately:
- Larvae live in the top 2–3 inches of damp soil, per Colorado State. You can't see them, but they're what makes the population sustainable. Kill the larvae and the population can't replace itself.
- Adults fly around the plants and lay eggs in the soil. You can see them, swat them, and trap them — but every female you don't catch can lay up to 200 eggs, per Colorado State.
If you only treat one phase, the cycle restarts. You have to do both.
The two-product setup
1. Bti larvicide — kills larvae in the soil
The single most effective fungus gnat treatment is Bacillus thuringiensis israelensis (Bti), a soil-dwelling bacterium that produces a protein toxic to fly larvae (including mosquito and fungus gnat larvae) but harmless to mammals, fish, pets, and plants. UW Extension, UC IPM, and MBG all list Bti products as an effective larval control.
The form to buy is Summit Mosquito Bits — granular corn cob coated with Bti. Sprinkle the granules on the soil surface, or soak 1 tablespoon per quart of water (4 tablespoons per gallon) for 30 minutes (Summit's directions), skim off the granules, and water with that. Either way the Bti washes into the upper soil where the larvae are.
2. Yellow sticky traps — catch the adults
Adult fungus gnats are attracted to yellow. A sticky trap placed at the soil surface or just above the pot catches the adults before they can lay eggs. MBG and UC IPM both recommend sticky traps as a monitoring and control tool — they show you whether the population is growing or shrinking.
3. Beneficial Nematodes (Steinernema feltiae) — preventive option
Why consider it: Colorado State calls Steinernema feltiae particularly effective against fungus gnat larvae: the nematodes enter the larvae and release a bacterium that kills them. They're live organisms that require refrigeration and are applied as a soil drench. Timing matters: MBG reports the best results from a first application at planting followed by 2 to 3 weekly applications, and says nematodes are ineffective when used to reduce a serious infestation. For an established infestation, use Bti. More expensive and more perishable than Mosquito Bits.
Note: Search specifically for Steinernema feltiae — this is the species that targets fungus gnat larvae. Other nematode species (S. carpocapsae, Heterorhabditis) target different pests. See current options on Amazon.
4. Food-Grade Diatomaceous Earth — soil surface barrier
Why consider it: Diatomaceous earth (DE) is a non-chemical, physical pest control that works by abrasion — the sharp silica particles damage the waxy cuticle of insects, causing dehydration. Applied as a thin top-dressing layer on the soil surface, it reduces adult gnat emergence between Bti applications. It only works dry — watering washes it in and you need to reapply after each watering. Best used as a supplement to Bti, not a primary treatment. See current options on Amazon.
The 3–4 week protocol
This protocol builds on UC IPM's and MBG's recommendations (let the soil surface dry, repeat Bti, trap adults). The three-week Bti schedule follows Summit's directions, and the protocol's length matches the three-to-four-week egg-to-adult cycle that Colorado State reports. Do all of these together:
- Let the soil dry between waterings. Colorado State calls this the most important strategy, especially for the top 1 to 2 inches, and MBG says drying the soil as much as the plant tolerates kills larvae. This is the single biggest cultural change.
- Add Mosquito Bits to your watering can or sprinkle on soil, weekly for three weeks per Summit's directions, or at every watering. Bti stays toxic to larvae for only about 2 days, per MBG, so it has to be applied repeatedly.
- Stick yellow traps in every affected pot. Replace when full.
- Bottom-water if possible. Watering from below keeps the soil surface dry and breaks the breeding cycle further.
- Inspect and quarantine new plants. New plants can bring fungus gnats into a collection.
After the infestation clears, keep Bti on hand: MBG notes it is best used as prevention.
For deeper background on identification and biology, see our fungus gnats problem guide.
What to skip
A lot of internet fungus gnat advice doesn't work, makes things worse, or only helps as part of a fuller plan:
- Cinnamon on the soil surface — anecdotal, not supported by any extension service. Doesn't reach the larvae.
- Hydrogen peroxide as a first-line treatment — Cornell Cooperative Extension gives a drench of 1 part 3% hydrogen peroxide to 4 parts water that attacks the larvae, but UF IFAS's extension Q&A on H2O2 in soil found only one published study on hydrogen peroxide in soil and says its unintended effects are unknown. Treat it as a one-time fallback if Bti fails, as the fungus gnats guide describes, not a routine treatment.
- Apple cider vinegar traps — work, but slowly, and don't reach larvae at all. Yellow sticky traps catch more.
- Relying on a sand top-dressing alone — a layer of coarse sand or fine gravel does help: UW Extension suggests ½ to 1 inch to keep the surface drier and less attractive for egg-laying. But UW pairs it with drier watering and notes it may take three to four weeks of both to get gnats in check, so use it alongside Bti, not instead of it.
- Pyrethroid sprays — kill adults but not larvae, so the population recovers. Same problem as relying on adult control alone.
- Letting the plant dry out completely — the larvae die, but so does the plant. Colorado State's advice to let the top 1 to 2 inches dry is enough; you don't need to drought-stress the whole pot.
What about neem oil?
Neem oil works as a contact spray on adults and a soil drench against larvae, but it's slower and messier than the Bti + sticky trap combo; Bti is the cleaner, more targeted solution for indoor use.
Neem is more useful for spider mites and broader pest pressure.