You water a houseplant, and a few tiny dark flies lift off the soil. Later, one lands near your computer screen or circles a window. You catch it, only to see another the next day.
If the flies are coming from damp potting mix, fungus gnats are a likely explanation. The adults are mostly a nuisance and do not bite. The practical solution is to make the pot less welcoming to their young, rather than chase every flying insect.
Start by checking your watering habits, improving drainage, removing decaying debris, and using yellow sticky traps to monitor adults. If the problem persists, a product labeled for fungus gnat larvae can help. You usually do not need to throw away a healthy plant or spray the room.
Make sure they really are fungus gnats
Fungus gnats are small, dark, delicate flies with slender legs and antennae. They resemble miniature mosquitoes and are commonly about 1/16 to 1/8 inch long.
You may see them running across the potting mix, resting on the pot, or fluttering up when the plant is disturbed. They are weak fliers, although they can travel between nearby pots and appear at windows or lights.
Their young look different. Fungus gnat larvae are tiny, pale or nearly transparent, wormlike creatures with dark heads. They live in the growing mix, so you may never notice them during ordinary plant care.
Not every little fly indoors is a fungus gnat. Fruit flies are often associated with overripe produce, fermenting food, recycling containers, or spilled drinks. They tend to look stockier, and many have conspicuous red eyes.
Where the flies repeatedly appear is an important clue. A few insects near a kitchen window do not prove a houseplant is responsible. Watch the potting mix during watering, and check nearby food and waste sources before choosing a treatment.
Why they keep appearing after you catch the adults
The flies you see are only one stage of the problem.
Fungus gnats pass through eggs, larvae, pupae, and adults. In ordinary indoor conditions, that cycle can take roughly three to four weeks, depending on temperature and other conditions. Several stages can be present in the same pot at once.
That explains why removing adults today does not prevent more from appearing tomorrow. Some were already developing below the surface.
Larvae feed mainly on fungi, algae, and decaying organic material in moist growing media. They can also feed on roots. A consistently damp pot gives them both a suitable place to develop and access to food.
Your goal is to interrupt that cycle. Catching adults is helpful, but it works best alongside changes that make it harder for larvae to survive.
Are they harming your plant?
For established houseplants, fungus gnats are usually more annoying than destructive. Seeing a few does not mean the plant is about to die.
Heavy populations can contribute to root injury, especially in vulnerable young plants. But yellow leaves, wilting, and slow growth can also result from overwatering, poor drainage, or root disease.
That distinction matters. If you assume a wilting plant needs more water, you may worsen the conditions that encouraged the gnats in the first place.
Check the mix before watering. A plant drooping in wet soil needs a different assessment from one with a dry root ball.
Likewise, adding fertilizer will not correct damaged roots or waterlogged conditions. Begin with the growing environment rather than trying several products at once.
Step 1: Find the pots where they are breeding
Check all nearby houseplants, not just the one where you first noticed a fly.
Look for:
- Adults walking or resting on the soil surface.
- Potting mix that stays damp for long periods.
- Fallen leaves or flowers lying on the mix.
- Water sitting in saucers or decorative outer pots.
- Seedling trays or other containers with persistently moist growing material.
A yellow sticky card near the surface of each suspected pot can help show where adults are active. Date the cards or note which pot each belongs to so you can compare them later.
If practical, move an affected plant away from the rest of your collection while you work on it. Separation makes monitoring easier, although moving one pot does not guarantee that flying adults will stay there.
If you find no activity around plants, reconsider the source. Other damp areas containing decaying organic material can support small flies, and treating a clean pot will not fix a problem elsewhere.
Step 2: Change watering without drying out the plant
Allowing the surface of the mix to dry between waterings is one of the most useful controls. The important qualification is that you should not make the plant wilt or damage its roots to eliminate an insect.
Different plants tolerate different amounts of drying. A succulent and a moisture-loving fern should not receive identical instructions.
For a plant that tolerates it, let the upper layer of mix become dry before watering again. Check below the surface as well, and use the plant’s needs—not a fixed weekly schedule—to decide when to water.
A calendar reminder can mean “check the plant,” rather than “add water.”
When watering is needed:
- Remove the nursery pot from its decorative cover, if it has one.
- Water appropriately for the plant and mix.
- Let excess water drain freely.
- Empty the saucer or outer container.
- Check moisture again before the next watering.
Do not compensate for less frequent watering by leaving the pot standing in water.
Bottom watering is not a guaranteed cure. It may help keep the surface less wet in some situations, but the mix can still remain moist enough for larvae. Drainage and the overall moisture pattern matter more than which direction the water enters.
Step 3: Remove debris and check drainage
Pick up dead leaves, spent flowers, and other loose plant debris from the surface. Clean accumulated material from saucers and shelves.
This reduces decaying material around the plant and makes it easier to inspect the pot.
Check that drainage holes are present and not blocked. A decorative container without holes can serve as an outer cover, but water should not collect around the inner pot.
If the mix remains wet unusually long, consider the whole setup. The plant may be receiving less light than it needs, the pot may be oversized, or the mix may be unsuitable.
Do not move a shade-adapted plant into strong direct sun simply to dry it faster. Provide appropriate light and drainage while adjusting watering.
You also do not need to remove every bit of organic material from potting mix. Ingredients such as bark and peat have useful roles. The aim is suitable growing conditions, not a sterile container.
Step 4: Use sticky traps for the adults
Yellow sticky cards are useful for detecting fungus gnats and catching some flying adults.
Choose cards intended for plant pests and position them according to the package directions, generally near the potting surface where gnats are active. Keep them from touching foliage, and place them where children and pets cannot reach the adhesive.
Check them regularly and replace them when they are covered, dusty, or no longer useful.
Look for a trend rather than an immediate empty card. Are fresh cards catching fewer gnats over time? Are fewer adults lifting off when you check the plant?
Traps do not reach larvae in the mix. A card covered with insects shows that it is catching adults, not that the breeding site has been corrected.
If you use traps without changing persistently wet conditions, new flies can keep replacing the ones you catch.
Step 5: Consider a labeled treatment for larvae
If improved care is not enough, or the population is particularly troublesome, a biological larvicide containing Bti may be useful.
Bti is short for Bacillus thuringiensis subspecies israelensis. Certain products containing it are labeled for controlling fungus gnat larvae in potting mix.
The exact type matters. A garden product containing a different form of Bacillus thuringiensis for caterpillars is not an interchangeable treatment.
Before buying or applying a product:
- Confirm that fungus gnats and the intended use appear on the label.
- Check whether it is suitable for your plant and indoor setting.
- Follow its preparation, application, and repeat-treatment directions exactly.
- Observe storage, handling, and child or pet precautions.
Do not borrow a mixing rate from another brand or from mosquito-control instructions. Products and permitted uses differ.
Bti targets susceptible larvae; it does not instantly remove the adult flies already in your home. Repeat applications may be needed according to the label while you continue monitoring and improving conditions.
Another option is beneficial nematodes, particularly Steinernema feltiae, sold for fungus gnat larvae. These are living biological controls, so storage, prompt use, and application conditions matter. Follow the supplier’s instructions rather than treating them like a shelf-stable spray.
For a few gnats around a healthy plant, these additional purchases may be unnecessary. Start with the simplest measures that address the breeding conditions.
Home remedies that can distract from the solution
A bowl of apple cider vinegar is a familiar fruit fly trap. It should not be your main plan for insects developing in potting mix. Correct identification comes first.
Adding a decorative layer of sand or small stones is also unnecessary for ordinary houseplant fungus gnat control. It does not replace correcting moisture below the surface.
Avoid pouring improvised mixtures of dish soap, peroxide, vinegar, or essential oils into the pot. An online recipe does not establish that a particular concentration is effective against larvae and safe for your plant.
A product labeled for use on houseplants gives you information an improvised mixture does not, including where and how it may be applied.
Room sprays and foggers also miss the main target: the immature insects living in the growing mix. Repeatedly spraying adults in flight adds work without resolving that breeding site.
If you consider an insecticide beyond Bti, get advice about the identified pest and use only a product labeled for the exact situation. Do not assume that “natural” means harmless to every plant, person, or pet.
Should you repot the plant?
Repotting can help when the current mix stays excessively wet, has broken down, or is otherwise unsuitable. It is not automatically necessary because you see two or three gnats.
Replacing all the soil can disturb roots. Aggressively washing or stripping a healthy root system may create more trouble than a small infestation.
If repotting is warranted, use fresh potting mix suited to the plant and a clean container with drainage. Do not automatically choose a much larger pot; a large volume of wet mix around a small root system can prolong the original problem.
Afterward, continue appropriate watering and monitoring. Repotting is not a substitute for fixing the conditions that allowed the population to grow.
If roots are mushy, the stem is collapsing, or the plant continues wilting in wet mix, seek help assessing the plant itself. Gnats may be accompanying a more serious root problem.
Give the plan enough time to work
Expect gradual improvement over several weeks rather than a completely fly-free room the next morning.
Keep checking the same pots, replacing traps as needed, and following any treatment schedule on the label. Avoid adding several new remedies after a single day without visible improvement.
If numbers do not decline, revisit the basics:
- Have you checked every nearby pot?
- Is water still collecting beneath a container?
- Are you watering on schedule instead of checking moisture?
- Is there another damp breeding source?
- Are the insects actually fungus gnats?
Inspect new plants before placing them among established ones. Check plants that have spent time outdoors before bringing them inside, and continue watching for insects after they arrive.
Focus on the pot, not just the flies
Fungus gnats are usually manageable with steady, practical care. Identify them, remove decaying debris, improve drainage, and allow appropriate drying between waterings. Use yellow cards to monitor adults, and consider a labeled larval treatment when needed.
The goal is to interrupt the next generation while keeping the plant healthy. A few persistent flies call for patience and a closer look at the growing conditions—not a cupboard full of homemade pesticides.
While you’re checking your plants, learn what causes white crust on potting soil and how to remove it safely. For a couple of kitchen curiosities, find out whether to stir in the liquid on top of yogurt and what that white stuff on cooked salmon is.




