Why Do Gnats Fly Around Your Face? And How to Stop Them

Gnats swarm your face because it is a concentrated source of almost everything they are looking for: carbon dioxide from your breath, moisture from your eyes and skin, and warmth radiating from a relatively large exposed surface. Different gnat species zero in on slightly different cues, but the common thread is that your head broadcasts a cocktail of chemical and physical signals that these tiny flies have evolved to follow. Getting them to leave you alone requires understanding which signals matter most and which interventions actually work, because plenty of popular advice does not hold up.

What “Gnats” Actually Means

The word “gnat” is not a precise scientific term. It is a catch-all label people apply to any small fly that annoys them outdoors. In practice, the flies buzzing your face usually belong to one of a few groups. Eye gnats (genus Liohippelates in the family Chloropidae) are classic face-seekers drawn to eyes, nostrils, and wounds. Fungus gnats (family Sciaridae) are the tiny dark flies you see around houseplants and damp soil, and they sometimes end up around your face indoors. Biting midges (family Ceratopogonidae, often called “no-see-ums”) are another common offender, though their motive is blood rather than secretions. Some species of the Drosophilidae family also exhibit clearly zoophilic behavior, with adult males of certain genera feeding on the lachrymal (tear) secretions of living mammals.1PubMed Central. Drosophilidae feeding on animals and the inherent mystery of their parasitism Knowing which type of gnat you are dealing with matters because their attractants and the strategies for deterring them differ.

Carbon Dioxide Is the Long-Range Beacon

The single most important reason gnats find your face is the plume of carbon dioxide you exhale. CO2 is the primary long-range attractant for a wide variety of small flies and biting insects. The gas diffuses outward from your mouth and nostrils, and the resulting plume stays intact enough at short distances to guide insects upwind toward you. Research on blood-feeding insects shows that CO2 plumes from a resting human can activate upwind search behavior in insects from several meters away, and nearly every medically relevant blood-feeding insect that transmits disease-causing pathogens detects and follows CO2 gradients as part of its host-seeking behavior.2Entomologia Experimentalis et Applicata. Minireview Olfactory Carbon Dioxide Detection by Insects and Other Animals Non-biting gnats use the same signal. Your face is where the CO2 concentration is highest, so that is where they congregate.

This explains why gnats seem especially persistent during exercise. When you are breathing hard, you produce more CO2 per minute, and you exhale it with more force, pushing the plume farther out. That expanded signal recruits more gnats from a wider area and draws them straight to your head.

Moisture, Salt, and Tears

Carbon dioxide gets the gnats close, but once they arrive near your face, other cues keep them there. Your eyes, nostrils, and mouth all produce moisture and dissolved salts that gnats find irresistible. Eye gnats in particular are strongly attracted to moisture of any kind. Their abundance has been documented around lawn sprinklers, perspiring humans, and even people using a hose to wash a car.3Journal of Integrated Pest Management. Eye Gnat (Liohippelates, Diptera: Chloropidae) Biology, Ecology, and Management: Past, Present, and future Sweat on your forehead or upper lip, tears at the corners of your eyes, and mucus around your nostrils all create micro-environments rich in water, protein, and salt that gnats land on to feed.

This is why gnats often seem to target the face rather than, say, your forearm. Your arm might be warm, but the concentration of exposed mucous membranes and secretions is far lower. The face offers everything in one spot: warmth, CO2, moisture, and protein-rich secretions. If you wear sunglasses, you may have noticed gnats accumulating on the lenses near the inner corners of your eyes, where tear residue collects. That is not a coincidence.

Body Chemistry and Why Some People Attract More Gnats

People who insist they attract gnats more than others are probably not imagining it. Individual variation in CO2 output, skin bacteria, and sweat composition creates real differences in attractiveness to small flies. Larger people tend to produce more CO2 at rest. People who have been exercising or consuming alcohol also exhale more CO2 and produce more skin volatiles. Certain skin bacteria metabolize sweat differently, producing distinct blends of short-chain fatty acids and other compounds that some gnat species find attractive.

Fragrance matters, too, though not always in the way you might expect. Floral and fruity scents in shampoo, lotion, or perfume can attract gnats by mimicking the volatile organic compounds flowers produce to attract pollinators. Some gnat species feed on nectar or plant exudates when not pursuing animals, so a person wearing a fruit-scented hair product may draw more attention than someone without. On the other hand, strongly scented products do not always make things worse. The direction of the effect depends on the specific compounds and the specific gnat species.

Visual Cues Play a Supporting Role

Smell and moisture are the primary draws, but vision also contributes. Research on fungus gnats has shown that they orient visually and are strongly attracted to certain wavelengths of light, particularly ultraviolet. In lab experiments comparing different surfaces, a black surface was preferred over a yellow one, but was less attractive than UV.4Entomologia Experimentalis et Applicata. Visual orientation of the black fungus gnat, Bradysia difformis, explored using LEDs While this finding applies to fungus gnats rather than the eye gnats or biting midges that typically swarm outdoors, it illustrates a broader principle: gnats do not rely on smell alone. Dark clothing, dark hair, and high-contrast silhouettes against a bright sky can make you more visible to gnat species that use visual contrast to locate hosts or landing sites.

The practical takeaway is limited, since you cannot change your hair color to avoid gnats. But if you are spending time in a gnat-heavy area, lighter-colored clothing and hats may reduce visual attraction by lowering contrast.

Are Face-Seeking Gnats a Health Risk?

Most of the time, gnats buzzing your face are merely annoying. But eye gnats specifically can transmit disease. These flies do not bite; instead, they land on mucous membranes and feed on secretions. In doing so, they can mechanically transfer bacteria and other pathogens. Eye gnats have been documented as vectors of human acute conjunctivitis (pink eye) in both humans and livestock.5EDIS. Eye Gnats, Grass Flies, Eye Flies, Fruit Flies Liohippelates spp. (Insecta: Diptera: Chloropidae) They have also been implicated in the mechanical transmission of other bacterial infections to skin wounds.

For most healthy adults, occasional contact with eye gnats is unlikely to cause illness. The risk increases in areas where eye gnat populations are dense, such as agricultural regions with sandy soil in warm climates, and in situations where you have open cuts or abrasions on your face. Children and people with compromised immune systems may be more vulnerable. Keeping gnats away from your eyes and any open wounds is not just a comfort issue; there is a genuine, if small, health rationale.

DEET and Chemical Repellents That Actually Work

The most effective chemical defense against gnats remains DEET (N,N-diethyl-meta-toluamide). Since it was first marketed in 1956, DEET has remained the benchmark repellent against mosquitoes, biting fleas, gnats, and chiggers.6PubMed. Insect repellents: an overview It works by interfering with the insect’s ability to detect the chemical cues your skin gives off. A product with 20 to 30 percent DEET, applied to exposed skin and the brim of a hat, provides strong protection for a couple of hours outdoors.

Repellent duration against gnats specifically is worth noting. Early studies testing DEET and other repellents directly on eye gnats found that the repellency of DEET declined to half its initial level in about 110 minutes when applied to skin.7Oxford Academic. Evaluations of Repellents for Hippelates Eye Gnats That is roughly two hours of strong protection before you need to reapply, which aligns with the general advice for DEET-based products. Picaridin (also sold as icaridin) is a newer alternative that performs similarly to DEET in many field tests and has a less oily feel, making it popular for facial application.

Permethrin is a different category of product entirely. Rather than being applied to skin, it is designed for clothing. When sprayed on a hat, shirt collar, or head net, permethrin kills or repels gnats on contact. The combination of a DEET-based skin repellent and permethrin-treated clothing provides the strongest protection available, and this combination is commonly recommended for people working in agriculture or spending extended time in gnat-dense environments.

Natural Repellents and Essential Oils

If you prefer to avoid synthetic repellents, some essential oil compounds show genuine activity against gnats in laboratory settings. Studies on fungus gnats found that menthol, 1-octen-3-ol (a mushroom alcohol), and borneol displayed strong repellent effects. In controlled tests, the number of fungus gnat adults in compartments treated with menthol was roughly six times lower than in untreated compartments, with similar reductions for 1-octen-3-ol and borneol.8Journal of Economic Entomology. Repellency of Naturally Occurring Volatile Alcohols to Fungus Gnat Bradysia sp. nr. coprophila (Diptera: Sciaridae) Adults Under Laboratory Conditions Essential oil from Chenopodium ambrosioides (Mexican tea) has also shown effectiveness against fungus gnat larvae when applied as a soil drench.9Journal of Economic Entomology. Activity of an Essential Oil Derived from Chenopodium ambrosioides on Greenhouse Insect Pests

The catch with essential oils is that lab results and real-world performance are often very different. Essential oil compounds evaporate quickly in open air, which means their repellent effect fades faster than DEET’s. You might get 20 to 40 minutes of meaningful protection from a concentrated application rather than two hours. Products containing oil of lemon eucalyptus (specifically the refined compound p-menthane-3,8-diol) tend to last longer than other plant-based options and are recognized by the EPA as a biopesticide, which puts them in a different regulatory class than homemade essential oil blends. If you go the natural route, expect to reapply frequently.

Practical Strategies Beyond Repellents

Chemical repellents are effective but not the only tool. Several behavioral and environmental strategies reduce gnat encounters, especially when combined with repellent use.

  • Head nets: A fine-mesh head net draped over a wide-brimmed hat is the most reliable physical barrier. It looks unfashionable, but if you are gardening, hiking in marshy areas, or fishing at dusk, nothing else keeps gnats off your face as completely.
  • Fans: Gnats are weak fliers. A small portable fan aimed at your face and upper body creates enough airflow to keep them from landing. Outdoor dining areas in gnat-heavy regions often use overhead fans for exactly this reason. Even a handheld battery fan clipped to a hat brim makes a noticeable difference.
  • Timing: Many gnat species are most active in the early morning and late afternoon, particularly in warm, humid conditions. Midday heat and wind tend to reduce gnat activity. If you have flexibility about when you go outside, avoiding peak gnat hours helps.
  • Reduce moisture sources: If gnats are a persistent problem in your yard, look for standing water, overwatered garden beds, and piles of damp organic matter. Eye gnats breed in soil with high organic content, and fungus gnats breed in moist potting mix. Letting soil dry between waterings and clearing decomposing plant material reduces local populations over time.

For indoor fungus gnats, the breeding site is almost always overwatered houseplant soil. Allowing the top inch or two of potting mix to dry out between waterings breaks the larval life cycle. Yellow sticky traps placed near plants catch adults and help you monitor whether the population is declining. These traps exploit the visual attraction that fungus gnats show toward certain colors and are surprisingly effective in enclosed spaces.

What Does Not Work

A few widely recommended approaches have little evidence behind them. Ultrasonic repellent devices, which claim to emit high-frequency sounds that drive insects away, are a persistent consumer product category with poor scientific support. Research on acoustic insect management has found that ultrasonic bat-cry signals can disrupt the behavior of night-flying insects that are normally preyed upon by bats, but these signals have little effect on insects that are not part of the bat-prey relationship.10CABI Reviews. Applications of acoustics in insect pest management Gnats do not fall into the bat-prey category for which ultrasonic deterrence has shown any promise, so those plug-in or wearable ultrasonic devices are unlikely to help.

Citronella candles are another popular choice that tends to disappoint. While citronella oil has some repellent activity against mosquitoes at close range, the concentration of active compound released by a burning candle is generally too low to create a meaningful protective zone, especially outdoors where air movement disperses the smoke. You might notice a slight reduction in gnats if you are sitting directly in the smoke plume, but that is more about the smoke itself than the citronella. Any smoky fire would have a similar effect.

Dryer sheets tucked into a hat band or belt loop are another folk remedy. Anecdotally, some people swear by them, but controlled tests of dryer-sheet repellency against various insects have produced inconsistent and generally unimpressive results. The fragrance compounds in dryer sheets are not formulated as repellents, and their concentration on a single sheet is low. If they work at all, the effect is fleeting.

Why Gnats Circle in Front of Your Face Instead of Landing

One of the most maddening behaviors is the gnat that hovers inches from your eyes and never seems to land. This hovering pattern is not aimless. Many male gnats form mating swarms, and they use visual landmarks to anchor those swarms in space. Your head, as the highest point on your body and a high-contrast object against the sky, serves as a convenient swarm marker. The gnats are not necessarily trying to land on you at all. They are using you as a reference point while they hover and wait for females to fly through the swarm.

This is why swatting at hovering gnats sometimes seems to make them more persistent. You are not really shooing them away from food; you are briefly disrupting a swarm that quickly reforms around the same landmark (your head). Walking away steadily, rather than waving your arms, is more effective because it forces the swarm to find a new landmark. If you stop walking, they may reform around you again within a minute or two as they reacquire the visual reference.

Seasonal and Regional Patterns

Gnat pressure varies enormously by geography and season. Eye gnats thrive in sandy agricultural soils in warm climates, which is why parts of the southern United States, Central America, and tropical regions have severe eye gnat problems that more temperate areas do not experience. Fungus gnats, by contrast, are a worldwide nuisance wherever people keep indoor plants or work in greenhouses. Biting midges are most abundant near coastal marshes, lakeshores, and riverbanks.

Seasonally, gnats peak during warm, humid periods. In temperate regions, late spring through early fall is prime gnat season. A spell of rain followed by warm weather is the ideal recipe for a gnat population boom, because the moisture creates abundant breeding habitat in soil and decaying vegetation. In tropical and subtropical areas, gnats can be a year-round issue, with peaks corresponding to rainy seasons.

Understanding your local gnat species and their seasonal rhythms lets you anticipate when face-swarming will be worst and prepare accordingly. If you live in a region with heavy eye gnat populations, maintaining repellent supplies and a head net before the warm season starts is far easier than scrambling for solutions once the swarms have arrived.