How to Get Rid of Fungus Gnats in Houseplants

The best way to control fungus gnats in houseplants is to interrupt their life cycle. Let the upper part of the potting mix dry between waterings when the plant tolerates it, remove standing water, use yellow sticky traps to monitor adults and apply an appropriately labeled larval control only if needed.

These small flies are often more annoying than harmful to established houseplants, but a persistent infestation can indicate an overly moist growing environment. Controlling moisture and addressing breeding sites is more useful than chasing individual flies around a room.

Identify the insects before treating the plants

Fungus gnats are small, delicate flies commonly seen near moist potting mix. Adults may walk across the soil surface or fly up when a pot is disturbed. Their larvae develop in moist organic material and feed on fungi and other organic matter; they can also damage susceptible roots, particularly in young plants.

Not every small fly near a houseplant is a fungus gnat. Fruit flies may be associated with overripe produce or other fermenting material, while drain flies can originate from buildup in drains. Inspect the locations where the insects are most active.

If insects consistently appear around the surface of a damp houseplant container, examine the growing mix and nearby pots.

Change the watering routine

Indoor houseplants with a yellow sticky trap near the growing medium

Check moisture before watering instead of automatically following a weekly schedule. For plants that tolerate some drying, let the upper portion of the growing mix dry appropriately between waterings. The right interval depends on the species, temperature, light and container.

Do not use a rule that forces every houseplant to dry out completely. Plants that prefer consistently moist conditions need management suited to their requirements. Keep their mix appropriately moist while avoiding unnecessary saturation.

Make sure pots have suitable drainage. After watering, remove water that collects in saucers or decorative outer containers. Check that a dense or degraded growing medium is not remaining wet for an unusually long period.

Use sticky traps to monitor adult activity

Place yellow sticky cards according to the product instructions near the affected potting mix. They can help you identify which plants have the greatest adult activity and whether the problem is declining. Replace the cards when necessary and keep them away from children, pets and leaves that could become stuck.

Sticky traps capture adults, but they do not directly solve the larval problem in the growing medium. Use them together with better moisture management instead of relying on them as the only treatment.

For a simple monitoring routine, date each card and observe it after the same interval. You do not need to count every insect precisely; the important point is whether repeated observations show a sustained decline.

Address the larvae if the problem persists

A close view of a yellow sticky card used to monitor fungus gnats

When appropriate moisture management and adult monitoring are not enough, a product specifically labeled for fungus gnat larvae in your indoor growing situation may be an option. Products containing Bacillus thuringiensis israelensis, often called Bti, can be useful when their label permits that use.

Choose a formulation registered or authorized for the intended purpose in your location, and follow its directions for application, frequency, handling and storage. Do not assume that every product containing the same organism is intended for houseplant containers. Avoid homemade pesticide mixtures and treatments that are not labeled for your situation.

Continue observing the plants after treatment. Since adult traps and larval measures address different life stages, ongoing monitoring is valuable.

Find and correct hidden sources of moisture

Check other houseplants, seed-starting trays, stored damp potting mix and any containers where organic material has become wet. An infestation can continue if one breeding source is overlooked.

Clean up fallen leaf material on the surface of the soil when doing so suits the plant. Store unused growing medium as directed by its manufacturer and avoid leaving open bags where they will become wet. Review the watering needs of each plant individually rather than treating a whole collection identically.

If the mix is severely compacted or otherwise unsuitable, consider repotting at an appropriate time. Repotting every affected plant is not automatically necessary.

Frequently asked questions

Will fungus gnats disappear if I stop watering?

Not necessarily, and prolonged withholding of water can harm your plants. Adjust watering to reduce excessive moisture while meeting each plant's needs.

Do yellow sticky traps kill fungus gnat larvae?

No. They mainly catch adult flying insects. They help with monitoring and adult suppression, while moisture management and appropriate larval controls address the breeding environment.

Why do fungus gnats keep coming back?

Common reasons include persistently moist growing medium, standing water and an overlooked breeding source in another pot. Recheck the entire plant collection and compare adult activity over time.

For identification and control details, consult the University of California Statewide Integrated Pest Management Program's fungus gnat guidance and the University of Minnesota Extension's guide to indoor plant insects.