Plant Problem Lab
All articles
PestsUpdated October 25, 20263 min read

Fungus Gnats in Houseplants: Find and Treat the Source

Small dark flies running over potting mix and rising when you water are often fungus gnats. The adults are a nuisance; the larvae live in damp mix. Treating the flies alone leaves the next generation behind.

Confirm where they are breeding

Check each nearby pot, including plants without obvious leaf damage. Adults near a window may have come from a different pot. The wettest container is worth inspecting, but it is not automatically the source.

Place a yellow sticky card close to each suspected soil surface and label it with the date. Look for adults resting on the mix. For a closer larvae check, lay a small raw potato piece cut-side down on the surface and inspect underneath after a day or two. Fungus gnat larvae have translucent bodies and a dark head. Remove the potato afterward so it does not become more decaying material. UC IPM describes both monitoring methods.

Flies concentrated around fruit, a drain, or a trash container may be a different insect. Check that source before treating the plants.

Remove the conditions supporting them

Empty saucers and decorative pots, clear dead leaves off the mix, and fix blocked drainage. Let the surface dry between waterings to the extent the plant allows. A fern still needs moisture around its roots; forcing it bone dry to kill larvae trades a pest problem for drought damage.

If the entire pot stays wet and the plant is yellowing or wilting, also use the overwatering checks. Gnats alone do not diagnose root rot. Minnesota Extension notes that larvae can injure roots, especially on seedlings, while adults do not feed on the plant.

Keep infested pots separate from unaffected plants during treatment. Store spare potting mix closed and clear up damp organic debris nearby.

Treat the larvae if the outbreak persists

For continuing activity, choose a treatment intended for fungus gnat larvae in potting mix:

  • Bti: Bacillus thuringiensis subspecies israelensis acts on the larval stage. The Bt sold for caterpillars is different. Use a product whose label covers fungus gnats and the way you will apply it to houseplant mix; a mosquito product name alone does not establish that use.
  • Beneficial nematodes: Steinernema feltiae is used against fungus gnat larvae. It is a live product, so storage, application temperature, and the mix's moisture matter. Follow the supplier's instructions.

UC IPM's biological control guidance covers these options. Follow the chosen product's dose and repeat interval; there is no single recipe for all formulations. Incorporate any treatment watering into the plant's moisture needs rather than adding an unrelated daily drench.

Use the traps to check progress

Replace filled or dusty cards and compare catches over similar periods. Write the replacement date on each card so an old crowded trap is not mistaken for a fresh outbreak.

A pot can contain eggs, larvae, pupae, and adults at the same time. In warm conditions a generation can develop in a few weeks, so adults may continue emerging after the first larvae treatment. Continue the labeled treatment course and monitoring rather than stopping at the first quiet day.

If catches are not falling, inspect all pots again and check the treatment identity, application, and wet organic material nearby. Fresh adults may be coming from a missed container rather than surviving on the plant you have already treated.

Related guides