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.

Summit Mosquito Bits (30 oz)
Best for
Larval control
Mechanism
Bti biological larvicide
Notes
Treat every watering 3–4 weeks
Garsum Yellow Sticky Traps (42-pack)
Best for
Adult monitoring
Mechanism
Adhesive trap
Notes
Replace when full
SF Beneficial Nematodes
Best for
Severe infestations
Mechanism
Predatory nematode
Notes
Refrigerate; apply once
Food-Grade Diatomaceous Earth
Best for
Soil surface barrier
Mechanism
Mechanical abrasion
Notes
Top-dress ½ inch layer
Last verified May 2026. Prices and availability vary.

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:

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:

  1. 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.
  2. 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.
  3. Stick yellow traps in every pot — 2–3 per pot. Replace when full.
  4. Bottom-water if possible. Watering from below keeps the soil surface dry and breaks the breeding cycle further.
  5. 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:

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.

Frequently asked

What actually kills fungus gnats fastest?
The two-product combo per UW Extension and UC IPM: Bti larvicide (Summit Mosquito Bits) in the soil to kill larvae, plus yellow sticky traps to catch adults. Treat for 3–4 weeks together. Treating only one phase lets the cycle restart within a week.
Are Mosquito Bits safe for pets and kids?
Yes. Bti (Bacillus thuringiensis israelensis) is a soil-dwelling bacterium with a toxin specific to fly larvae — it's harmless to mammals, fish, plants, and adult insects. The product is OMRI listed for organic gardening. UW Extension and UC IPM both recommend it as the safest fungus gnat treatment available.
Does hydrogen peroxide kill fungus gnats?
It kills some larvae on direct contact but doesn't address eggs, doesn't last, and isn't recommended by any major university extension. UF IFAS's published Q&A on hydrogen peroxide in soil notes there's almost no scientific backing for it as a soil treatment. Stick to Bti.
How long do I need to use Mosquito Bits?
Apply with every watering for 3–4 weeks to fully break the cycle. After that, once a month as prevention is enough. Bti breaks down within a few days in soil, so it has to be applied repeatedly during active treatment. Larvae don't develop resistance to it.
Will fungus gnats kill my plant?
Usually no — fungus gnat larvae primarily feed on fungi and decaying organic matter in the soil. In heavy infestations they can damage tender feeder roots on young plants and seedlings, but established houseplants typically tolerate them. The bigger reason to eliminate them is the nuisance of flies in your home and the warning sign of overly moist soil (which can lead to root rot).