If small black flies keep drifting up out of your houseplants or circling the window, they are almost certainly fungus gnats. They show up most in late fall and winter (Colorado State University Extension), and the cause is nearly always the same: potting mix that stays wet. The fix is mostly about water, not sprays.
What fungus gnats are
Adults are about 1/8 inch long, delicate black flies with long legs and antennae, and they are weak fliers that move in short, erratic patterns (Colorado State University Extension). You usually notice them flying around lamps and windows (University of Wisconsin-Madison Extension). They look like fruit flies but are not the same insect (University of Minnesota Extension).
The larvae are pale, worm-like maggots with a black head (University of Wisconsin-Madison Extension), and they live in the top 2 to 3 inches of the potting mix (Colorado State University Extension).

Why they show up in winter
Colorado State University Extension says fungus gnats are most noticeable in late fall and winter, and that the main reason is moisture. Plants use less water in fall and winter, so if your watering does not change, the mix stays moist and the larvae do well (Colorado State University Extension). Mix with a lot of peat moss is especially attractive to egg-laying females (Colorado State University Extension).
Plants that spent the summer outdoors can also bring gnats in with them when they come back inside in fall (University of Wisconsin-Madison Extension). University of Illinois Extension puts it simply: gnats are a good sign the mix is too moist (University of Illinois Extension).
Do they hurt your plants?
Usually not. Adults do not feed on or damage plants (University of Wisconsin-Madison Extension), and they do not bite (Colorado State University Extension). The larvae feed mostly on fungi and decaying organic matter. In very large numbers they can feed on root hairs or tunnel into roots, but that damage is rare in a home (University of Wisconsin-Madison Extension).
Iowa State University Extension says high numbers can stunt seedlings and young plants (Iowa State University Extension), and University of Missouri Extension says heavy infestations can wilt and kill plants (University of Missouri Extension). University of Minnesota Extension adds that when a plant with gnats is declining, root rot from overwatering is likely part of the problem too (University of Minnesota Extension). If that sounds like your plant, see why a potted plant wilts after watering.
Let the top of the mix dry out
This is the fix that matters. Let the top inch of the mix dry before you water again (University of Wisconsin-Madison Extension). Colorado State University Extension says to let the mix dry between waterings, especially the top 1 to 2 inches (Colorado State University Extension). Wisconsin calls reducing moisture the single most important step.

Two habits help:
- Water from the bottom. It gets water to the roots and keeps the surface dry (University of Wisconsin-Madison Extension).
- Empty the saucer. Larvae can survive in drainage trays under the pot (Iowa State University Extension).

Check for larvae with a potato slice
Push a thin slice of raw potato, about 1/4 inch thick, into the soil surface (Colorado State University Extension). Larvae come up to feed on it (University of Wisconsin-Madison Extension). After three to four days, turn the slice over and look for larvae on the underside (University of Wisconsin-Madison Extension, Colorado State University Extension). Repeat it after a few weeks of drier watering to see whether numbers are falling.
Use yellow sticky cards to watch the adults
Adults are drawn to yellow. Set yellow sticky cards under the leaves or on the edge of the pot (Colorado State University Extension). They catch adults and show you whether the count is going down over time (University of Wisconsin-Madison Extension). Catching females before they lay eggs means fewer larvae in the next generation (Colorado State University Extension). Cards will not solve the problem on their own, because the larvae are in the soil (Iowa State University Extension, University of Illinois Extension).

Cover the surface or repot
A 1/2 to 1 inch layer of coarse sand or fine gravel over the mix keeps the surface drier and less attractive for egg-laying (University of Wisconsin-Madison Extension). If the mix has broken down and holds too much water, repot it (Colorado State University Extension). Repotting with fresh soil in a clean container also helps (University of Minnesota Extension, Iowa State University Extension), and for a badly infested pot, discard the old mix (University of Missouri Extension).
How long it takes
At room temperature, a fungus gnat goes from egg to adult in three to four weeks (Colorado State University Extension), and adults live about a week (University of Wisconsin-Madison Extension). So expect three to four weeks of drier watering before the flies are under control (University of Wisconsin-Madison Extension). You will still see a few adults in the first week or two. That is the last generation coming out, not a sign the plan is failing.
Where the app fits
If you are not sure watering is the cause, ask Patch in the Pollinator Patch App what else could be going on with a plant. And if a houseplant starts to look wrong this winter, the problem guides walk you through what to check first.
Planning what goes in the ground this spring?
Enter your ZIP code and Pollinator Patch shows you which natives grow where you live and helps you plan the bed for spring.


