Gnats in Your Yard: What They Are and How to Stop Them
Clouds of gnats in your yard almost always trace back to moisture: fungus gnats breed in damp soil and mulch, fruit flies gather around fallen fruit and compost, and biting no-see-ums or black flies come from standing or moving water. Whether they bite, where they cluster, and the time of day they appear will tell you which one you have — and the real fix is removing whatever breeding source is feeding them.
Most likely causes
- Fungus gnats — weak fliers drifting over damp soil, mulch, or overwatered pots
- Fruit flies — hovering around fallen fruit, compost, or trash cans
- No-see-ums (biting midges) — tiny, hard to see, and they DO bite at dawn and dusk
- Black flies (buffalo gnats) — humpbacked biters that come from nearby moving water
- Drain flies — fuzzy little flies breeding in moist organic gunk
Not quite what you're seeing? Answer four quick questions and the clue finder will point you to a closer match.
Compare the possible causes
| Possible cause | Key signs | When it happens | How likely |
|---|---|---|---|
| Fungus gnats | Tiny dark, delicate flies that drift weakly just above damp soil, mulch, or potted plants and don't bite | Year-round outdoors in warm, wet weather; worst around overwatered beds and containers in summer | Very common |
| Fruit flies | Small tan flies with red eyes clustering around fallen fruit, compost, or a garbage can rather than over the lawn | Late summer and fall when fruit ripens and drops; anytime near an open compost pile | Common |
| No-see-ums (biting midges) | Almost invisible specks that deliver a sharp, out-of-proportion bite, usually near still water | Dawn and dusk in warm months, heaviest in humid weather and near ponds, birdbaths, or wet drainage | Common |
| Black flies (buffalo gnats) | Small, humpbacked biting flies that swarm your head and bite exposed skin, near creeks or rivers | Spring into early summer, worst near clean, moving water | Less common |
| Drain flies | Small, fuzzy, moth-like flies near a clogged drain, wet outdoor sink, or persistently soggy organic matter | Any warm, humid stretch where moist organic gunk builds up | Less common |
| Swarms of male midges | A shifting cloud of small flies hanging in one spot in the air, usually near dusk, that never bites | Warm evenings in spring and summer | Common |
Visual clues to check
- Ask first: are they biting you? If yes, suspect no-see-ums or black flies; if no, think fungus gnats, fruit flies, or midges
- Note where they cluster: over damp soil and mulch (fungus gnats), around fruit and compost (fruit flies), near water (biters)
- Check the time of day: biting midges and black flies peak at dawn and dusk, while mating clouds hover in the evening
- Look at how they fly: weak drifters that scatter when you wave are usually fungus gnats or drain flies
- Scan for standing water: birdbaths, saucers under pots, clogged gutters, and low wet spots are the usual breeding grounds
- Watch a hovering cloud: if it stays in one airborne spot and never lands on you, it's likely harmless male midges
The causes in detail
Fungus gnats
Fungus gnats are the classic non-biting yard gnat. Their larvae feed on fungus and decaying matter in constantly wet soil, so you'll see the adults hovering low over mulch, flower beds, and pots that stay soggy. They're annoying but harmless to people, and they vanish once the soil surface is allowed to dry out between waterings.
Fruit flies
Fruit flies are drawn to fermenting sugars, so they concentrate under fruit trees, around dropped tomatoes, and near compost or recycling bins. They don't bite. Cleaning up fallen fruit and keeping compost covered removes the buffet, and the swarm usually thins within days.
No-see-ums (biting midges)
These are the culprits behind the "biting gnats in yard" search. No-see-ums are so small they slip through ordinary window screens, and their bite stings far more than their size suggests. They breed in wet soil and standing water and are most active in the calm hours around sunrise and sunset — which is exactly when you'll want long sleeves.
Black flies (buffalo gnats)
Unlike no-see-ums, black flies need flowing water to breed, so they're a problem for yards near streams, rivers, or fast drainage ditches. They swarm around the head and can leave itchy welts. There's little you can do about their breeding source on your own property, so personal protection and avoiding peak times matter most here.
Drain flies
Drain flies breed in the film of decaying organic matter that lines slow drains, birdbaths, and standing water. They're weak fliers and don't bite. Flushing and scrubbing the source removes the breeding film and the flies with it.
Swarms of male midges
Those hovering columns of "gnats" over your driveway or a shrub at dusk are often harmless male midges gathering to attract mates. They don't bite, don't feed on you, and drift off on their own. If you're seeing dense mating clouds rather than biting insects, that's a different, benign situation.
When to worry
- Bites that raise large welts or an area of intense swelling, especially if you feel unwell
- Gnats swarming indoors from a houseplant or soggy potted plant, which points to a fungus gnat breeding source you're carrying inside
- A persistent biting swarm every dawn and dusk that keeps you from using the yard
- Standing water you can't drain, such as a chronically wet low spot, that keeps regenerating biting midges
What to do now
- Find and remove the moisture source — this is the real fix, not spraying the air
- Let soil, mulch, and potted plants dry between waterings so fungus gnat larvae can't survive
- Empty standing water weekly: birdbaths, plant saucers, buckets, clogged gutters, and low puddles
- Cover compost and clean up fallen fruit to starve out fruit flies
- Improve drainage in soggy areas so biting midges lose their breeding ground
- For biting no-see-ums at dusk, cover up with long sleeves and use fine mesh screening on porches
- If a chronic wet spot keeps producing biters and you can't drain it, ask a landscaper or drainage professional to assess it
What not to do
- Don't just spray insecticide into the air — the swarm you see is replaced by the breeding source you didn't touch
- Don't keep overwatering plants; constantly wet soil is what feeds fungus gnats in the first place
- Don't ignore standing water; even a saucer or a clogged gutter can breed thousands of gnats
- Don't scratch biting-midge welts open, which invites infection
Frequently asked questions
Why are there so many gnats in my yard?
Gnats multiply wherever there's moisture and decaying organic matter — damp soil, overwatered pots, standing water, fallen fruit, or a wet compost pile. A big population almost always means an ongoing breeding source nearby rather than gnats simply passing through. Find and dry out or remove that source and the numbers drop fast.
Do yard gnats bite?
Some do and most don't. Fungus gnats, fruit flies, drain flies, and the clouds of mating midges are harmless and won't bite. The biters are no-see-ums (biting midges) and black flies, which are most active at dawn and dusk near standing or moving water.
What's the difference between a biting gnat and a harmless one?
It mostly comes down to what they breed in and when they're active. Biting midges and black flies come from water and target exposed skin around sunrise and sunset. Non-biting gnats hover over damp soil, fruit, or gunk and ignore you entirely.