Fungus gnats are strongly associated with damp potting soil, but adults can appear in a home even when you do not keep houseplants—if larvae are breeding in another moist organic site such as a drain film, a forgotten damp pot, a dirty garbage area, or similar debris. The fix is still the same idea: identify the insect, find the moist breeding source, and remove it.
Humidity alone does not tell you where they breed. Fungus gnats, drain flies, and fruit flies need different searches.
First, confirm what you have
- Fungus gnats: slender, dark, mosquito-like flies; often rise from damp media or gather at windows.
- Drain flies: fuzzy, moth-like flies near sinks and showers.
- Fruit flies: usually tan; check fermenting food and recycling.
See gnats in a room with no food, aphids vs fungus gnats, and Maryland Extension’s ID guide.
Non-plant sources to check
- Drains and traps: organic film inside drains can support drain flies and sometimes fungus gnats. Clean mechanically; do not rely on DIY disinfectant pastes—see gnats in the drain (corrected guidance) and Maryland Extension — Drain Flies.
- Hidden or occasional plants: a single overwatered pot, greenhouse window tray, or gift plant you forgot.
- Organic debris: damp trash, recycling residue, under-sink leaks, condensate pans (accessible per appliance instructions).
- Entry from outdoors: adults can wander indoors; traps alone will not stop new arrivals if screens are damaged.
Maryland Extension notes fungus gnats breed in moist soil/organic matter and can also breed in drains with moist debris; management starts with finding the source, drying soil when plants are involved, sticky cards, and labeled Bti if needed. Source: Maryland Extension — Fungus Gnats.
Getting rid of them (plant-free or plant-present)
- Find and clean the moist organic site.
- If any pots remain, let the surface dry between waterings; empty saucers.
- Use yellow sticky cards to monitor adults.
- For soil larvae, prefer a Bti product labeled for fungus gnats—see also mosquito dunks in potted plants only as that product’s label allows.
- Do not use outdoor-only products such as many Sevin formulations indoors (does Sevin kill fungus gnats).
- Do not treat spinosad as automatic indoor fungus-gnat control unless the label lists the pest and site (spinosad for fungus gnats).
What to avoid
- Advice credited to unnamed “pest control experts” instead of extension services or product labels.
- Improvised vinegar soil drenches or mixed household-chemical drain recipes.
- Air fresheners as insecticides.
Frequently asked questions
What attracts fungus gnats besides plants? Moist organic matter—drain film, damp debris, and wet media.
How do I identify small black flies? Compare body shape and location (soil vs drain vs fruit); photograph and ask extension if unsure.
Do fungus gnats harm people or pets? They are primarily nuisance pests indoors; focus on source removal rather than fear-based claims.
How do I disrupt the life cycle? Remove moist breeding sites so larvae cannot develop; adult trapping alone is incomplete.