Make sure the insects are fungus gnats
If you are asking how to get rid of gnats in plants indoors, first check that the small flies are actually fungus gnats. Adults are tiny dark flies often seen near moist potting mix. They may hover around houseplants or fly up when a pot is moved. Shore flies can also occur around wet growing areas, while drain flies are associated with plumbing residue. Identifying the source prevents you from treating the wrong place.
Fungus gnat larvae live in moist organic growing media and feed on fungi and decaying material; heavy populations can also bother roots or seedlings. Wisconsin Horticulture distinguishes fungus gnats from shore flies and recommends managing conditions that support them. A few adults do not necessarily mean the plant is seriously damaged, but a persistent cloud of flies calls for checking the soil and watering routine.
Let the surface dry between waterings
Review how often the plant is watered and whether the pot drains. Many houseplants tolerate the upper portion of the mix drying between waterings, but the right moisture level depends on the species. Do not leave plants standing in full saucers or decorative cachepots. Empty excess water after the pot has drained.
Avoid letting a moisture-loving plant dry out completely just to reduce gnats. Instead, water according to that plant's needs while allowing the surface to dry when appropriate. Smaller plants in bright rooms can dry at a different rate from large plants in low light. Check the soil rather than following a fixed weekly schedule.
Remove dead leaves, spilled potting mix, and other decaying material from the pot and nearby surfaces. Clean the saucer and the outside of the container. If a potting mix stays wet for a long time, consider whether the container is too large, the drainage holes are blocked, or the plant needs a more suitable mix.
Monitor adult and larval activity
Yellow sticky cards placed near the soil can help monitor adult fungus gnats. They catch some flying adults but do not eliminate larvae in the pot. Keep cards away from pets and children, and replace them as directed. Count or note the captures over time to see whether the population is declining.
To check for larvae, place a small piece of raw potato on the surface of the mix for a short period, then inspect beneath it and discard it in a sealed bag. This is a monitoring technique, not a complete treatment. Remove the test piece promptly so it does not become another source of decaying material.
If a plant is badly infested and can tolerate repotting, replace the old mix and clean the container before replanting. Do not repot a stressed plant automatically; transplant shock may create a new problem. If you do repot, use fresh mix and a clean pot with drainage, then adjust watering to the plant's requirements.
Reduce the breeding source
For how to get rid of gnats in plants indoors, focus on the potting mix and conditions rather than spraying the room. Keep bags of unused potting mix sealed and dry. Do not reuse contaminated mix for seed starting or new plants. Empty plant saucers, avoid leaving water in decorative pots, and clean spills promptly.
Quarantine new plants and inspect their soil before bringing them into a collection. If several plants are affected, treat them as a group by checking each pot, but do not assume every plant needs the same watering interval. Separate the most infested pot while you monitor it, especially if it is near seedlings or sensitive plants.
Consider labeled products only when needed
Some biological or chemical products may be labeled for fungus gnat larvae in houseplants, but products differ in active ingredient, permitted use, and directions. Read the complete label and confirm that it permits indoor use on the plant or growing medium. Do not pour an outdoor product into an indoor pot or use a concentration from an online recipe.
“Natural” treatments can still harm plants, pets, or people. Avoid essential-oil mixtures, dish-soap recipes, and repeated insecticide use unless a reliable label supports that application. Follow ventilation, protective equipment, and re-entry directions. If you cannot identify the pest or the infestation continues, consult a local extension service or a qualified plant professional.
A practical indoor routine
- Identify the fly and check whether it is associated with potting mix.
- Adjust watering to the plant while letting the mix surface dry when appropriate.
- Empty saucers and remove decaying leaves or spilled soil.
- Use sticky cards to monitor adults and inspect the soil for larvae.
- Choose a labeled control only if sanitation and moisture management are not enough.
The most useful answer to how to get rid of gnats in plants indoors is to interrupt the conditions that support the next generation. Keep the soil suited to the plant, remove decaying material, and monitor both adults and larvae. Continue checking after the visible flies decline so they do not return unnoticed.
Give the routine time to work
When following how to get rid of gnats in plants indoors, continue monitoring after the adults become less visible. Larvae in the mix may take time to decline, so keep correcting moisture and removing decaying material.
Use how to get rid of gnats in plants indoors as a source-control plan rather than a one-time spray. Check every nearby pot, keep saucers empty, and reassess the soil before watering.