Most gnats disappear in fall once nighttime temperatures consistently drop below about 50°F (10°C), though the exact timing depends on where you live and which type of gnat you’re dealing with. In much of the United States, that means gnat season runs roughly from late spring through early fall, peaking in the warmest, most humid months. But “gnat” is a loose term covering several very different insects, and some of them thrive indoors year-round regardless of the weather. Understanding which gnats you’re seeing changes both the timeline and the strategy for getting rid of them.
What People Actually Mean by “Gnats”
The word “gnat” gets applied to at least four or five different groups of tiny flies, and that ambiguity matters because each type has its own seasonal calendar, habitat, and set of control methods. The most common culprits are fungus gnats, which breed in damp potting soil and are overwhelmingly an indoor nuisance; eye gnats, which swarm around faces outdoors in warm weather; biting midges (sometimes called “no-see-ums”), which are especially fierce near coastal or marshy areas; fruit flies, which people frequently mistake for gnats; and drain flies, which breed in the organic buildup inside plumbing. When someone asks “when do gnats go away,” they usually mean the outdoor swarms near their face, but the answer for indoor fungus gnats is completely different.
The Seasonal Calendar for Outdoor Gnats
Outdoor gnat species are cold-blooded, so their activity tracks closely with temperature, humidity, and daylight. Eye gnats, for instance, correlate their flight activity with temperature, light levels, and wind speed, becoming most active in warm, still, humid conditions.1Journal of Medical Entomology. Flight of the eye gnat, Hippelates pallipes (Diptera: Chloropidae): correlation with temperature, light, moisture and wind velocity As a general rule, outdoor gnat populations start building once daytime highs regularly hit the mid-60s°F and humidity stays elevated. Peak gnat season in most of the continental U.S. falls between June and September, though in the Deep South, Gulf Coast, and desert Southwest it can stretch from April through October or even later.
Once overnight lows start dipping into the low 40s consistently, most outdoor gnat species either die off or enter dormancy. In northern states, that typically means relief arrives by mid-to-late October. In the Southeast, you might still be swatting gnats into November. And in the warmest parts of Florida, South Texas, and southern California, some gnat species remain active year-round because temperatures never stay cold long enough to break their breeding cycle.
Humidity matters almost as much as temperature. A dry spell in mid-summer can temporarily reduce gnat numbers because their larvae need moisture to develop. Conversely, a wet, warm autumn can extend gnat season well past the usual cutoff. If you’ve had heavy rain or flooding near your home, expect gnats to linger longer than the calendar suggests.
Some Gnats Can Survive Extreme Cold
The assumption that a hard freeze kills all gnats is mostly correct for common species in temperate climates, but some gnats have evolved remarkable cold tolerance. Research on fungus gnats collected in Fairbanks, Alaska found that individual gnats displayed a two-stage freezing process: their abdomens froze at roughly -30°C (-22°F) with about a 70% survival rate, while their heads and thoraxes didn’t freeze until around -49°C (-56°F), at which point survival dropped to zero.2PubMed. Simultaneous freeze tolerance and avoidance in individual fungus gnats, Exechia nugatoria The gnats managed this by dehydrating their head and thorax tissues, which prevented ice crystals from spreading between body compartments. In practical terms, this means certain northern gnat species can overwinter even in punishing subarctic conditions, re-emerging when temperatures warm in spring.
For most readers in the lower 48 states, this is mainly interesting trivia. Your local gnats are less cold-hardy. But it does explain why gnats seem to “come back from nowhere” every spring: overwintering eggs, larvae, and pupae are already in the soil or leaf litter, waiting for warmth and moisture to hatch.
Indoor Gnats Don’t Follow a Season
If the tiny flies circling your kitchen or bathroom look like gnats but never go away in winter, you’re almost certainly dealing with fungus gnats or drain flies, and the bad news is that no amount of cold weather outside will eliminate them. Fungus gnats breed in overwatered houseplant soil, where their larvae feed on fungi and organic matter. They can also damage plant roots directly and transmit plant pathogens through the soil.3Biological Control. Use of Entomopathogenic Nematodes and a New Monitoring Technique for Control of Fungus Gnats, Bradysia coprophila (Diptera: Sciaridae), in Floriculture Your heated, humidified home is a year-round paradise for them.
Drain flies, meanwhile, breed in the slimy organic film that builds up inside sink drains, shower drains, and garbage disposals. They don’t need outdoor conditions at all. As long as the drain stays gunky, the flies keep reproducing. Both of these species require indoor-specific fixes, which are covered below.
Why Gnats Swarm Around Your Face
If you’ve ever wondered why gnats seem magnetically attracted to your eyes, nose, and mouth while ignoring the rest of your body, the answer is carbon dioxide and moisture. Research on host-seeking behavior in small biting flies found that removing a person’s exhaled breath reduced their attractiveness to the flies by about 85%. When the researchers replaced the exhaled air with just the person’s equivalent COâ‚‚ output, attractiveness bounced back to roughly 90% of original levels.4Journal of Medical Entomology. Human Individuals Vary in Attractiveness for Host-Seeking Black Flies Diptera Simuliidae Based on Exhaled Carbon Dioxide Other components of breath beyond COâ‚‚ also play a role, since breath with COâ‚‚ chemically stripped out and then re-added with bottled gas was more attractive than bottled COâ‚‚ alone. But the dominant signal is the COâ‚‚ plume you exhale, which acts as a beacon.
That same study found significant variation between individuals: some people attracted far more flies than others, and COâ‚‚ output explained most of the difference. If you feel like gnats pick on you more than your friends, you might simply exhale more COâ‚‚ (which tracks with body size and metabolic rate). Sweat, body heat, and lactic acid on the skin also contribute, but COâ‚‚ is the main long-range attractant that pulls gnats toward your head from several feet away.
How to Get Rid of Outdoor Gnats
You can’t eliminate every gnat outdoors, but you can substantially reduce their numbers around your home and make your yard and patio far more comfortable. The strategies fall into a few categories.
Remove Breeding Habitat
Most outdoor gnats breed in moist, decaying organic matter. Practical steps include emptying standing water from birdbaths, gutters, and plant saucers at least weekly; clearing fallen fruit from under trees; removing or turning compost piles that sit close to your patio; and avoiding over-mulching garden beds near the house. Even a thin layer of consistently soggy mulch is a nursery for gnat larvae. Letting the top inch or two of soil dry between waterings can cut gnat reproduction significantly, because their eggs and young larvae can’t survive without moisture.
Use Fans and Airflow
Gnats are weak fliers. A box fan or an oscillating pedestal fan on a porch or patio can create enough air movement to keep them from hovering around you. Eye gnat activity drops sharply in windy conditions, so even a modest breeze from a fan makes your seating area much less appealing to them.
Repellents That Actually Work
For personal protection against biting midges and other small gnats, DEET-based repellents remain the gold standard. In controlled testing, DEET was consistently the most effective repellent in olfactometer assays. Lemon eucalyptus oil was the best-performing plant-derived option. Interestingly, a mixture of certain organic fatty acids at higher concentrations performed comparably to DEET in field traps, reducing midge catches by more than three-fold compared to unprotected controls.5PubMed. Laboratory and field evaluations of chemical and plant-derived potential repellents against Culicoides biting midges in northern Spain The plant-derived options showed shorter-lasting protection overall, though. If you want the longest protection window per application, DEET or picaridin is the practical choice. If you prefer a plant-based product, look for one containing oil of lemon eucalyptus (p-menthane-3,8-diol), which is the only plant-derived repellent the EPA registers for biting flies.
Traps
Apple cider vinegar traps work well for fruit flies but are less effective against true gnats. For outdoor gnat control, UV light traps and sticky ribbon traps near the problem area can reduce numbers. Commercial COâ‚‚-baited traps, which mimic human breath, are more effective but also more expensive. These won’t eliminate a breeding population, but they can make a screened porch or patio substantially more livable during peak season.
How to Get Rid of Indoor Fungus Gnats
Indoor fungus gnats require a different playbook because the adults you see flying around are only part of the problem. The larvae living in your potting soil are the population you need to target. Adult fungus gnats only live a week or two, but a single female can lay over a hundred eggs in moist soil, so the cycle restarts constantly unless you break it.
Dry Out the Soil
The single most effective step is letting your houseplant soil dry out between waterings. Fungus gnat larvae need consistently moist soil in the top inch or so. Allowing the surface to dry kills young larvae and makes the soil inhospitable for egg-laying. Bottom-watering your plants (filling the saucer and letting soil wick moisture up from below) keeps roots hydrated while leaving the surface dry where gnats lay eggs.
Biological Controls and Their Limits
Bacillus thuringiensis israelensis (Bti), a naturally occurring soil bacterium sold as “Mosquito Bits” or “Gnatrol,” is widely recommended for fungus gnats. It works by producing a protein toxic to larvae when they ingest it. However, research has found that Bti had no measurable effect on second- and third-instar fungus gnat larvae, meaning it only works well against the youngest larvae.6PubMed. Effect of Bacillus thuringiensis subsp. israelensis and neonicotinoid insecticides on the fungus gnat Bradysia sp nr. coprophila (Diptera: Sciaridae) The practical takeaway is that Bti works best as a preventive measure applied before populations build up, not as a rescue treatment once you already have a heavy infestation with overlapping generations of larvae at different stages. If your infestation is well established, Bti alone may not be enough.
Beneficial nematodes, specifically Steinernema feltiae, are another biological option that targets fungus gnat larvae in the soil. These microscopic roundworms actively hunt and parasitize larvae, and they’ve been shown to reduce fungus gnat numbers in greenhouse settings.3Biological Control. Use of Entomopathogenic Nematodes and a New Monitoring Technique for Control of Fungus Gnats, Bradysia coprophila (Diptera: Sciaridae), in Floriculture You apply them by mixing into water and drenching the soil. They’re safe for plants, pets, and people. The downside is that the nematodes are living organisms that need to be stored in the fridge and used before they expire, and they require moist soil to move through, which somewhat conflicts with the “let the soil dry out” strategy. A combined approach works: apply nematodes during a watering cycle, then let the soil dry before watering again.
Sticky Traps and Vinegar Traps
Yellow sticky traps placed at soil level catch adult fungus gnats before they can lay more eggs. They won’t solve the problem on their own, since larvae in the soil keep maturing, but they reduce the breeding population and also serve as a monitoring tool. If your sticky traps are still catching dozens of adults after two weeks of soil-drying, you know the infestation is deeper than surface-level. Apple cider vinegar traps (a shallow dish with vinegar and a drop of dish soap) attract and drown adults. Again, these are supplementary to soil-level treatments, not a standalone fix.
Repotting and Soil Amendments
For badly infested plants, the most direct approach is repotting with fresh, sterile potting mix after shaking off as much of the old soil as possible. Adding a half-inch layer of coarse sand, fine gravel, or diatomaceous earth on top of the soil creates a physical barrier that adult gnats can’t easily lay eggs through. Diatomaceous earth also kills larvae on contact by damaging their soft bodies, though it loses effectiveness when wet.
Drain Flies and How They Differ
If the small flies in your home are concentrated around sinks and showers rather than houseplants, they’re likely drain flies (also called moth flies because of their fuzzy, moth-like wings). Their larvae live in the biofilm that coats the inside of drain pipes, feeding on bacteria and organic sludge. You can confirm this by taping a piece of clear tape over the drain overnight; if you find small flies stuck to it in the morning, you’ve identified the source.
The fix is mechanical, not chemical. Pouring bleach down the drain rarely works because it doesn’t remove the biofilm where larvae live. Instead, use a stiff brush or pipe-cleaning tool to physically scrub the inside of the drain, then follow with an enzyme-based drain cleaner that breaks down organic material. Repeat weekly until the flies stop appearing. Keeping drains dry when not in use (especially in guest bathrooms or basement sinks that go weeks without running water) prevents reinfestation.
Why Biting Midges Matter Beyond Annoyance
Most gnats are merely annoying, but biting midges in the genus Culicoides carry genuine health implications, particularly for livestock. These midges are the primary vectors of bluetongue virus, which infects sheep, cattle, and other ruminants. A study analyzing midge populations in Europe found that over 92% of captured midges belonged to species known to transmit bluetongue virus.7PubMed Central. Biting midge dynamics and bluetongue transmission: a multiscale model linking catch data with climate and disease outbreaks For anyone raising livestock, the seasonal disappearance of midges marks the end of the highest-risk transmission window. Bluetongue outbreaks track tightly with midge activity: they ramp up in summer, peak in late summer and early fall, and taper off as temperatures drop.
For humans, biting midges don’t transmit significant diseases in North America, but their bites can cause intense itching, welts, and allergic reactions in sensitive individuals. People who live or vacation near salt marshes, mangrove areas, or lakeshores during warm months are most likely to encounter them. The repellent strategies described earlier, particularly DEET and oil of lemon eucalyptus, are your best personal defense. Long sleeves at dawn and dusk help too, since midges are most active during those low-light periods.
Common Misconceptions About Getting Rid of Gnats
A few popular home remedies circulate endlessly online but don’t hold up well in practice. Citronella candles, for example, have minimal effect on gnats. The smoke itself can deter flying insects slightly, but the citronella compound disperses too quickly in open air to create a meaningful repellent zone for something as small and persistent as a gnat. Essential oil diffusers with peppermint, lavender, or tea tree oil may make your patio smell nice but don’t produce high enough concentrations to repel gnats at any useful distance.
Another common claim is that bananas or banana peels attract gnats. Overripe fruit does attract fruit flies, which people often mistake for gnats, but true gnats (fungus gnats, eye gnats, midges) are not drawn to fruit. They’re responding to COâ‚‚, moisture, body heat, and decaying organic matter in soil.4Journal of Medical Entomology. Human Individuals Vary in Attractiveness for Host-Seeking Black Flies Diptera Simuliidae Based on Exhaled Carbon Dioxide If removing fruit from your counter solves the problem, you had fruit flies, not gnats.
Finally, bug zappers are often marketed as gnat solutions, but research on electric insect traps has repeatedly shown they kill far more beneficial insects (moths, beetles, lacewings) than they do pest species. Gnats tend to be more attracted to COâ‚‚ and moisture cues than UV light, so bug zappers are largely ineffective against the species that actually bother you.
When to Call a Professional
Most gnat problems resolve with the habitat modifications described above. But if you’ve dried out your soil, cleaned your drains, eliminated standing water around your home, and you’re still seeing persistent swarms weeks later, there could be a breeding site you haven’t found. Common hidden sources include broken or leaking sewer lines under the slab, French drains that hold stagnant water, crawl spaces with moisture problems, or even wet insulation from a roof leak. A pest control professional can use monitoring traps and inspection techniques to locate the source. In commercial greenhouses, where fungus gnat infestations can threaten entire crops, professionals often use a rotation of biological controls and insect growth regulators like pyriproxyfen to break the breeding cycle without building insecticide resistance.6PubMed. Effect of Bacillus thuringiensis subsp. israelensis and neonicotinoid insecticides on the fungus gnat Bradysia sp nr. coprophila (Diptera: Sciaridae) For home infestations that resist basic remedies, similar targeted approaches can be applied on a smaller scale.