Fungus Gnats in Houseplants: Stop the Soil Larvae, Not Just the Flies

Fungus gnats breed in constantly damp potting mix, so the fix is to let the top 1 to 2 inches of soil dry between waterings, treat the soil with a Bti product such as mosquito bits once a week for three to four weeks, and use yellow sticky traps to catch the adults. Sticky traps alone will not end an infestation, because new larvae keep hatching in the soil until the wet conditions change.

What you are dealing with

The small dark flies drifting around your pots and windows are adults. They live about a week, lay eggs in moist potting mix, and the tiny clear larvae feed on fungi and decaying organic matter just below the surface. In large numbers, larvae also chew fine roots, which hurts seedlings and young cuttings most. The full cycle takes about three to four weeks, which is why every control plan needs to run at least that long.

Gnat problems spike in autumn for two reasons: plants that summered outdoors come inside carrying eggs, and pots dry more slowly once days shorten and growth slows. If you just moved plants in, see our guide to bringing houseplants indoors without pests.

🌱 Get Personalized Plant Picks

Answer a few quick questions and we’ll match plants to your exact yard conditions.

Find My Plants →

Step 1: Change the watering

This is the step that solves most infestations.

  • Water only when the top inch or two is dry. A finger test works; a soil moisture meter removes the guesswork for deep pots.
  • Empty saucers 15 minutes after watering.
  • Bottom-water where practical. Setting the pot in a tray of water for 20 minutes moistens roots while the surface stays drier.
  • Top-dress with a half inch of coarse sand or fine gravel. A dry, gritty surface is a poor place to lay eggs.

Step 2: Treat the larvae with Bti

Bti (Bacillus thuringiensis subsp. israelensis) is a naturally occurring bacterium that targets the larvae of flies such as fungus gnats and mosquitoes. It does not affect eggs, pupae, or adults, so it must be repeated.

  • Soak mosquito bits in water as the label directs (commonly about 1 tablespoon per quart for 30 minutes), strain, and water the pots with that liquid.
  • Repeat every 5 to 7 days for at least three to four weeks.
  • Use enough treated water to moisten the top few inches, then go back to letting the surface dry.

Shop fungus gnat control on Amazon

Bti granules that treat larvae in the soil, yellow sticky traps for adults, and a moisture meter so you water only when pots need it. We may earn a commission at no extra cost to you.

Amazon · Bti granules for soil Amazon · Yellow sticky traps Amazon · Soil moisture meter

Step 3: Trap adults and monitor

Yellow sticky cards set just above the soil catch egg-laying adults and show whether the population is shrinking. Replace them when covered. When cards stay mostly clean for a week or two, the larvae are under control. A slice of raw potato laid on the soil for a few days is a quick larva check: lift it and look for tiny worm-like larvae underneath.

Things that do not help much

  • Vinegar or fruit traps catch fruit flies, not fungus gnats.
  • Spraying the leaves misses the problem, which is in the soil.
  • Cinnamon or chamomile on the soil has little evidence behind it.
  • Repotting everything at once in fresh mix can help a badly infested pot, but if watering habits stay the same, gnats return.

Prevent the next round

Store opened bags of potting mix sealed and dry. Let new plants sit apart for a couple of weeks before grouping them. Seed trays under domes are prime gnat habitat, so vent humidity domes once seeds sprout and bottom-water flats. Kitchen herbs on a windowsill dry quickly in small pots, so keep herb bowls on the drier side too.

A note on safety

Follow the product label for rates and use. Keep sticky traps where curious pets and small children cannot reach them, since the glue is hard to remove from fur and skin. Store treatment products sealed and out of reach.

Bottom line

Dry the soil surface, water pots with Bti every week for three to four weeks, and use sticky cards to measure progress. Most infestations clear within a month once the potting mix stops staying wet.

Ready to match plants to your location? Try the PlantWise Plant Finder →

Find Your Perfect Plants

Get personalized recommendations based on your zone, yard conditions, and preferences.

Try the Plant Finder →

Browse by Topic