Fungus gnats are the most common houseplant pest in North American homes 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
- Treat every watering 3–4 weeks
- Best for
- Adult monitoring
- Mechanism
- Adhesive trap
- Notes
- Replace when full
- Best for
- Severe infestations
- Mechanism
- Predatory nematode
- Notes
- Refrigerate; apply once
- Best for
- Soil surface barrier
- Mechanism
- Mechanical abrasion
- Notes
- Top-dress ½ inch layer
| Pick | Best for | Mechanism | Notes |
|---|---|---|---|
| Summit Mosquito Bits (30 oz) | Larval control | Bti biological larvicide | Treat every watering 3–4 weeks |
| Garsum Yellow Sticky Traps (42-pack) | Adult monitoring | Adhesive trap | Replace when full |
| SF Beneficial Nematodes | Severe infestations | Predatory nematode | Refrigerate; apply once |
| Food-Grade Diatomaceous Earth | Soil surface barrier | Mechanical abrasion | Top-dress ½ inch layer |
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 fungi, organic matter, and plant roots in the top inch or two of the soil. 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 1–2 inches of damp soil. 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 adult you don't catch lays 100–300 eggs.
If you only treat one phase, the cycle restarts within a week. 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 and UC IPM both recommend Bti products as the primary control.
The form to buy is Summit Mosquito Bits — granular corn cob coated with Bti. Sprinkle the granules on the soil surface or soak them in your watering can for 10 minutes before watering. Either way the Bti washes into the top inch of 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) — heavy infestation option
Why consider it: Steinernema feltiae nematodes are the predatory biological control used in commercial greenhouse operations for fungus gnat infestations that Bti alone doesn't resolve. They're live organisms that require refrigeration and are applied as a soil drench. They work through the root zone, attacking larvae that may be deeper than the top 1–2 inches where Bti reaches most effectively. More expensive and more perishable than Mosquito Bits, but effective for severe multi-plant infestations.
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. Food-grade DE is safe around pets and children. 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 is the actual protocol per UW Extension and UC IPM. Do all of these together:
- Let the soil dry between waterings. Fungus gnat larvae require damp soil for the first 1–2 inches. If the top inch dries between waterings, eggs and larvae die from dehydration. This is the single biggest cultural change.
- Add Mosquito Bits to your watering can or sprinkle on soil at every watering for 3–4 weeks. Bti breaks down in soil within a few days, so it has to be applied repeatedly.
- Stick yellow traps in every pot — 2–3 per pot. Replace when full.
- Bottom-water if possible. Watering from below keeps the soil surface dry and breaks the breeding cycle further.
- Inspect new plants and quarantine for 2 weeks. New plants are the main way fungus gnats enter a collection.
By week 4 the population should be effectively gone. Continue Bti as a once-monthly preventative — it's cheap and the larvae don't develop resistance.
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 or makes things worse. Extension services consistently flag these as ineffective or counterproductive:
- Cinnamon on the soil surface — anecdotal, not supported by any extension service. Doesn't reach the larvae.
- Hydrogen peroxide soaks — UF IFAS's extension Q&A on H2O2 in soil notes there's almost no research backing this. May kill some larvae on contact but doesn't address the egg layer.
- Apple cider vinegar traps — work, but slowly, and don't reach larvae at all. Yellow sticky traps catch more.
- Top-dressing with sand — supposedly creates a barrier; rarely works in practice because gnats find the soil at the edges of the pot.
- Pyrethroid sprays — kill adults but not larvae. Population recovers in days. Same problem as relying on adult control alone.
- Letting the plant dry out completely — the larvae die, but so does the plant. The 1–2 inch top-dry rule is enough; you don't need to drought-stress the whole pot.
What about neem oil?
Neem oil works as a contact-kill spray on adults and a soil drench against larvae, but it's slower and messier than the Bti + sticky trap combo. UC IPM lists it as an acceptable alternative, but Bti is the cleaner, faster, more targeted solution for indoor use.
Neem is more useful for spider mites and broader pest pressure.