Flies zero in on you because you are a walking cloud of exactly the signals they evolved to detect: carbon dioxide from your breath, volatile chemicals from your skin, body heat radiating outward, and a dark, moving shape against the sky. Research on black flies shows that simply removing a person’s exhaled breath drops their attractiveness to roughly 15% of normal levels, and restoring just the carbon dioxide brings it back to about 90%.
Your Breath Is the Biggest Beacon
Every exhale you release sends a plume of carbon dioxide and trace gases drifting downwind. For most biting and nuisance flies, this is the first long-range signal that a warm-blooded host is nearby. Biting flies detect CO₂ from meters away, and the plume acts like a scent trail that narrows as the fly gets closer. Studies on black flies demonstrated that individual differences in CO₂ output largely explained why some people drew more flies than others: when researchers replaced subjects’ natural breath with bottled CO₂ matched to each person’s output rate, the ranking of who attracted the most flies stayed almost the same.1Journal of Medical Entomology. Human Individuals Vary in Attractiveness for Host-Seeking Black Flies (Diptera: Simuliidae) Based on Exhaled Carbon Dioxide
Carbon dioxide does not work alone, though. Stable flies respond more strongly when CO₂ is combined with methane and other breath volatiles, suggesting the full cocktail of gases you exhale is more compelling than any single component.2PubMed. Carbon Dioxide, Methane, and Synthetic Cattle Breath Volatiles Attract Host-Seeking Stable Flies, Stomoxys calcitrans The same black fly experiments found that breath with CO₂ chemically scrubbed out, then re-spiked to the same CO₂ level, was still more attractive than plain CO₂ at that concentration. Other breath components like acetone play a supporting role, amplifying the CO₂ signal.3International Journal of Tropical Insect Science. Distance orientation of biting flies to their hosts So bigger breathers, heavier exercisers, and larger-bodied people naturally pump out a stronger invitation.
Skin Chemistry and the Bacteria Living on You
Once a fly gets within a meter or so, skin odors take over from breath as the dominant cue. Your skin constantly releases hundreds of volatile organic compounds produced partly by you and partly by the bacteria living on your skin’s surface. Short-chain carboxylic acids like octanoic acid, along with aldehydes like decanal and nonanal, have been identified as significant attractants for black fly species that transmit disease.4PLOS Neglected Tropical Diseases. Identification of Human Semiochemicals Attractive to the Major Vectors of Onchocerciasis These are produced naturally by everyone, but the proportions differ dramatically from person to person.
The composition of your skin microbiome plays a surprisingly large role in this variation. Research on mosquitoes established that the bacterial communities on your skin generate odor profiles that either attract or deter blood-feeding insects, and the specific mix of bacterial species varies between individuals.5FEMS Microbiology Ecology. Chemical ecology of interactions between human skin microbiota and mosquitoes Work on stable flies extended this principle beyond mosquitoes, showing that skin microbes from cattle, particularly Staphylococcus species, significantly affect fly attraction to bovine hosts.6Frontiers in Ecology and Evolution. Staphylococcus microbes in the bovine skin microbiome attract blood-feeding stable flies The implication for humans is straightforward: if the bacterial colonies on your skin happen to produce more of the compounds flies find appealing, you will draw more flies than someone standing right next to you. This is not about hygiene in the conventional sense. A freshly showered person can still be highly attractive if their resident microbiome is the “right” type from a fly’s perspective.
Dark Clothes, Body Heat, and Movement
Flies do not rely on smell alone. Visual cues help them lock onto a target from a distance, and color matters more than you might expect. Horse flies and deer flies are strongly drawn to dark silhouettes, especially black and red three-dimensional shapes, while green and yellow objects are largely ignored.7Canadian Journal of Zoology. THE ORIENTATION OF HORSE FLIES AND DEER FLIES (TABANIDAE:DIPTERA): II. THE ROLE OF SOME VISUAL FACTORS IN THE ATTRACTIVENESS OF DECOY SILHOUETTES Stable flies similarly prefer black and blue-black surfaces over lighter colors.8Journal of Economic Entomology. Blue and Black Cloth Targets: Effects of Size, Shape, and Color on Stable Fly (Diptera: Muscidae) Attraction If you wear a dark shirt on a sunny day, you are essentially mimicking the kind of large, dark silhouette that millions of years of evolution have trained biting flies to land on.
At very close range, body heat becomes the final landing cue. Stable flies distinguish between objects at different temperatures, but only when they are already in foraging mode and the heat comes from direct contact rather than radiated infrared alone.9Entomologia Experimentalis et Applicata. Host‐foraging stable flies, Stomoxys calcitrans, are preferentially attracted to objects with both visual and thermal host‐like characteristics Think of it as a confirmation step: the fly has already followed your CO₂ plume and spotted your dark outline, and now it checks that you are warm before committing to a landing. This is why flies often hover persistently around your head and face before touching down. They are gathering multiple streams of data at once.
Not All Flies Want the Same Thing
The word “fly” covers an enormous range of insects with very different agendas. Biting flies like stable flies, horse flies, deer flies, and black flies are after blood. They target you specifically because they need a blood meal to reproduce. House flies, bottle flies, and flesh flies are not interested in biting you at all. They are drawn to the moisture and organic residues on your skin, to food you are eating or carrying, and to decaying matter nearby. These filth-breeding species are associated with manure, compost, garbage, and animal waste, and they can mechanically transmit bacterial pathogens including Salmonella, E. coli, and Campylobacter by picking up microbes on their feet and mouthparts and depositing them on food or skin.10PubMed. Flies as Vectors of Foodborne Pathogens Through Food Animal Production: Factors Affecting Pathogen and Antimicrobial Resistance Transmission
Fruit flies and drain flies, meanwhile, care almost nothing about you as a person. They are tracking fermenting sugars and decaying organic films in drains or on overripe produce. If they seem to swarm around your face, it is usually because of a sweet drink or the CO₂ from your breath happening to overlap with their food-seeking behavior. Knowing which type of fly is bothering you matters because the solutions differ: repellents designed for biting flies will do little against a house fly drawn to your lunch.
Does What You Eat or Drink Matter?
There is a persistent folk belief that eating garlic or certain spicy foods will keep flies away, while beer and bananas make you a magnet. The evidence is a mixed bag, and most of it comes from mosquito research rather than studies on flies broadly. A literature review of dietary effects on mosquito attraction found that beer and bananas do appear to increase human attractiveness, probably by boosting the production of volatile compounds like lactic acid and ethanol on the skin. Garlic and citrus fruits showed some repellent potential, with sulfur-containing compounds from garlic and limonene from citrus possibly interfering with the insects’ ability to smell you.11Biologia. The influence of human diet on mosquitoes attraction: A literature review
The alcohol connection has some mechanistic support beyond mosquitoes. Ethanol potentiates the attractiveness of certain odor compounds in Drosophila, making food-related scents much more compelling when alcohol is present than either odor alone.12PubMed Central. Alcohol potentiates a pheromone signal in flies Whether eating a clove of garlic at dinner will meaningfully reduce your fly problem the next day is far less certain. The dietary effects on your odor profile are real but modest compared to factors like your baseline CO₂ output and skin microbiome. If you are someone who already attracts flies heavily, skipping beer at the cookout might help at the margins, but it will not transform your experience.
Chemical Repellents That Actually Work
The strongest protection comes from layering a topical repellent on exposed skin with permethrin-treated clothing covering the rest of you. A review of repellent research found that DEET or picaridin applied to skin, combined with permethrin-impregnated fabric, provided the most effective overall defense against biting insects.13PubMed. Chemical and Plant-Based Insect Repellents: Efficacy, Safety, and Toxicity For specific threats like black flies and biting midges, the same review noted that picaridin, IR3535, or oil of lemon eucalyptus (PMD) offered better topical protection than DEET alone.
Permethrin deserves special attention because it works differently from skin-applied repellents. It is a contact insecticide applied to fabric, not skin, and it kills or disables flies on contact. In trials against tsetse flies, permethrin-treated mesh jackets reduced the biting rate by 75%, though treated coveralls alone provided only about 34% protection for exposed skin on the head and hands.14PubMed. Evaluations of permethrin-impregnated clothing and three topical repellent formulations of deet against tsetse flies in Zambia The lesson: permethrin protects what it covers, so pair it with a topical repellent for the face, neck, and hands.
Spatial repellents represent a newer approach. Transfluthrin-based devices that release a volatile pyrethroid into the surrounding air reduced mosquito landings significantly in semi-field trials, though their effectiveness declined over time after initial deployment.15PLOS ONE. Semi-field evaluation of a volatile transfluthrin-based intervention reveals efficacy as a spatial repellent and evidence of other modes of action These devices are primarily studied for mosquitoes, but the principle of creating a repellent zone around a sitting area applies to many fly species as well.
What About Citronella, Essential Oils, and “Natural” Repellents?
Mint oil (mentha) showed strong repellent effects against house flies in lab testing, and a blend of mint and lemongrass matched it closely. Both outperformed eucalyptus and orange oils, which were notably weaker.16PubMed. Repellency potential of essential oils against housefly, Musca domestica L. The active ingredients driving this were menthol and citral. These results sound encouraging, but lab conditions are far from reality. Essential oils evaporate quickly, meaning any real-world protection fades within minutes to a couple of hours unless constantly reapplied.
Citronella, the most popular “natural” repellent, has a more checkered record than its reputation suggests. A field study testing a commercial citronella and lemon eucalyptus mosquito repellent against biting midges found that the repellent did not significantly reduce midge catches, and the researchers noted it might even attract Culicoides midges under certain conditions.17PubMed. Assessment of the repellent effect of citronella and lemon eucalyptus oil against South African Culicoides species This does not mean citronella is useless against all insects, but it is a reminder that a product marketed for mosquitoes can perform very differently against other fly species. If biting midges are your problem, citronella candles on the patio may be giving you a false sense of security.
Wind, Fans, and Environmental Tricks
One of the simplest and most underrated fly deterrents is moving air. Flies are weak fliers relative to their body mass, and wind disrupts both their flight ability and their capacity to follow an odor plume back to you. Research on fruit flies showed that their movement decreased as wind speed increased from still air to moderate flow, and that the flies were carried downwind rather than able to navigate freely.18Entomologia Experimentalis et Applicata. Wind tunnel assays of olfactory responses of female Rhagoletis pomonella flies to apple volatiles: effect of wind speed and odour release rate Even small insects like whiteflies showed a clear negative relationship between wind speed and their willingness to take off and fly.19Physiological Entomology. Modulation of whitefly take‐off and flight orientation by wind speed and visual cues
For practical purposes, a decent oscillating fan on a porch or patio does more than most people realize. It disperses the CO₂ plume from your breath so flies cannot track it back to you, and it creates enough turbulence to make landing difficult. You do not need gale-force winds. Even a light, steady breeze can make a noticeable difference, particularly against smaller species like gnats and midges that have almost no ability to fight air currents.
Beyond fans, reducing breeding habitat near your living space matters enormously for non-biting nuisance flies. House flies and blow flies breed in decaying organic matter, so uncovered trash cans, pet waste, compost piles near doors, and standing water with organic debris all serve as fly factories within easy range of your patio. Addressing these sources often does more than any repellent to reduce the sheer number of flies you encounter.
Traps and How Color Science Gets Put to Use
Fly traps exploit the same visual and chemical cues that draw flies to you, redirecting them to a sticky surface or enclosure instead. The Nzi trap, designed for biting flies, uses blue and black fabric panels to mimic a large host silhouette. When baited with octenol, a chemical found in cattle and human breath, these traps caught several common horse fly and deer fly species at rates roughly double the unbaited trap, and catches of some species were more than three and a half times higher on sticky surfaces surrounding the baited trap.20PubMed. Tsetse and other biting fly responses to Nzi traps baited with octenol, phenols and acetone
For home use, simpler versions of this idea work well. Sticky traps in dark colors hung near problem areas intercept stable flies and horse flies drawn to dark objects. Fruit fly traps using apple cider vinegar with a drop of dish soap exploit those flies’ attraction to fermenting sugars. The dish soap breaks the surface tension so flies that land on the liquid sink instead of walking on it. Commercial UV light traps attract house flies and bottle flies effectively indoors, drawing them toward the light and onto a glue board. None of these traps will eliminate every fly on your property, but they reduce the local population and can give you a meaningful break in high-pressure areas like a porch or barn.
Do Ultrasonic Devices Work?
Ultrasonic pest repellers are heavily marketed as a chemical-free way to keep insects away, and for the most part, the evidence against flies is thin to nonexistent. One study on Aedes aegypti mosquitoes did find that ultrasound at 100 kHz and very high pressure levels of 90 to 110 decibels disrupted the mosquitoes’ ability to follow CO₂ trails and blocked their indoor invasion behavior.21Journal of Asia-Pacific Entomology. Behavioral and molecular responses of Aedes aegypti to ultrasound That sounds promising until you consider the conditions. Those sound pressure levels are extremely loud, equivalent to a power tool or a rock concert, and the frequency is well above what commercial ultrasonic plug-in devices produce. The small, inexpensive units sold at hardware stores operate at far lower intensities and typically at frequencies that have not been shown to bother flies or mosquitoes. If a product claims to repel flies with ultrasound and costs fifteen dollars, the odds that it replicates these lab conditions are essentially zero.
Weather, Time of Day, and Seasonal Pressure
Fly activity is not constant. Most biting flies are most active during the warmest hours of the day, particularly in the morning and late afternoon when temperatures are high but direct sunlight is not at its peak. Horse flies and deer flies tend to be most aggressive on warm, humid, still days. Wind suppresses their activity significantly, which is another reason breezy days feel like a reprieve.
Barometric pressure also plays a role in fly behavior, though this is less intuitive. Research on parasitoid flies found that drops in barometric pressure, the kind that precede storms, changed foraging behavior in measurable ways.22Journal of Experimental Biology. Barometric pressure decrease induces density-dependent changes in foraging behaviour in a parasitoid fly Many people report that flies seem worse just before a storm, and the pressure-sensing explanation may account for part of this. As pressure drops, flies may accelerate their feeding behavior in anticipation of conditions that will ground them.
Seasonally, fly pressure peaks in late spring through early fall in temperate climates, tracking temperature and moisture. House fly populations can build rapidly after rain when organic matter stays wet, and horse fly populations tend to surge in midsummer near bodies of water where their larvae develop. Understanding these patterns helps with timing your prevention efforts: applying permethrin to outdoor clothing before the peak season, setting traps in early spring before populations explode, and cleaning up breeding sites as temperatures warm.