What Causes Swarms of Gnats and How to Stop Them

A swarm of gnats usually means a damp spot nearby has turned into a nursery for their larvae. Outdoor clouds that hover in one place are mostly about mating, not about you.1Insect Reproduction. Swarm-Based Mating Systems But “gnat” covers many different tiny flies, and the right fix depends on which one you have and where it breeds.2Wikipedia. Gnat – Wikipedia The lasting solution is to dry out or treat that breeding spot, since swatting adults rarely ends the problem.

Why Gnats Gather in Clouds and Surge After Rain

Many small flies form aerial swarms that work as mating gatherings, not feeding groups.3Cambridge Core. Mate choice and species isolation in swarming insects Males hover over a visible marker, such as a bush, a post, or a person’s head, and females fly in to find them.1Insect Reproduction. Swarm-Based Mating Systems

You can usually tell a mating swarm from a breeding problem by what the gnats are doing. A column bobbing in one spot at dusk is typically a mating swarm. Gnats crawling on houseplant soil or around a sink point to indoor breeding. A recurring swarm in one place is about the landmark, not a sign that the ground beneath it is infested.

The big surges come with weather. Heavy rain and humidity leave puddles, damp mulch, and soaked lawns where gnats lay eggs.4Torpedo Mosquito & Gnat. Why Gnats Suddenly Appear in Large Numbers Around Your Home Warm weather speeds up their life cycle, so eggs hatch faster.4Torpedo Mosquito & Gnat. Why Gnats Suddenly Appear in Large Numbers Around Your Home Face gnats breed in open, grassy areas and boom in moist, humid summers.5Earth’s Best. Heavy Rains Lead to Gnat Swarms Warm nights and a long warm fall let insects squeeze in extra generations.6The Augusta Chronicle. Symptoms of climate change such as extreme heat can impact insect activity In Pennsylvania, high rivers after heavy rain stopped crews from treating streams for black flies, and numbers rose.7WJAC. Experts: Warm, wet weather prompts surge of gnat populations; more bees & stinkbugs coming

Surges seem sudden because eggs laid after rain hatch and mature unseen in soil or water, and then the adults emerge together within a short span. Drying weather breaks the cycle. The cloud you notice this week often reflects the wet spell from a week or two earlier, which is why spraying the cloud does little to the next wave already developing.

Which Gnat Are You Dealing With

A quick location check usually settles it. Watch where the gnats rise from when you disturb an area. Tap a potted plant and see whether flies lift off the soil. Tape a clear bag over a drain overnight and look for flies inside it. Outdoors, note whether they bite or just hover.

Location is a strong clue but not proof, because a fruit fly can wander into a bathroom and a fungus gnat can drift to a window far from any plant. Body shape helps. Fruit flies are stockier and often tan with red eyes, fungus gnats are slim, dark, and mosquito-like with long legs, and drain flies look like tiny moths with hairy wings. Flight style differs too: fungus gnats are weak, wobbly fliers, while drain flies hop and flutter short distances along walls near the drain. If you still can’t tell, catch a few on a piece of clear tape and compare them with photos from a university extension site.

Some gnats are more than a nuisance. Eye gnats can spread germs, including those behind pink eye.11EDIS. Eye Gnats, Grass Flies, Eye Flies, Fruit Flies Liohippelates spp. (Insecta: Diptera: Chloropidae) They also cause real discomfort and stress for people and animals.12Journal of Integrated Pest Management. Eye Gnat (Liohippelates, Diptera: Chloropidae) Biology, Ecology, and Management: Past, Present, and future Fungus gnat larvae can harm plant roots and spread root diseases.13Greenhouse Management. Fighting fungus gnats

How to Stop Fungus Gnats in Houseplants

Soil moisture and organic matter feed them. Almost no fungus gnats survive in plain peat or coir without extra food.14HortScience. Effect of Soilless Potting Media and Water Management on Development of Fungus Gnats (Diptera: Sciaridae) and Plant Growth Add food like yeast, though, and over half of eggs reach adulthood.14HortScience. Effect of Soilless Potting Media and Water Management on Development of Fungus Gnats (Diptera: Sciaridae) and Plant Growth Survival was highest in moderately moist mix and lower in the wettest and driest.14HortScience. Effect of Soilless Potting Media and Water Management on Development of Fungus Gnats (Diptera: Sciaridae) and Plant Growth So letting the top of the soil dry between waterings helps.

To check, push a finger a couple of inches into the soil and water only when that depth feels dry, since the surface can look dry while the layer below stays wet. Most common houseplants tolerate this, but moisture-loving ones such as ferns shouldn’t dry out completely, so cut back only as far as the plant allows. Empty the saucer after watering, because standing water keeps the lower soil wet and gives larvae a steady home. Watering from below for short periods and letting the pot drain fully keeps the top layer, where larvae feed, drier.

Bti is a bacterium, sold in products like Mosquito Bits, that kills only fly larvae, including fungus gnats.15Pest Management Science / Insects / Extension Publications. What Causes Swarms of Gnats and How to Stop Them It works mainly on the youngest larvae and stays active only about two days.15Pest Management Science / Insects / Extension Publications. What Causes Swarms of Gnats and How to Stop Them So two or three applications are often needed, started before numbers build.15Pest Management Science / Insects / Extension Publications. What Causes Swarms of Gnats and How to Stop Them Weekly Bti drenches kept fungus gnat numbers among the lowest in trials.16New Zealand Plant Protection. Preventative treatments for control of fungus gnats and shore flies

To use it, soak a pinch of the granules in water for a short time, then use that water to wet the soil so it reaches the larvae where they live. A single drench isn’t enough; repeating it on a schedule covers each new batch of hatchlings. It targets fly larvae, so used as the label directs it is considered low-risk for the plant, the pets, and the people in the house.

Beneficial nematodes are microscopic worms that hunt larvae in soil.17Biological Control. Control efficacy of fungus gnat, Bradysia impatiens, enhanced by a combination of entomopathogenic nematodes and predatory mites They work better against older larvae than Bti does.17Biological Control. Control efficacy of fungus gnat, Bradysia impatiens, enhanced by a combination of entomopathogenic nematodes and predatory mites In greenhouse plants, one species cut larvae as well as a chemical insecticide.18Biological Control. Use of entomopathogenic nematodes and a new monitoring technique for control of fungus gnats, Bradysia coprophila (Diptera: Sciaridae), in floriculture

What you put on top of the soil matters too. Sand or diatomaceous earth did not stop gnats from emerging or laying eggs.19PubMed Central. Ecology of Fungus Gnats Bradysia spp. in Greenhouse Production Systems Associated with Disease-Interactions and Alternative Management Strategies These layers crack or have gaps that larvae and females slip through.20PubMed. Effect of Diatomaceous Earth and Trichoderma harzianum T-22 (Rifai Strain KRL-AG2) on the Fungus Gnat Bradysia sp. nr. coprophila (Diptera: Sciaridae) A thick layer, about 3 cm, of small glass pebbles reduced or delayed emergence.21HortScience. Effect of a Physical Barrier on Adult Emergence and Egg Survival Associated with the Fungus Gnat, Bradysia sp. nr. coprophila (Diptera: Sciaridae), under Laboratory Conditions

A houseplant plan: water less and use pots with drainage, and set out yellow sticky cards to catch adults and track progress. Drench the soil with Bti water weekly for a few weeks. Add nematodes if larvae persist, and repot badly infested plants in fresh mix.

How to Stop Drain Flies and Fruit Flies Indoors

Drain fly larvae live in the slimy film of grease, soap, and food on drain walls.22Southland Organics. How to Get Rid of Drain Flies for Good (Sink & Sewer Flies) They feed and develop there in kitchen, shower, toilet, and sink overflow drains.8PNW Extension Publication. Integrated Pest Management of Nonbiting Flies in Schools Pouring something down quickly often misses them, so the slime has to be scrubbed off. Gnats you see near a drain at night or in the morning are often adults resting, so check the drain itself and not only the air around it.

For a thorough clean, use a long, narrow brush, ideally one made for pipes, and scrub the walls as far down as you can reach. Rinse the loosened slime away with hot water. Don’t forget the overflow opening near the top of a sink or tub, which collects slime that never gets flushed. Treat guest bathrooms and basement floor drains too, since a rarely used drain dries out and builds slime unnoticed. Repeat every few days for about a week, because eggs and pupae that survive the first scrub will hatch afterward. If the area around a drain stays wet, look for a slow leak under the sink, since that dampness can support larvae even after the drain is clean.

Fruit flies are a different job. Apple cider vinegar smells like overripe fruit and draws them in, and a drop of dish soap breaks the surface so they sink and drown.9ChemMatters. Smells Like Trouble Fill a small dish with vinegar and a drop of soap, and set it near fruit bowls or bins. The trap catches adults, but throwing out overripe produce and emptying bins often is what ends the breeding.

How to Keep Gnats Away Outdoors

In field tests, DEET cut eye gnats landing to about 1 per test versus 71 without it.23Clemson OPEN. Biology, Ecology and Control of Eye Gnats in an Open Pine Ecosystem Lemon eucalyptus oil and picaridin also reduced eye gnats.23Clemson OPEN. Biology, Ecology and Control of Eye Gnats in an Open Pine Ecosystem For biting midges and black flies, picaridin, IR3535, or oil of lemon eucalyptus can protect better than DEET alone.24PubMed. Chemical and Plant-Based Insect Repellents: Efficacy, Safety, and Toxicity

Put repellent on exposed skin, especially around the neck, ears, and hairline, because gnats go for the face and not covered areas. Take care near the eyes, since eye gnats hover there and many repellents sting; apply to your hands first, then your face, avoiding the eye area. Reapply according to the label, as repellents wear off with sweat and time.

In the moment, a few habits help. If a cloud forms over you, walk ten or twenty steps away, because you may be acting as the marker and the males will often stay behind. Wear sunglasses when eye gnats are around, since a physical barrier doesn’t depend on a product. A fan on a patio helps because tiny flies struggle to fly in moving air, and it gives you a bug-free place to sit. The hour around dusk near water is often the worst time, so move evening activities to a breezy spot away from the shoreline.

Reducing breeding spots helps over the longer term. Better drainage and careful choice of ground surfaces and plants reduce biting midge breeding.25Sustainability. The Effects of Landscape Elements on the Breeding Sites of Bloodsucking Midge For midges, drainage matters most, so fix spots where water stays in the soil after rain and avoid planting moisture-loving groundcover right beside patios. Pond midges thrive on algae and nutrient-rich still water, so aerating ponds and planting shorelines to absorb runoff cuts their food.26Clarke. What’s a Midge Fly – and How Can You Control Them? Bti dunks in standing water, such as a rain barrel, kill black fly and mosquito larvae.15Pest Management Science / Insects / Extension Publications. What Causes Swarms of Gnats and How to Stop Them They last only as long as the label says, so replace them on schedule.

After rain, walk the yard. Empty buckets, saucers, and clogged gutters, rake out soggy mulch, and fill low spots that hold water. Expect numbers to drop as the weather dries.

Do Light Traps Help

Mushroom fungus gnats’ eyes are most sensitive to UV and green light.27PubMed Central. In search of the spectral composition of an effective light trap for the mushroom pest Lycoriella ingenua (Diptera: Sciaridae) So traps with these colors can draw in adults. A trap can catch a satisfying number, but the adults it catches are only the visible portion. Larvae in soil or drains keep producing new ones, so numbers rebound unless the source is treated. That makes a trap most useful as a gauge: if the catch shrinks week by week, your soil or drain treatment is working.

Put an indoor trap near the plants or drain where you see the flies, and keep it low, since fungus gnats are weak fliers that stay near the soil. Set it away from windows so daylight doesn’t compete with the light and you don’t draw outdoor insects in. At night, turn off other bright lights in the room where you can, so the trap is the strongest attraction. Outdoors, bug zappers draw insects from a wide area, so they’re a poor fit for a gnat problem.