A calmer garden, season by seasonEasy perennials, shrubs and simple care
Garden Care

Fungus Gnats in Houseplants: What Works, What Does Not, and How Long It Takes

How to get rid of fungus gnats in houseplants according to Wisconsin, UC IPM, Oregon State, UGA, WSU and NC State: dry the soil, sticky traps, Bti, and the popular ideas that do not work.

A pothos in a white pot on a windowsill with a yellow sticky trap card on a stake in the soil, with a few small insects stuck to it

Tiny dark flies drifting around your houseplants are almost always fungus gnats, and the extension sources agree on how to get rid of them: stop keeping the soil surface wet, trap the adults, and kill the larvae in the soil. Wisconsin Extension puts it plainly: changing the conditions of the plant is the single most important step. UC IPM adds that most of the fly's life is spent as a larva and pupa in the soil, so the best controls aim at those stages and not at the flying adults.

This guide covers the steps in the order the sources give them, the place where they differ (whether to spray), and a few popular ideas that the extension pages say do not work.

Is it a fungus gnat?

Adult fungus gnats are delicate, dark brown or black flies about 1/8 inch long, with a rounded Y-shaped vein near the wing tips (Wisconsin, UGA). UC IPM says they resemble mosquitoes but are weak fliers that usually stay near the plants. They do not bite (UGA). You will see them near windows and lamps, or walking across the soil.

The larvae are pale, worm-like and up to 1/4 inch, with a black head (Wisconsin). They live in the top half inch to 2 inches of the potting mix (Oregon State, UGA). Wisconsin and NC State both warn that fungus gnats are often mistaken for fruit flies, but they are different insects. A fruit fly goes for ripe fruit and a fungus gnat goes for damp soil.

If you cannot tell which pot it is, UMD says to cover the plant or drain with screen or cheesecloth and look for flies over several days.

How fast they multiply

A female lays up to 200 eggs in clusters in cracks on the surface of moist soil. The eggs hatch in three to six days, the larvae feed for one to two weeks, and the adults emerge four to five days after pupation (Wisconsin). Adults live about a week. From egg to adult takes three to four weeks in Wisconsin's account, and UC IPM says about 17 days at 75°F, faster when it is warm. Indoors the generations overlap, so eggs, larvae, pupae and adults are all there at once.

That overlap is why one treatment is never enough, and why the sources keep saying to repeat.

Do they hurt the plant?

Mostly not. The adults do not feed on or damage plants (Wisconsin). Larvae eat fungi and decaying organic matter, but when there are many, they can chew roots. Wisconsin says this is rare in homes. UGA and UC IPM say the damage falls mainly on seedlings and young plants. NC State adds that a severe infestation can lead to root rot, because the larvae make wounds that let pathogens in.

UC IPM makes one useful point: a wilting houseplant may have root damage from larvae, but too much or too little water, root rot fungi and poor drainage are much more common causes of wilting.

Step 1: dry the surface

All of the sources start here. Larvae need moisture, so the most effective thing to do is to let the soil go dry. Wisconsin says to keep the surface dry to remove egg-laying sites, either by letting the top inch dry before you water or by watering from the bottom. Oregon State says the same and adds not to leave standing water in saucers. UGA calls excessive moisture the primary reason fungus gnats thrive in homes and offices. UMD says that when the soil dries, the larvae die. For how to bottom-water, see our guide to cyclamen.

WSU suggests a soil moisture meter to prevent overwatering, and says to use a potting soil with good drainage when you repot. UC IPM says to improve the drainage of the mix, for example with more perlite or sand.

Step 2: sticky traps

Yellow sticky traps catch the adults. UGA says this also reduces the number of larvae in the next generation. Wisconsin says the traps help you keep track of the numbers over time. Oregon State says small 2 by 2 inch traps are sold at garden centers and should be replaced every few days. WSU says to mount them vertically on a stake so they catch flying adults, and that light infestations may be controlled with traps alone. UC IPM says you can cut a trap into smaller squares and stick them on skewers in the pots.

Step 3: Bti for the larvae

Bti is Bacillus thuringiensis subspecies israelensis, a soil bacterium sold in garden centers as Gnatrol or Mosquito Bits (Wisconsin, UC IPM). Oregon State says it is also sold for mosquito control, so look in the pond section. Three facts matter:

  • It only kills larvae. Wisconsin says it does not affect eggs, pupae or adults.
  • Mix it with water. Wisconsin says to apply it with enough water for it to filter down to the larvae. Oregon State says to mix it with water, leave it to soak for 30 minutes, and then pour it on the soil.
  • Repeat it. Wisconsin says several applications five to seven days apart, to catch newly hatched larvae. UC IPM says about every five days, because Bti does not persist indoors.

UC IPM warns that the Bt sold for caterpillars is a different subspecies and does not work on fly larvae. Check the label says israelensis.

NC State and UC IPM also list beneficial nematodes. UC IPM says Steinernema feltiae works between 60 and 90°F in moist conditions, and that they are mail-ordered live products. It says predatory Hypoaspis mites probably do not do well in individual houseplants and are probably not a good choice for homes.

Top dressing with sand or gravel

Wisconsin says a half-inch to one-inch layer of coarse sand or fine gravel helps keep the surface drier and makes the soil less attractive for egg-laying. NC State says a layer of coarse sand, gravel or diatomaceous earth works best combined with other controls. The other pages do not mention it, so treat it as an extra and not the main fix.

The soil surface of a potted houseplant covered with a thin layer of coarse sand and fine gravel
A top dressing of coarse sand or fine gravel keeps the soil surface drier.

Fresh soil, drains and new plants

Fungus gnats come in on infested potting mix and new plants (NC State, WSU). Oregon State says to start with heat-pasteurized potting soil, which most commercial mixes already are, to store it away from the infestation, and to remove dead leaves and flowers that the gnats feed on. UC IPM says to avoid incompletely composted material and heavy use of manure or blood meal fertilizer.

For a heavily infested plant, WSU says repotting in fresh, well-drained soil can knock down the larvae. NC State says to discard the old soil and sterilize the pot. WSU and Oregon State say that a plant with repeated heavy infestations can be thrown away. UMD adds that gnats can breed in a drain, in which case use a commercial drain cleaner or clean the trap.

To spray or not to spray

  • Vinegar traps. Wisconsin says vinegar traps and other fruit fly methods do not work for monitoring fungus gnats. Use yellow sticky cards.
  • Spraying the air. Wisconsin says spraying the air with insecticide is ineffective.
  • Any Bt. Only the israelensis subspecies works on fly larvae (UC IPM).
  • Hydrogen peroxide. None of the extension pages we read recommends it. They give drying, traps, Bti, nematodes and soil changes.
  • Killing the adults first. The adults live about a week and the larvae are the main part of the cycle, so UC IPM says to aim at the immature stages.

Prevent them coming back

Oregon State says to keep new plants apart from your others for a few weeks, with a yellow sticky trap, and to inspect them daily. WSU says to quarantine for about a month, treating any problem and keeping the plant isolated until it is clean. Wisconsin says the problem is often worse in fall, when plants that spent summer outdoors come back inside infested.

FAQ

Frequently asked questions

How do I get rid of fungus gnats in houseplants?

Let the top inch of soil dry between waterings or water from the bottom, use yellow sticky traps for the adults, and treat the soil with Bti every 5 to 7 days for the larvae (Wisconsin, Oregon State, UC IPM).

How long does it take to get rid of fungus gnats?

Wisconsin says it may take three to four weeks of modified watering and top dressing to get them in check. A generation takes about 17 days at 75°F (UC IPM).

Are fungus gnats harmful to my plants?

Usually not. The adults do not damage plants, and larval damage is rare in homes (Wisconsin). Seedlings and young plants are the most at risk (UGA, UC IPM).

Do fungus gnats bite?

No. UGA says they resemble mosquitoes but do not bite.

Are fungus gnats the same as fruit flies?

No. Wisconsin and NC State say they are often mistaken for fruit flies. Fungus gnats are drawn to damp soil, and vinegar traps do not work on them (Wisconsin).

What kind of Bt kills fungus gnat larvae?

Bacillus thuringiensis subspecies israelensis (Bti), sold as Gnatrol or Mosquito Bits. UC IPM says Bt sold for caterpillars does not work on fly larvae.

Should I use an insecticide?

The sources differ. WSU recommends none for houseplants, while Wisconsin and UC IPM allow pyrethrins for temporary control alongside the other steps.

Why do I get them every fall?

Wisconsin says plants that spent the summer outside often bring infestations back indoors. Quarantine them first (Oregon State, WSU).

Sources

  1. UW-Madison Extension: Fungus Gnats on Houseplants
  2. UC IPM: Fungus Gnats Pest Note
  3. Oregon State Extension: How to manage fungus gnats
  4. University of Georgia Extension: Fungus Gnats, A Tiny Nuisance of Houseplants
  5. WSU PestSense: Fungus gnats
  6. University of Maryland Extension: Fungus gnat management
  7. NC State Extension, Beaufort County: Fungus Gnats in Houseplants
Keep reading
Garden CareRain Garden: How to Plan, Size and Build OneGarden CareClover Lawn: Pros, Cons and How to Overseed
Related guidesView all →
A black wire shelf in a spare room with two trays of tomato and pepper seedlings, each shelf lit by a white LED shop light hung on chains just above the plants
Garden CareGrow Lights for Seedlings: Type, Hours and How Close to Hang Them
Two black seed trays of young tomato and pepper seedlings with wooden plant labels on a table in front of a bright winter window
Garden CareWhen to Start Seeds Indoors: Weeks by Crop and How to Count Back
Small bunches of strawflowers, statice, yarrow and lavender hanging upside down from a wooden rack in a dim shed
Garden CareHow to Dry Flowers: 6 Methods and the Best Flowers for Each
The monthly letter

Your Garden,
Month by Month

What to plant, prune and skip, delivered once a month.

Get the free October rose checklist. Unsubscribe any time. Privacy

Privacy Settings

This site sets no cookies for visitors. The choices below cover the few things that run in your browser, and they are kept on this device only.

Essential

These technologies are required for the site to work and cannot be switched off.

Analytics

These technologies show us how the site is used, so we can see which guides help and fix what does not.