Why Are Flies Biting Me? Reasons and How to Stop Them

Biting flies target you because you are a warm, carbon-dioxide-emitting, odor-producing animal, and certain traits make some people more appealing meals than others. The flies most people encounter include mosquitoes, horse flies, stable flies, black flies, midges, and sand flies, and all of them home in on a mix of chemical, visual, and thermal cues your body broadcasts constantly. Understanding what draws them and what repels them gives you practical ways to reduce bites, whether you are gardening in the backyard or hiking through marshland.

Your Skin Chemistry Is the Biggest Draw

The bacteria living on your skin are a major reason biting flies find you. These microorganisms break down compounds in sweat and skin oils, releasing a cocktail of volatile chemicals that drifts through the air. Research on mosquitoes has shown a clear qualitative and quantitative link between the species of bacteria on a person’s skin and the odor profile that results, and that odor profile directly mediates how attractive someone is to blood-seeking insects.1FEMS Microbiology Ecology. Chemical ecology of interactions between human skin microbiota and mosquitoes Variation in bacterial communities from person to person is high and relatively stable over time, which helps explain why one person gets eaten alive at a cookout while the friend sitting next to them barely notices a single fly.

Carbon dioxide is another powerful signal. Every exhale creates a plume that biting flies can follow from meters away. Larger people and people breathing harder after exercise exhale more CO₂, which can make them easier to locate. Lactic acid, ammonia, and other compounds in sweat layer on top of the CO₂ signal, creating a multi-channel homing beacon that different fly species exploit in slightly different ways.

Body Heat and Why Flies Land Where They Do

Once a fly gets close enough, warmth takes over as a landing cue. Horse flies, for example, cannot sense heat from a distance the way some snakes can. Their heat-detecting sensors sit on their legs, antennae, and mouthparts, so they only register temperature after making physical contact or entering the thin warm layer of air right at the skin’s surface.2PLoS ONE. Why do biting horseflies prefer warmer hosts? tabanids can escape easier from warmer targets Stable flies behave similarly, using thermal cues mostly at close range to decide whether to land.3Entomologia Experimentalis et Applicata. Host‐foraging stable flies, Stomoxys calcitrans, are preferentially attracted to objects with both visual and thermal host‐like characteristics

Interestingly, horse flies seem to prefer warmer targets not just because warmth signals a living host, but because the warmer microclimate around a sun-heated body lets the fly’s own muscles and nervous system work faster. Faster wing muscles and quicker nerve signals mean the fly can escape a tail swat or a slap more easily once it lands. Research on the species Tabanus tergestinus found a clear preference for sunlit, warm, shiny dark targets over shaded cold ones with identical optical properties, supporting this “quicker getaway” hypothesis.4PubMed Central. Attractiveness of thermally different, uniformly black targets to horseflies: Tabanus tergestinus prefers sunlit warm shiny dark targets

Why Dark and Blue Clothing Attracts Bites

If you have ever noticed more flies buzzing around you while wearing a navy shirt, there is real science behind it. Flies rely on color to find hosts, using visual cues for behaviors ranging from flower visits to host detection.5PubMed. Visual ecology of flies with particular reference to colour vision and colour preferences A 2023 study dug into why blue objects in particular attract biting flies by training artificial neural networks to distinguish animals from leaf backgrounds using the same photoreceptor information available to a fly’s visual system. The result was striking: the networks relied on an opponent signal between green-sensitive and blue-sensitive receptors, and they routinely misclassified artificial blue stimuli as animals. In other words, to a biting fly’s eyes, a blue shirt looks a lot like the flank of a large mammal standing against green foliage.6PubMed Central. Why are biting flies attracted to blue objects?

Dark colors compound the problem because they absorb more heat and create a stronger thermal contrast against the background, which feeds into the close-range warmth cues described above. Light-colored, loose-fitting clothing reflects more light and stays cooler, making you less conspicuous on both the visual and thermal channels flies use. If you spend a lot of time outdoors in fly-heavy areas, swapping that dark blue top for a light khaki one is one of the simplest changes you can make.

Does Drinking Beer Really Attract More Flies?

This is one of those claims that sounds like a campfire myth but has been tested repeatedly. In one controlled study, the percentage of mosquitoes landing on volunteers rose significantly after beer consumption compared with before, and the researchers found no correlation between ethanol in sweat or skin temperature and the increase in landings, meaning whatever the flies were responding to was not simply the alcohol on the skin or a slight body-temperature bump.7PubMed. Alcohol ingestion stimulates mosquito attraction A second study looking at malaria mosquitoes confirmed the pattern: beer drinkers activated about 47 percent of test mosquitoes and attracted 65 percent of those flying upwind, both statistically significant increases over water-drinking controls. The researchers again ruled out CO₂ and body temperature as explanations.8PLOS ONE. Beer Consumption Increases Human Attractiveness to Malaria Mosquitoes

A recent large cross-sectional study at a music festival added to the picture. Among 465 participants, mosquitoes showed a measurable preference for beer drinkers over those who abstained, with a fold change of about 1.35 in bite counts.9bioRxiv. Blood, sweat, and beers: investigating mosquito biting preferences amidst noise and intoxication in a cross-sectional cohort study at a large music festival The mechanism remains unclear. Something about alcohol metabolism seems to alter the volatile profile coming off your skin in a way that biting flies find appealing, but nobody has pinpointed the exact compound yet. For practical purposes, if you are planning an evening outdoors and want fewer bites, cutting back on the drinks will modestly reduce your appeal.

Why Some People Get Bitten More Than Others

Beyond alcohol, people commonly blame their diet, blood type, or skin sweetness for why they seem to attract every biting fly in the area. A questionnaire-based survey on midge bites found no association between bite frequency and age, smoking, diet, exercise, medication, eating strongly flavored foods, or alcohol consumption. What the study did find was a significant association between being bitten more and increasing height in men and increasing body mass index in women.10BMC Public Health. To bite or not to bite! A questionnaire-based survey assessing why some people are bitten more than others by midges Taller bodies and larger bodies emit more CO₂, produce more skin volatiles, and present a bigger thermal target, all of which align with the attraction cues discussed earlier.

Genetics plays into this indirectly. Your genes shape the composition of your skin microbiota, which in turn shapes the chemical signature your body emits.1FEMS Microbiology Ecology. Chemical ecology of interactions between human skin microbiota and mosquitoes Identical twins, for instance, tend to be similarly attractive or unattractive to mosquitoes compared with non-identical twins, a finding consistent with a genetic component. What this means in practice is that some of the variation in who gets bitten is built in and not easily changed. You cannot swap out your microbiome or your exhaled CO₂ signature, but you can control the other variables like clothing color, repellent use, and timing of outdoor activity.

When Biting Flies Are Most Active

Different species have different schedules, and knowing the peak times can help you plan around them. Black flies in forested areas of Quebec were found to be most active one to two hours after dawn and roughly an hour before sunset, with flight activity depending heavily on light intensity so long as the temperature stayed above about 7°C (45°F) and wind speed was low.11Canadian Journal of Zoology. Diurnal behavior and biting habits of black flies (Diptera: Simuliidae) in the forests of Quebec Mosquitoes, particularly Aedes species, also peak around dawn and dusk, while some tropical species bite throughout the night.

Tsetse flies show a fascinating V-shaped pattern of biting activity over the day, with peaks in the cooler morning and evening hours and a dip during midday heat. Researchers initially assumed this was entirely driven by temperature, but work on Glossina morsitans revealed that roughly 80 percent of the amplitude of that daily pattern comes from an internal circadian clock, with only about 20 percent directly controlled by temperature.12Physiological Entomology. The control of circadian activity rhythms in tsetse flies: environment or physiological clock? This means tsetse fly biting peaks are fairly predictable regardless of day-to-day weather swings.

Weather does matter for other species, though. A study on blackfly abundance near avian nests found that numbers were higher when early-morning temperatures were lower and wind was calm at dawn, but higher evening wind was actually associated with more flies, possibly because wind disperses them from breeding sites toward hosts during that time.13Journal of Avian Biology. Does weather affect biting fly abundance in avian nests? In general, hot, calm, humid conditions tend to bring out the worst biting activity for most species. If you can schedule your outdoor time for the windier middle of the day, you will typically encounter fewer biting flies.

Health Risks From Biting Flies

For most people in temperate climates, biting flies are an itchy nuisance and nothing more. But the medical significance of these insects is enormous globally. Sand flies alone transmit the pathogens behind leishmaniasis, sandfly fever, summer meningitis, vesicular stomatitis, Chandipura virus encephalitis, and Carrión’s disease. Among over 800 recorded sandfly species, 98 are proven or suspected vectors of human leishmaniasis.14Medical and Veterinary Entomology. Phlebotomine sandflies and the spreading of leishmaniases and other diseases of public health concern Mosquitoes are perhaps the best-known disease vectors, carrying malaria, dengue, Zika, West Nile virus, and yellow fever. Black flies transmit the filarial worm that causes river blindness. Horse flies and stable flies can mechanically transfer bacteria between hosts, though they are less efficient disease vectors than mosquitoes or sand flies.

Even without disease transmission, heavy biting can cause significant allergic reactions. Some people develop large, painful welts from horse fly or black fly bites, and in rare cases anaphylaxis can occur. Repeated exposure to midge bites can either sensitize you, producing progressively worse reactions, or desensitize you over time. If you travel to tropical or subtropical regions where vector-borne diseases are endemic, preventing bites is not just about comfort. It is a genuine health precaution.

Chemical Repellents That Actually Work

DEET remains the most studied and widely recommended insect repellent. It works primarily through the olfactory system, acting as both an airborne repellent and a contact deterrent. Research has identified specific olfactory receptors in mosquitoes that DEET activates directly, triggering avoidance behavior.15Current Opinion in Insect Science. The enigmatic reception of DEET — the gold standard of insect repellents In practical terms, DEET creates a vapor zone around treated skin that biting insects actively avoid. Laboratory bioassays have shown that when mosquitoes and sand flies were given a choice between DEET-treated and untreated skin surfaces, 98 to 100 percent of bites occurred on the untreated side. The insects never even made physical contact with the treated surface, always flying toward and feeding on untreated areas.16Journal of Medical Entomology. Repellent and Deterrent Effects of SS220, Picaridin, and Deet Suppress Human Blood Feeding by Aedes aegypti, Anopheles stephensi, and Phlebotomus papatasi

Picaridin performs comparably in head-to-head tests and has the advantage of being less greasy and less damaging to plastics and synthetic fabrics. The same bioassays that demonstrated DEET’s near-total bite suppression showed equivalent results for picaridin.16Journal of Medical Entomology. Repellent and Deterrent Effects of SS220, Picaridin, and Deet Suppress Human Blood Feeding by Aedes aegypti, Anopheles stephensi, and Phlebotomus papatasi Both compounds were originally developed through molecular modeling efforts, and both are recommended by the CDC for use in disease-endemic areas. For most outdoor situations, a concentration of 20 to 30 percent of either compound provides several hours of protection. Higher concentrations do not repel better; they just last longer before needing reapplication.

Plant-Based Alternatives

Among plant-derived repellents, oil of lemon eucalyptus (OLE) has the strongest evidence. In field tests against biting midges, a lemon eucalyptus-based repellent provided striking protection: half of the subjects received zero bites over six hours of continuous exposure, and the true median protection time likely exceeded the full test duration.17Journal of the American Mosquito Control Association. Field Test of a Lemon Eucalyptus Repellent against Leptoconops Biting Midges That is remarkably good performance for a botanical product.

However, laboratory and field evaluations comparing multiple plant-derived and chemical repellents against Culicoides midges found that while lemon eucalyptus oil was the best-performing plant product, DEET and a mixture of organic fatty acids still proved superior and longer-lasting overall.18Medical and Veterinary Entomology. Laboratory and field evaluations of chemical and plant‐derived potential repellents against Culicoides biting midges in northern Spain Other commonly marketed botanicals like citronella, lavender, and neem tend to offer much shorter protection windows, often under an hour, making them impractical for sustained outdoor activity. If you want to avoid synthetic chemicals, OLE is the best plant-based option by a wide margin, but you should expect to reapply more frequently than you would with DEET or picaridin.

A word of caution: “lemon eucalyptus essential oil” sold in many health stores is not the same as the refined product labeled “oil of lemon eucalyptus” or its active ingredient p-menthane-3,8-diol (PMD). The refined version contains much higher concentrations of the active compound and is the form tested in the studies above. Buying generic essential oil off a shelf will not give you the same protection.

Physical and Behavioral Strategies

Repellent is only one layer of defense. Combining it with physical barriers and behavioral adjustments gives you the best overall protection:

  • Clothing color: Wear light-colored clothing. Pale khaki, white, and light gray are far less attractive to biting flies than dark blue, black, or red, because they produce less visual contrast against green backgrounds and stay cooler.
  • Coverage: Long sleeves, long pants, and closed shoes reduce the amount of exposed skin available. Tucking pants into socks prevents flies from crawling up your legs, which is especially relevant for stable flies and ticks.
  • Permethrin-treated clothing: Treating outer garments with permethrin adds a contact-kill layer. The insecticide binds to fabric fibers and survives multiple washes. It is particularly useful for horse flies and black flies, which tend to land on clothing before finding exposed skin.
  • Fans and airflow: Many biting flies are weak fliers. A simple box fan on a patio or porch can disrupt their approach and make it much harder for them to land on you.
  • Timing: Avoid being outdoors during peak biting windows, especially dawn and dusk. If that is not possible, apply repellent and cover up during those periods.
  • Standing water removal: Mosquitoes breed in even tiny amounts of standing water. Emptying saucers, old tires, clogged gutters, and bird baths weekly reduces the local population around your home.

None of these strategies works perfectly alone. The people who get bitten least tend to stack several of them. Light clothing plus DEET plus timing outdoor work for midday can reduce bites dramatically compared with relying on any single measure.

Why Biting Flies Go After Some Body Parts More Than Others

You might notice that horse flies attack your head and shoulders, mosquitoes bite your ankles, and stable flies go for your lower legs. This is not random. Different species have evolved to feed on specific body regions of their typical large-mammal hosts, and those preferences carry over to humans. Horse flies historically targeted the backs and shoulders of cattle and horses, areas the animal cannot easily reach with its tail. Stable flies evolved to feed on the lower legs of livestock, below the range of the tail swish. Mosquitoes that feed at ground level, like many Aedes species, orient to the foot-odor plume concentrated near the ankles, where certain skin bacteria are especially abundant and the scent is strong.

Knowing this can guide where you apply repellent. Concentrating your DEET or picaridin on the ankles, feet, neck, and forearms rather than slathering it everywhere wastes less product and targets the zones most likely to be attacked. For horse flies specifically, a hat treated with permethrin can make a real difference, since they tend to circle the head before landing.

Biting Flies and Livestock

If you live on or near a farm, the biting-fly pressure you experience is shaped heavily by nearby animals. Stable flies breed in decaying organic matter like old hay, manure, and silage. Horse flies lay eggs near water where their larvae develop in wet soil. Both species can travel considerable distances, so even if the breeding site is a neighbor’s pasture, the adult flies end up on your porch. Reducing organic waste, managing manure piles, and keeping vegetation trimmed around standing water all help suppress local populations. Walk-through fly traps designed for cattle can also intercept flies before they disperse toward homes. For horse flies specifically, large dark-colored sticky traps hung at about waist height exploit their visual attraction to dark objects and can capture impressive numbers. These traps work precisely because of the blue-dark color preference researchers have documented in biting flies.6PubMed Central. Why are biting flies attracted to blue objects?