Fungus gnats on houseplants: causes, identification and extermination
Fungus gnats on houseplants stem from constantly wet potting soil, and letting the surface layer dry out is the first check to make.
GGabijaUpdated 21 October 2026
Fungus gnats on houseplants are caused primarily by excessively moist potting soil rich in decomposing organic matter. According to Colorado State University Extension, adult females target wet, decaying media to deposit their eggs. These small insects belong to the family Sciaridae, with common species measuring 2-3 mm (0.1-0.1 in) in length as reported by the University of California Statewide Integrated Pest Management Program. Unchecked infestations damage fine roots, stunt growth and spread quickly between pots in indoor spaces.
Fungus gnats multiply rapidly when houseplant potting media stays damp for extended periods. According to Colorado State University Extension, high peat content and degraded organic media hold surplus water that attracts egg-laying females. A single female deposits up to 200 eggs in media crevices, which hatch in 3 days at 24 °C (3 days at 75 °F) based on data from the University of California Statewide Integrated Pest Management Program. Larvae then feed on fungi, organic debris and tender root hairs.
Check
Inspect the top 3 cm of soil (top 1.2 in of soil) where larvae reside, or place 6 mm slices of raw potato (0.2 in slices of raw potato) on the compost surface to draw out larvae within two days, as outlined by Colorado State University Extension.
Fix
Allow the compost to dry significantly between waterings to starve young larvae and deter egg laying. For active infestations, drench the medium with the microbial active substance Bacillus thuringiensis subsp. israelensis, checking the product label for application rates, as advised by the University of California Statewide Integrated Pest Management Program.
Also common
New plant arrivals and outdoor transfers
Fungus gnats often enter indoor areas inside colonized potted plants brought indoors from outdoor spaces or newly acquired pots from retail shops. Observations from Colorado State University Extension confirm that contaminated root balls carry hidden eggs and immature larvae. Adult gnats live for 7 to 10 days, flying between neighbouring pots to expand the colony, according to Colorado State University Extension.
Dense populations of mature larvae reach up to 9 mm (0.4 in) through four instars within the upper compost. When organic matter runs low, heavy larval feeding causes direct root damage that leads to wilting, poor vigour and telltale slime trails on the substrate, as documented by the University of California Statewide Integrated Pest Management Program. Larvae take 10 days at 24 °C (10 days at 75 °F) to reach the pupal stage before completing a full generation cycle in 17 days at 24 °C (17 days at 75 °F), as reported by the University of California Statewide Integrated Pest Management Program.
Check
Check for wilting despite damp compost, or look for shiny black heads on elongated clear bodies crawling through the top layer of substrate. In cool conditions, development extends to 40 days at 16 °C (40 days at 61 °F), meaning larvae remain active in the roots for longer periods as noted by the University of California Statewide Integrated Pest Management Program.
Fix
Introduce predatory soil mites such as Stratiolaelaps scimitus or Hypoaspis species into the root zone to consume larvae, following guidance from the University of California Statewide Integrated Pest Management Program. Check product labels for handling instructions and maintain treatments consistently over several weeks.
Sources
University of California Statewide Integrated Pest Management Program
One question per cause, answered in the words on the page
How long does it take to eliminate fungus gnats on houseplants?
Total eradication of fungus gnats on houseplants typically requires 2 to 4 weeks (14 to 28 days) of sustained treatment according to Colorado State University Extension. Because adults live for 7 to 10 days and pupae do not consume soil drenches, interventions must persist until all hidden eggs hatch and pupae emerge as adults, as documented by Colorado State University Extension.
How do I identify fungus gnats on houseplants compared to shore flies?