How to Get Rid of Fungus Gnats in Houseplants (and Keep Them Gone)

A pothos houseplant with a yellow sticky card in the soil catching small dark fungus gnats, with two gnats hovering above damp potting mix
The flying adults are only the visible part. The larvae are in that damp top inch of mix.

They’re in your face while you watch TV. They drift up out of the pothos every time you water. You swat, you vacuum, you set out a cup of vinegar, and two days later they’re back as if nothing happened.

The flying ones are only the part you can see. What keeps the problem going lives in your potting mix, and breaking that cycle takes three to four weeks. Below: what the popular home remedies actually do, what Extension entomologists recommend instead, and a plan you can start tonight.

The Short Answer

Adult fungus gnats are the nuisance, but their larvae live in the top inch or two of damp potting mix. So aim at the soil: let the top inch dry between waterings, set yellow sticky cards to catch adults and track progress, and treat the soil with Bti (a bacterium that kills fly larvae) or beneficial nematodes. Repeat for three to four weeks, because eggs and pupae survive any single treatment. Vinegar traps are a fruit fly tool, and Wisconsin Extension says they don’t work for monitoring fungus gnats. I found no controlled study showing cinnamon works. Dry soil is the cure; everything else is backup.

One generation: about 17 days Egg~3 days Larva~10 days Pupa~4 days Adultlays eggs Bti and nematodes hit larvae only

Timing at about 75°F from UC IPM. A cooler room stretches every stage, which is why one treatment is never enough.

Why they keep coming back

A gnat problem feels endless because you’re usually hitting one stage of an insect that has four.

University of California IPM gives the timing at 75°F: eggs hatch in about 3 days, larvae feed for about 10 days, and adults emerge about 4 days after pupating. That’s roughly 17 days, egg to egg-layer. A cool room stretches it. UK greenhouse data from AHDB puts it at about three weeks at 68°F and more than a month at 59°F. Wisconsin and Colorado State Extension describe three to four weeks at ordinary room temperatures, and breeding goes on year-round indoors.

A female lives about a week and can lay up to 200 eggs.

The larvae are pale, legless little worms up to a quarter inch long with a shiny black head. The University of Georgia says they live in the top 1 to 2 inches of potting mix; Colorado State says 2 to 3 inches, depending on moisture. Either way, they’re shallow.

Moist, organic-rich mix suits them best. Colorado State says damp, peat-heavy media attracts egg-laying females, and in UK trials, mixes high in green compost carried even more of them than peat mixes did. The common thread is water, not the bag brand.

Is it really a fungus gnat?

A raw potato slice lifted from damp potting soil showing small translucent fungus gnat larvae with black heads
The potato-slice test: tiny translucent larvae with black heads mean this pot is the source.

Three small flies get mixed up, and the fix differs.

FlyWhat it looks likeWhere you see itWhat to do
Fungus gnatDelicate, dark gray to black, about 1/8 inch, long legs and antennae, like a tiny mosquitoLow around potting soil; weak, floppy fliersTreat the soil (this post)
Shore flyStockier, like a fruit fly, strong flier, five light spots on dark wingsNear standing water and algaeFix soggy spots and algae; mainly a greenhouse nuisance (Wisconsin)
Fruit flyTan body, often red eyesKitchen: ripe fruit, drains, trashClear the fruit and drains; vinegar traps work here

Test the soil, not the air. Wisconsin suggests setting a slice of raw potato on the soil and checking under it after three to four days. Colorado State pushes 1/4-inch slices into the mix and says larvae move to them within a day or two. Tiny translucent larvae with black heads mean you’ve found the source pot.

What the popular remedies actually do

RemedyWhat it hitsLife stageVerdict
Apple cider vinegar trapFruit flies, the odd gnatAdultsA fruit fly tool. Wisconsin says it doesn’t work for monitoring gnats, and it never touches the soil
Cinnamon on the soilMaybe surface moldUnclearNo controlled study I could find. Lab antifungal effects aren’t the same as killing larvae an inch down
Yellow sticky cardsAdultsAdultsGreat for counting and catching adults. They don’t reach the larvae
Letting the top inch dryEggs and larvaeEggs, larvaeWisconsin calls reducing soil moisture “the single most important step”
Bti soil treatmentLarvaeYoung larvae bestWorks when repeated and the soil isn’t kept soggy. Doesn’t touch eggs, pupae or adults
Beneficial nematodesLarvaeLarvae*Steinernema feltiae*, named by UC IPM, Colorado State and the RHS. Live, so order and use quickly
Hydrogen peroxide drenchLarvae (claimed)LarvaeThin support. See below
Sand or fine gravel layerEgg-laying surfaceNew eggsWisconsin: 1/2 to 1 inch. Discourages new eggs; doesn’t kill larvae already there

The cinnamon logic goes: it fights fungus, larvae eat fungus, no fungus, no larvae. It sounds neat. But I couldn’t find a trial against fungus gnats, and none of the Extension pages I read mention it. If you like the smell, go ahead. Just don’t let it replace the watering change.

The real fix, step by step

A finger pushed an inch into the potting soil of a pothos to check dryness, beside an African violet being bottom-watered in a glass dish
Check the top inch before every watering, and bottom-water the plants that need it.
  1. Dry out the top of the soil. Push a finger in. If the top inch is damp, wait. Colorado State says to let the top 1 to 2 inches dry, and the RHS notes that letting compost dry between waterings reduces numbers without harming the plant.
  2. Water from the bottom, then dump the saucer. Ten to twenty minutes in a tray, then out. A pot that sits in water stays wet all the way up.
  3. Set yellow sticky cards. Stand them upright at the pot’s edge, just above the soil. Count what’s stuck each week. That’s your scoreboard. Keep them indoors; the RHS points out they catch beneficial insects too.
  4. Treat the soil with Bti. Use a product with *Bacillus thuringiensis* subsp. *israelensis* whose label lists fungus gnats or potted plants, and follow it.
  5. Or use beneficial nematodes. UC IPM says *S. feltiae* works best between 60 and 90°F in moist soil. Colorado State says they kill larvae within three to four days.
  6. Add a sand layer once the soil has dried. A 1/2 to 1 inch layer of coarse sand or fine gravel, per Wisconsin. Skip fine play sand, which packs down and holds water.
  7. Stick with it for three to four weeks. Wisconsin says control can take that long.
Watch Out

Ferns, calatheas and other moisture lovers sulk if you dry them hard. For those, use bottom watering, Bti and cards, and repot into fresh mix if the old mix stays soggy.

The top inch decides it 1 in. Damp top inch: eggs and larvae Dry top inch: gnats move on

Letting the top inch dry between waterings is the step Wisconsin Extension calls the most important one.

Bti and the label

Gloved hands pouring strained water from soaked Bti granules onto the soil of a potted peace lily, with the soaking jar and a strainer on the counter
One label method: soak Bti granules, strain, and pour the water onto the soil. Follow your own product’s label.

Bti is a naturally occurring soil bacterium. The National Pesticide Information Center (an Oregon State University and EPA cooperative) says Bti strains control immature mosquitoes, flies and gnats, and that Bt products have been EPA-registered since 1961.

The home product most people reach for is mosquito granules from the pond aisle, and Wisconsin names Mosquito Bits as an option. The current household label I read for Mosquito Bits does include indoor potted plants: sprinkle a small amount on the soil and water it in, or soak the granules in water for about 30 minutes and use that water, repeating weekly for three weeks. The donut-shaped Dunks label I checked had no fungus gnat directions. Labels change, so follow the one in your hand. If it doesn’t list potted plants or fungus gnats, pick a product that does. And note that the Bt sold for caterpillars is a different strain and won’t help here.

The most common “Bti didn’t work” story has the same three causes: one dose instead of a series, soil kept wet so new eggs keep coming, or expecting it to kill the flying adults. It only kills larvae, and the youngest ones most reliably.

Predatory mites (Stratiolaelaps scimitus) are sold too, but UC IPM says they probably won’t perform well in individual houseplants. For one windowsill, I’d skip them.

Hydrogen peroxide: what I could verify

A drench of 1 part 3% hydrogen peroxide to 4 parts water is all over the internet. The only Extension support I found is one Ask Extension answer saying it “may be effective,” but that less severe controls should come first and it shouldn’t be used on seedlings. Stronger mixes can burn roots. So it’s not a first move. Dry the soil and use Bti first.

The plan, timed to the life cycle

Hands spreading a half-inch layer of coarse sand over the dry soil of a potted snake plant to discourage fungus gnats
A half-inch of coarse sand on dry soil discourages new eggs. It won’t kill larvae already there.

Your product label overrides my table. The doses below land roughly every five days, the UC IPM interval; many home labels say weekly, which also works.

WhenDo thisWhy
Day 1Stop watering until the top inch is dry. Card in each affected potCuts egg-laying and starts your count
Day 2First Bti (or nematode) treatmentHits the larvae there now
Day 7Second treatment. Swap full cards. Add the sand layer if the top is dryCatches larvae from eggs laid before day 1
Day 12Third treatment. Check a potato sliceLarvae from the first wave of eggs are still feeding
Day 17Fourth treatment. Compare card countsAt 75°F, one generation is about 17 days
Day 22–28Check a potato slice and the cards. If you see larvae or new adults, treat once moreLate hatchers can still be in the soil until about day 27

If counts fall week over week, you’re winning. If they stay flat past week three, look at the watering before you buy anything else. In a cool room, add a week.

The Insight

The gnat is a moisture alarm, and winter sets it off

First, gnats show up because the pot stays wet. The University of Georgia says overwatering is the main reason fungus gnats thrive in homes and offices. In winter, light is low and plants drink less, so a summer watering schedule leaves the mix soggy, and soggy mix rots roots. UC IPM notes that wilting is more often from too much or too little water or root rot than from larvae. So the gnat is often your first warning that a pot is too wet, before the leaves tell you.

Second, the spring outbreak gets carried in now. Holiday gift plants arrive in damp mix. A half-used bag of potting soil sits in the garage and gets opened in March for seed starting. That timing is the part I’d plan around. UC IPM says larval feeding damage is most likely in seedlings and young plants, and Wisconsin notes that in greenhouses, root feeding can be linked to root rot. Oregon State recommends quarantining new plants for a few weeks with a sticky card, and the RHS advises discarding old compost instead of reusing it. Put those together and the cheap move is obvious: keep this winter’s infested mix out of next spring’s seed trays.

Honest Take

Serious larval damage to established houseplants is uncommon; Colorado State calls the larvae minor pests and Wisconsin says root damage is rare indoors. Gnats won’t kill your fiddle-leaf fig. They’re telling you about your watering, and they matter most for seedlings and cuttings. That’s why a March outbreak costs more than a January one.

Watch Out

Common mistakes

  • Only trapping adults. Cards and vinegar cups don’t reach the soil.
  • Treating once and stopping. Bti misses eggs and pupae and doesn’t last long indoors.
  • Watering on a calendar. Check the soil first.
  • Letting pots sit in water.
  • Reusing old mix from an infested pot.
  • Skipping quarantine for new plants.
  • Reaching for a spray first. UC IPM says insecticides are rarely warranted around homes. If you ever use one, read the label and ask your county Extension office first.

Zone-by-zone: how they get in

Fungus gnats are an indoor problem everywhere. Your zone changes how they arrive and how long the soil stays wet.

ZoneWhat to know
3–4Plants spend six months or more indoors with the heat on, and gnats breed year-round inside. Check summer pots with a potato slice before they come in.
5–6The usual route is a patio plant carried in before frost. Card it the same day and let the top inch dry before its first indoor watering.
7–8Mild falls keep pots outside longer in cool, damp soil. Let them dry fully before bringing them in, and expect a slower gnat cycle in a cool sunroom.
9–10Covered porches and greenhouses often sit in the 60 to 90°F range where both gnats and nematodes do well. Warm, damp mix means faster generations, so stick with the five-day spacing.
11Warm all year, so generations overlap. Dry-top watering and quarantine do more than any product.
Any zone, garage-stored soilUC IPM says moist soil can be solarized in clear or black plastic in a sunny spot for about 4 to 6 weeks. In cold-winter climates, that’s a summer job.
Do This Today

Push a finger into the pot with the most gnats. If the top inch is damp, skip tonight’s watering.

Sources & further reading

  • University of California Statewide IPM Program: “Fungus Gnats”
  • University of Wisconsin–Madison Extension: “Fungus Gnats on Houseplants” and “Fungus Gnats and Shore Flies”
  • Colorado State University Extension: “Fungus Gnats as Houseplant and Indoor Pests”; CSU Agricultural Biology, “Fungus Gnats”
  • Oregon State University Extension: “I have fungus gnats everywhere. Can you help?”
  • University of Georgia Extension: “Fungus Gnats: A Tiny Nuisance of Houseplants” (C1250)
  • University of Connecticut IPM: “Biological Control of Fungus Gnats”
  • National Pesticide Information Center (Oregon State University and U.S. EPA): Bacillus thuringiensis fact sheet
  • U.S. EPA pesticide product label system: Mosquito Bits (EPA Reg. No. 6218-86) and Mosquito Dunks (6218-87) labels
  • Royal Horticultural Society: “Sciarid flies”
  • AHDB Horticulture (UK): recognition, biology and control of sciarid and shore flies in protected ornamentals
  • Ask Extension: answer on hydrogen peroxide for fungus gnats
  • Always read and follow the product label, and confirm treatments with your county Extension office.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top