Houseplants
How to get rid of fungus gnats (without chemicals)

Fungus gnats breed in wet potting mix. Let the top 1 to 2 inches of soil dry between waterings, catch the adults on yellow sticky cards, and water the soil with Bti (sold as Mosquito Bits or Gnatrol) to kill the larvae. Keep it up for about a month, because new gnats keep hatching from eggs already in the soil.
If tiny dark flies drift up every time you water, you have fungus gnats. They show up most in late fall and winter, they don’t bite, and the cure doesn’t come in a spray can. It’s mostly about water.
Is it fungus gnats?
- The adults are tiny, about 1/16 to 1/8 inch long, dark gray to black, with long legs and long antennae. They hang around the pot and the soil surface.
- The larvae are the real problem, and you rarely see them: clear to whitish, legless, with a shiny black head. They live in the top 2 to 3 inches of moist potting mix.
- Not fruit flies. Fruit flies are tan with red eyes and gather around ripe fruit and drains. Fungus gnats are darker and stick close to potted plants.
Why they show up in winter
Shorter days and cooler rooms slow your plants down, so they drink less. Water on the summer schedule and the potting mix stays wet, which is exactly what egg-laying females are looking for. Plants that spent the summer outside often come back in already carrying gnats, and older potting mix that has broken down holds even more water.
Do they hurt plants?
Mostly they’re a nuisance. The larvae feed on fungi, algae and decaying material in the mix, and they nibble root hairs. A healthy, established houseplant shrugs that off. Seedlings and young plants are different: big numbers of larvae can damage their roots and stunt them, so deal with gnats quickly in a seed-starting setup (see what’s wrong with my seedlings).
The chemical-free fix, step by step
- Let the top of the soil dry. Water only when the top 1 to 2 inches feel dry. This is the most important step: drier soil means fewer eggs and larvae survive, and the pot stops looking like a good place to lay more. Pour off any water sitting in saucers or decorative outer pots.
- Find out which pots have larvae. Press a few 1/4-inch slices of raw potato, cut side down, into the soil. Check underneath after a few days; larvae move to the potato to feed.
- Trap the adults. Stick yellow sticky cards at the edge of the pot or just under the leaves, or cut them into squares on skewers. They catch egg-laying females, but they don’t touch the larvae, so they’re only half the job.
- Treat the larvae with Bti. Bti (Bacillus thuringiensis israelensis) is a bacterium that kills fly larvae in the soil. Look for Mosquito Bits or Gnatrol and water it into the mix following the label. It doesn’t last long indoors, so repeat about every five days for a few rounds.
- For a bad or stubborn case, add beneficial nematodes. Steinernema feltiae is the species for fungus gnats. They come by mail, alive, so use them right away: water them into moist soil, and the larvae die within three to four days. They work in soil between about 60 and 90°F.
- Repot the worst offenders. Old, broken-down potting mix stays wet. Move those plants into fresh mix and toss any rotting bulbs or roots.
- Give it a month. One generation takes three to four weeks, so eggs already in the soil keep hatching for a while. Stay with dry soil and the Bti until the cards stop catching new gnats.
Skip the bug spray. Iowa State’s extension doesn’t recommend insecticides for fungus gnats in houseplants: they aren’t needed and don’t control them well. Sprays aimed at the flying adults don’t touch the larvae in the soil, which is where the problem lives.
You’ll also see cinnamon, vinegar traps and hydrogen peroxide online. None of the university guides we used for this page mention them. Their plan is the one above: drier soil, sticky cards and Bti.
One mix-up to avoid
The Bt sold for cabbage worms and other caterpillars is a different strain and doesn’t work on fungus gnats. Check the label for israelensis.
Keeping them from coming back
- Water less in winter. Check the soil with a finger before you water, every time.
- Check plants before they come in for the winter. Do the potato test on anything that spent the summer outside, and let it dry down before it comes indoors.
- Use fresh potting mix, not garden soil or compost, for indoor pots, and keep open bags of mix closed up and off the ground. Our potting mix guide covers what to use.
- Give pots drainage. A pot with no hole, or a mix that stays soggy, is a gnat nursery.
Common questions
Do fungus gnats bite?
No. Adult fungus gnats don’t bite and don’t harm people. They’re a nuisance, not a danger.
Will fungus gnats kill my plant?
Rarely. The larvae mostly eat fungi and decaying material in the potting mix. Large numbers can damage the roots of seedlings and young plants, so treat those quickly.
How long does it take to get rid of fungus gnats?
Plan on about a month. One generation takes three to four weeks at room temperature, so new adults keep appearing from eggs that were already in the soil while you keep it drier and treat the larvae.
Where do fungus gnats come from?
Wet potting mix. They often ride in on plants that spent the summer outside, and they multiply in winter when plants use less water but still get watered on the summer schedule.
Are fungus gnats the same as fruit flies?
No. Fruit flies are tan with red eyes and hang around ripe fruit and drains. Fungus gnats are dark, with long legs, and stay close to potted plants.
Can I use the Bt I have for caterpillars?
No. Caterpillar Bt is a different strain and doesn’t work on fungus gnats. Look for Bti (israelensis), sold as Mosquito Bits or Gnatrol.
