Let the top half inch of the pot dry out between waterings, and stop treating the flying adults as the problem. Virginia Cooperative Extension calls that drying “probably the best and easiest control for these pests”.
If you have already used a Bti drench and still see gnats, it may be working, or it may have reached the larvae too late. The sections below show why.
That answer is plainer than the effort most people put in. One r/houseplants reader spent six hours purging fungus gnats and repotting every single pot, and the replies went through a remedy each, from sticky traps and peroxide to sand, cinnamon and neem.
A list like that invites working down it, one product at a time. The sources point the other way: sort the remedies by which stage of the insect they reach, and most of the list falls into place before anything else is bought.
Why the Thing You Can See Is the Wrong Target
The flies lifting off the soil are the adults, and they are the short-lived part of the story.
UC IPM says most of a fungus gnat’s life is spent as a larva and pupa in the mix, so the most effective controls “target these immature stages rather than attempting to directly control the mobile, short-lived adults.”
Where those immature stages live is unusually well defined. Virginia Cooperative Extension says fungus gnat larvae “live and pupate in this material within 13 mm (0.5 inch) of the soil surface”, in the moist decaying organic matter where females lay their eggs.
That band is a concentration, not a wall. Raymond Cloyd of Kansas State University notes that larvae “may be distributed throughout the growing medium profile, even at the bottom of containers near drainage holes.” So the top of the pot is where most of the problem sits, and the bottom is not guaranteed clear.
Where the larvae live, and what reaches them
Virginia Cooperative Extension places the larvae and pupae within 13 mm of the surface, and Kansas State finds some deeper. Sticky traps work in the air above.
Letting that band dry out is what extension entomology calls probably the best and easiest control. A Bti drench reaches the larvae but not the adults already flying, and in one laboratory test it did not affect older larvae either, so it can look as if it failed.
The clock runs fast. UC IPM gives, at 75°F (about 24°C), about 3 days for eggs to hatch, about 10 days as larvae and about 4 as pupae, so a generation takes about 17 days.
Kansas State gives 20 to 28 days for a generation, and adults that live 7 to 10 days.
UC IPM and Virginia Tech both say warmth speeds development, and UC IPM says the generations overlap. That is why one pot can hold eggs, larvae, pupae and flying adults at the same time, and why any single treatment meets a mix of stages rather than one.
What Drying the Surface Does, and How Strong the Evidence Is
Drying the top layer takes away the moist conditions UC IPM says fungus gnats thrive in, and the damp organic matter Virginia Tech says females lay their eggs in. Virginia Tech, Oregon State and UC IPM all advise it, and Virginia Tech ranks it first.
Read that ranking with its own hedge in place. “Probably the best and easiest” is a judgment by the extension entomologists, not a promise that drying alone clears every pot, and nothing in this article upgrades it into one.
The sources set the depth slightly differently, and the difference is useful. Virginia Tech’s half inch is the band the larvae occupy. Oregon State’s advice is to check that the top inch is dry before watering, which is a trigger for watering with a margin over the band.
The measured evidence is thinner than the agreement suggests. In a greenhouse study, Denise Olson, Ronald Oetting and Marc van Iersel kept potting media at set moisture levels and found no significant difference in fungus gnat numbers between those levels within a medium type, cited from the abstract.
The pattern they did see was a tendency toward fewer gnats in both the driest and the wettest media, with the highest survival at 52.5% moisture.
Holding a mix at one moisture level is not the same as letting a surface dry between waterings, so the study does not test the extension advice directly.
The same study found something that bears on where gnats come from. In the laboratory, fewer than one adult on average emerged from 20 eggs in pure peat moss or coir, while a gram of yeast added as food raised that to between 11.5 and 13.
Food in the mix, not the type of mix, decided how many emerged.
So surface drying is the control extension entomology ranks first, on experience rather than on a published trial in a houseplant.
In practice that means watering so the top half inch genuinely dries, watering from the bottom if it helps keep the surface dry, and not leaving water standing in the saucer, which Oregon State spells out.
Why a Bti Drench Can Look Like It Failed
The remedy you will see named most often is Bti, products containing the bacterium Bacillus thuringiensis israelensis, sold for mosquito control and steeped in water to make a soil drench. Readers often call the granules by a product name; the active ingredient on the label is what matters.
The first reason it looks like a failure is the adults. Oregon State says the bacteria “kill the larvae in the soil but do not affect the flying adults.” Adults already in the air were produced before the drench and carry on flying for their natural lifespan.
The second reason is the age of the larvae. Lance Osborne and colleagues found in 1985 that larvae exposed to Bti from egg to pupa survived at 8%, against 84% for larvae given only water, cited from the abstract.
That test exposed larvae from the start of larval life. Raymond Cloyd and Amy Dickinson tested older larvae in 2006 and found that Bti had no effect on either of the two later larval stages they drenched, cited from the abstract. Their conclusion was that it has to go on before a population builds up and before generations overlap.
On that result, a drench into a pot already full of well-grown larvae can leave those larvae to finish developing and emerge, so flies keep appearing for a while even where younger larvae are being killed. Neither study was in a houseplant, and neither says how long that lasts.
Bti can also simply do less than hoped. On organic potted herbs, M. Koller recorded 1 to 51% control with it, cited from the abstract. UC IPM adds that Bti does not reproduce or persist indoors and gives temporary control, so repeat applications are commonly needed.
How much, how often and for how long are on the product label, and nowhere in this article. Rates and intervals differ between formulations, and Oregon State says it plainly: “Carefully follow the directions on the product’s label for use and storage instructions.”
One mix-up is worth avoiding. UC IPM says the Bt sold for caterpillars is a different subspecies and is not effective against fly larvae, so a product without israelensis on its label is not a substitute, however similar the name.
How to Tell Whether the Larvae Are Still There
Adults in the air cannot tell you whether a treatment reached the larvae, because they lag behind it.
UC IPM says chunks of raw potato placed cut side down in the mix attract fungus gnat larvae, and are used to check pots for them and to trap them away from the roots.
UC IPM describes the larvae as having a shiny black head and a whitish to clear, legless body. After a few days in the pot, it says, remove infested chunks, throw them away and put in fresh ones.
The alternatives to Bti article gives UConn’s 48-hour version of the same check.
The check tells you whether larvae are present, not whether the pot is clear, and no source gives a number of larvae that means a treatment has failed. What it does give you is something other than the flying adults to judge by.
What the Sticky Traps Are Actually For
Yellow sticky traps work within their job, which is the adults. UC IPM says that in homes they may reduce the nuisance, and suggests cutting the cards into small squares on sticks placed in the pots.
Oregon State says to replace them every few days, and to take care with them around pets and children.
Virginia Cooperative Extension treats sticky cards as a way to trap and monitor adults, while stating that managing excess soil water is the key. A card tells you how many adults there are and thins them. It never reaches the band where the next generation is growing, which is why traps alone don’t fix the problem.
Cider vinegar traps are a sharper case, because they are a fruit fly method. Fruit flies follow fermentation, as the article on fruit fly trap bait explains, and readers who set the same traps out for fungus gnats describe catching almost nothing.
No source behind this article tested a vinegar trap on fungus gnats.
Are They Actually Hurting the Plant?
You will be told they are harmless. The adults are, in the sense that matters: UC IPM says adult fungus gnats do not damage plants or bite people. The larvae are a different matter, and the reassuring answer stops being right when there are a lot of them.
Virginia Tech says larvae “typically feed on decaying organic material, including unhealthy plant roots,” and can take healthy roots too, and that heavy populations “may cause yellowing and dropping of leaves and lead to stunted plant growth.” Young plants with weak root systems are the most exposed.
UC IPM goes further for houseplants. It reports significant root damage, and even plant death, in houseplants and interior plantings where high populations met moist soil rich in organic matter, while noting that too much or too little water and root rot are much more common causes of a wilting plant.
The larvae can also carry disease. William Jarvis and colleagues found that larvae which had eaten Pythium, a root rot organism, introduced it to young cucumber roots in rockwool, while adults probably played only a minor role, cited from the abstract.
How often that happens in an ordinary pot is less clear. S. E. Braun and colleagues found larvae passed one Pythium strain to seedlings 65% of the time on filter paper, but under 6% of the time in cells of peat-based potting mix, cited from the abstract.
If the roots are already brown and soft, the first problem is root rot and the wet mix behind it.
So neither panic nor dismissal. A few adults mean the surface is staying wet. A heavy, persistent population on a young or struggling plant is worth acting on, and the first action is the same one either way.
Do You Have to Repot Everything?
No source behind this article prescribes a full repot for an ordinary infestation. Oregon State names something narrower: remove heavily infested plants if other methods fail. UC IPM says that in some cases you may wish to throw out severely infested plants.
UC IPM also says not to move infested plants to new areas, where emerging adults can reach other pots. For a collection, that argues for working on the worst pot where it stands, rather than carrying it among the others or turning out every pot you own.
If you have already repotted, the fresh mix only helps if it starts clean and stays drier at the surface.
UC IPM says to use pasteurized potting mix, and warns that incompletely composted organic matter in a mix will often be infested. Fresh mix kept as wet as the old leaves the conditions every source puts first unchanged.
The Remedies With Little or Nothing Behind Them
Cinnamon has no test behind it: no trial of cinnamon against fungus gnat larvae was found. That is an absence of evidence, not a finding that it fails, and it cuts both ways, since the readers who say it worked have no trial behind them either.
Hydrogen peroxide has one test near the question, and it is not a potted plant. Vanessa Caixeta and colleagues sprayed it on foam plates in a hydroponic lettuce system, where it reduced adult flies and larvae against water but also affected seed germination, cited from the abstract.
What peroxide does to roots is covered in hydrogen peroxide on roots.
Neem has a little more. In Koller’s potted herb trial, azadirachtin, the active compound from neem seed, could be an alternative only under hot conditions, above 28°C (about 82°F), cited from the abstract. Diatomaceous earth, nematodes and sand layers have been tested, and the alternatives to Bti covers what happened.
Reader reports of these remedies failing are anecdote too, and an anecdote against is no stronger than an anecdote for. UC IPM’s broader view is that insecticides are rarely warranted for these flies in and around homes, which leaves reaching for one of these an experiment rather than guidance.
Where They Came From in the First Place
Usually the mix, or the watering. Oregon State recommends heat-pasteurized potting soil, stored away from any infestation, and removing decaying plant parts like dead leaves and spent flowers. UC IPM adds storing pasteurized mix off the ground in closed containers, so it is not infested before use.
UC IPM also names moist, decomposing organic material, including compost, as a favorite breeding spot. That fits the Olson finding above, where food in the mix rather than the kind of mix decided how many adults emerged.
New plants are the other common route. Oregon State’s recommendation is a few weeks apart from the collection, with a sticky trap beside the new plant and a daily look, and how long to quarantine a new houseplant sets that against the life cycles of other pests.
Local Regulations and Safety Advisory
If you use pest control products, follow the label. Rules on them vary by country and locality, and your pesticide regulator can say what applies where you live. This article is general information, not legal advice.
Authorities to consult:
- Pesticide regulatory authority or environmental protection agency
What Remains to Be Explored
No source gives a timeline for control in a home. The biology is known: about 17 days for a generation at 75°F in UC IPM’s figures, 20 to 28 days in Kansas State’s, adults living 7 to 10 days.
How long it takes to clear a pot, or how many applications any product needs there, has not been published.
The first-ranked control has not been tested the way it is used. Extension entomology ranks surface drying first, and the one controlled study of moisture found no significant difference between set moisture levels. No trial of drying the surface between waterings in a houseplant pot was found.
The Bti results point in more than one direction. Osborne’s larvae exposed from the egg mostly died, Cloyd and Dickinson’s older larvae were unaffected, and Koller saw 1 to 51% control on potted herbs.
None of these used a houseplant in a home, and none sets a point after which a drench is too late.
Several popular remedies are simply untested here. No trial of cinnamon on fungus gnat larvae was found, the only peroxide test was in hydroponic foam, and no source compared any home remedy against surface drying. Evidence on any of these would change this article.
Sources
- Fungus Gnats — Patricia L.S. Wooden, Theresa A. Dellinger and Eric Day. Virginia Cooperative Extension, Virginia Tech. August 28, 2026.
- I Have Fungus Gnats Everywhere. Can You Help? — Brooke Edmunds. OSU Extension Service, Oregon State University. April 2025.
- I’ve Spent Six Hours Purging Fungus Gnats and Repotting Every Single Pot — r/houseplants, Reddit. Undated.
- Comparison of Steinernema feltiae, Bacillus thuringiensis israelensis and Azadirachtin to Control Sciarids in Organic Potted Herbs — M. Koller. Acta Horticulturae 915:179-184. November 2011. Cited from its abstract.
- Microbial Control Agents for Fungus Gnats (Diptera: Sciaridae: Lycoriella) Affecting the Production of Oyster Mushrooms, Pleurotus spp. — Valerie M. Anderson and colleagues. Insects 12(9):786. 2021. Cited from its abstract.
- Fungus Gnat Management in Greenhouses and Nurseries (MF-2937) — Raymond A. Cloyd. Kansas State University Agricultural Experiment Station and Cooperative Extension Service. September 2010.
- Pest Notes: Fungus Gnats (Publication 7448) — J.A. Bethke and S.H. Dreistadt. University of California Statewide IPM Program. August 2013.
- Effect of Soilless Potting Media and Water Management on Development of Fungus Gnats (Diptera: Sciaridae) and Plant Growth — Denise L. Olson, Ronald D. Oetting, Marc W. van Iersel. HortScience 37(6):919-923. 2002. Cited from its abstract.
- Activity of Bacillus thuringiensis var. israelensis on Bradysia coprophila (Diptera: Sciaridae) — Lance S. Osborne, Drion G. Boucias, R. K. Lindquist. Journal of Economic Entomology 78(4):922. 1985. Cited from its abstract.
- Effect of Bacillus thuringiensis subsp. israelensis and Neonicotinoid Insecticides on the Fungus Gnat Bradysia Sp nr. coprophila (Lintner) (Diptera: Sciaridae) — Raymond A. Cloyd, Amy Dickinson. Pest Management Science. 2006. Cited from its abstract.
- Transmission of Pythium aphanidermatum to Greenhouse Cucumber by the Fungus Gnat Bradysia impatiens (Diptera: Sciaridae) — William Robert Jarvis, J. L. Shipp, R. B. Gardiner. Annals of Applied Biology. 1993. Cited from its abstract.
- Larval Bradysia impatiens (Diptera: Sciaridae) Potential for Vectoring Pythium Root Rot Pathogens — S. E. Braun, John P. Sanderson, Stephen P. Wraight. Phytopathology. 2011. Cited from its abstract.
- Hydrogen Peroxide for Insect and Algae Control in a Lettuce Hydroponic Environment — Vanessa Meireles Caixeta and colleagues. Journal of Agricultural Science 10(8):221. 2018. Cited from its abstract.



