Adult fungus gnats are small, dark-bodied flies about 1/8 inch (3 mm) long that hover around houseplants and damp soil. They look like tiny mosquitoes, with long legs, segmented antennae, and a single pair of wings marked by a distinct Y-shaped vein pattern. If you’re seeing little flies lifting off every time you water your plants, these are almost certainly what you’re dealing with.
How to Tell Them Apart From Other Small Flies
Fungus gnats are easy to confuse with fruit flies and drain flies, but a few details make identification straightforward. Fungus gnats have slender, mosquito-like bodies that are dark gray to black. Fruit flies are rounder, tan or brownish, and tend to hover near ripening produce rather than soil. Drain flies are fuzzy and moth-shaped, usually found near sink drains or shower walls.
The behavior is the biggest giveaway. Adult fungus gnats are weak, erratic fliers that stay close to soil surfaces and potted plants. They’re strongly attracted to light, so you’ll often see them drifting toward windows or lamp fixtures. Fruit flies, by contrast, cluster around fruit bowls and garbage cans.
What Adult Fungus Gnats Actually Do
Adult fungus gnats do not bite, do not transmit diseases to humans, and do not directly damage plants. They’re a nuisance, not a health risk. Their sole purpose as adults is to mate and lay eggs. A single female can deposit up to 200 eggs in the top layer of moist soil, and those eggs hatch within just a few days.
The real damage comes from the larvae, not the adults. Fungus gnat larvae are tiny, translucent worms that feed on fungi, decaying organic matter, and plant roots in the soil. In large numbers, they can stunt seedlings, damage root systems, and open pathways for soil-borne diseases. So while the adult gnats buzzing around your face are harmless on their own, they signal an active breeding cycle happening in your pots.
The Lifecycle Behind the Problem
Understanding the lifecycle explains why these gnats seem to appear out of nowhere and persist for weeks. The full cycle from egg to adult takes roughly three to four weeks at typical indoor temperatures (around 70°F). Adults live only about one week, but in that short window they lay enough eggs to keep the population rolling. The eggs hatch in the soil within four to six days, and the larvae feed for about two weeks before pupating near the soil surface. A few days later, new adults emerge and the cycle restarts.
This overlapping generation structure is why you can’t solve a fungus gnat problem by swatting the adults alone. At any given time, eggs, larvae, pupae, and adults are all present in the same pot. Breaking the cycle requires targeting multiple life stages at once.
Why They Chose Your Plants
Fungus gnats thrive in moist conditions with abundant decaying organic matter. Overwatered houseplants are the single most common source indoors. Peat-heavy potting mixes, bags of soil left open in a garage, compost bins, and even damp mulch around foundation plantings can all serve as breeding sites. Greenhouses and indoor grow setups are particularly vulnerable because of the consistently warm, humid conditions.
New potting soil is a frequent culprit. Bags of soil from garden centers can harbor fungus gnat eggs or larvae before you ever open them. Repotting a plant with infested soil introduces the problem directly into your home, and the first sign is usually a cloud of tiny adults appearing a few weeks later.
How to Eliminate Adult Fungus Gnats
Yellow Sticky Traps
Yellow sticky traps are the most effective tool for catching adult fungus gnats. The bright yellow color attracts them, and a super-sticky adhesive captures any insect that lands. Place the traps at soil level, staked upright in the pot near the base of the plant but not touching stems or leaves. Position them close enough to intercept the gnats’ flight path as they take off from and return to the soil. These traps won’t solve the problem alone since they only catch adults, but they reduce the breeding population and give you a visual gauge of how severe the infestation is.
Dry Out the Soil
The most important strategy for eliminating fungus gnats is letting the growing medium dry between waterings, especially the top 1 to 2 inches. Fungus gnat eggs and young larvae cannot survive in dry soil. Water only when necessary to maintain plant health, and when you do water, avoid letting saucers collect standing water underneath the pot. For most tropical houseplants, this slight shift in watering habits is enough to collapse a fungus gnat population within a few weeks.
Good drainage matters just as much as watering frequency. Pots without drainage holes trap moisture at the bottom, creating a permanently damp zone where larvae thrive. If your pot doesn’t drain, consider repotting into one that does.
Soil-Level Barriers
A layer of coarse sand, perlite, or decorative gravel on the soil surface creates a physical barrier that discourages egg-laying. Female fungus gnats seek moist organic material to deposit their eggs, and a half-inch of dry, inorganic topping removes that cue. This approach works well as a long-term preventive measure once you’ve brought an active infestation under control.
Biological Controls
For persistent infestations, beneficial nematodes or a naturally occurring soil bacterium sold as a larvicide can be watered into the soil to kill larvae directly. These biological options are safe for plants, pets, and people, and they target the larval stage that sticky traps miss. They’re especially useful in greenhouses or homes with large plant collections where drying out every pot simultaneously isn’t practical.
How Long It Takes to Get Rid of Them
Because of the three-to-four-week lifecycle, expect to see gnats for at least a full month after you start control measures. The adults you’re seeing today developed from eggs laid weeks ago, and there are likely pupae in the soil that will emerge regardless of what you do on the surface. Consistent effort over four to six weeks, combining sticky traps with adjusted watering, typically breaks the cycle completely. If you’re still seeing fresh adults after six weeks, check for overlooked moisture sources: a drip tray hidden behind a shelf, a bag of potting soil in a closet, or a rarely checked plant in another room.