Why Are So Many Flies Attracted to Cows?

Cows are essentially walking billboards for flies, broadcasting a combination of chemical, visual, and thermal signals that blood-feeding and dung-breeding insects have evolved to detect over millions of years. A single cow exhales carbon dioxide and methane, radiates body heat, produces manure rich in nutrients for fly larvae, and presents a large, dark silhouette against the landscape. Each of these cues alone would attract flies; together, they make cattle one of the most heavily parasitized groups of domestic animals on the planet.

What Flies Smell When a Cow Breathes

The air a cow exhales is packed with compounds that act like a dinner bell for biting flies. Carbon dioxide is the most universal attractant for blood-feeding insects, and cows produce it in volume. But researchers studying stable flies found that CO2 alone tells only part of the story. When methane was added to carbon dioxide in a simulated cattle breath mixture, significantly more female stable flies oriented toward the source than when either gas was presented on its own. Interestingly, the flies’ response to methane depended on whether they were also exposed to CO2, suggesting the gases work as a package deal rather than independently.

1PubMed. Carbon Dioxide, Methane, and Synthetic Cattle Breath Volatiles Attract Host-Seeking Stable Flies, Stomoxys calcitrans

Beyond the major gases, cow breath and skin emit dozens of volatile organic compounds that flies pick up at remarkably low concentrations. Electrophysiological studies of five cattle-associated fly species identified several key compounds that trigger antenna responses, including 1-octen-3-ol (sometimes called “mushroom alcohol”), 6-methyl-5-hepten-2-one, and volatiles found in cattle urine. Not every compound worked equally well on every species, which helps explain why different types of flies home in on slightly different parts of a cow’s body.

2PubMed. The role of volatile semiochemicals in mediating host location and selection by nuisance and disease-transmitting cattle flies

Stable flies also have an extremely low detection threshold for dimethyl trisulfide, a sulfur-containing compound found in cattle rumen contents and cow hair. Their sensitivity to it rivals their sensitivity to 1-octen-3-ol, one of the best-known host-location cues in biting-fly biology. In practical terms, this means that even trace amounts of rumen-associated odor clinging to a cow’s coat can pull flies in from a distance.

3Université de Neuchâtel. The role of odour perception in the sensory ecology of the stable fly, Stomoxys calcitrans L.

Cow Dung as a Fly Nursery

Attraction to a cow does not end with a blood meal. For many fly species, cattle manure is the preferred site to lay eggs and raise larvae. When researchers gave house flies a free choice among manure from several livestock species and an artificial diet, cow dung drew the highest numbers of adult flies by a clear margin. Chemical analysis of the volatile profiles from different manures showed qualitative differences in their odor signatures, indicating that what makes cow dung so appealing is a distinct cocktail of airborne chemicals rather than just the sheer quantity of waste a cow produces.

4PubMed. Effects of different animal manures on attraction and reproductive behaviors of common house fly, Musca domestica L.

Stable flies are pickier. Gravid females use specific volatile cues to choose where their larvae will have the best chance of thriving. Research has identified β-citronellene and carvone as signature compounds that female stable flies use to distinguish preferred egg-laying substrates from less suitable ones. In experiments, females laid more eggs on media loaded with those compounds, linking the mother’s odor-guided decision directly to the eventual fitness of her offspring.

5Scientific Reports. Egg-laying decisions based on olfactory cues enhance offspring fitness in Stomoxys calcitrans L. (Diptera: Muscidae)

A cow pat sitting in a pasture is therefore doing double duty: it attracts adult flies looking for food sources and nutrients, and it simultaneously recruits egg-laying females. The cycle feeds itself. Larvae develop in the dung, pupate in the soil underneath, and emerge as adults that immediately seek out the nearest cattle, which conveniently never stray far from their own manure.

The Visual Profile of a Cow

Flies do not navigate by smell alone. Once they get within visual range, a cow’s appearance takes over as the dominant cue. Horseflies and deer flies are strongly attracted to dark, three-dimensional objects. Classic experiments with decoy silhouettes showed that black and red spheres were far more attractive to multiple tabanid species than green or yellow ones. Three-dimensional shapes with convex curvature pulled in more flies than flat silhouettes, and glossy surfaces outperformed matte ones.

6Canadian 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

A cow checks every box on that list. Its body is large, rounded, and dark-coated, and when standing in sunlight its hide reflects polarized light in a way that makes it stand out sharply from the surrounding landscape. Research on horsefly vision found that the darker the host and the higher the degree of polarization of the light bouncing off its coat, the more attractive the animal becomes. Polarization sensitivity lets horseflies separate a sunlit dark cow from other dark patches in the environment, like shadows or mud. It also explains why horseflies preferentially attack animals standing in the sun rather than in the shade.

7PubMed Central. Why do horseflies need polarization vision for host detection? Polarization helps tabanid flies to select sunlit dark host animals from the dark patches of the visual environment

This has a practical implication for coat color. Black cattle generally attract more biting flies than lighter-colored cattle, all else being equal. The polarization-vision research helps explain why: a dark coat reflects highly polarized light, essentially glowing on the horsefly’s sensory channel. A white or cream-colored cow reflects depolarized, diffuse light that is far less conspicuous.

Why Stripes Break the Signal

If dark coats attract flies because of polarized light, disrupting that polarization should reduce the attraction. That is exactly what happens when researchers paint cows with zebra-like black-and-white stripes. In a Japanese study, cows painted with alternating black and white stripes had roughly half the number of biting flies on their bodies compared with unpainted controls or cows painted with only black stripes. Stripe-painted cows also performed about 20% fewer fly-repelling behaviors like tail flicking and leg stamping, consistent with simply having fewer flies to fight off.

8PLOS ONE. Cows painted with zebra-like striping can avoid biting fly attack

Parallel research on humans painted with white stripes on brown skin found a similar result: the striped pattern cut horsefly attractiveness by about 50% compared with a uniformly brown surface. The likely mechanism is that the stripes break up the uniform polarization pattern that horseflies rely on for host detection, creating a confusing visual signal that makes the animal harder to identify as a host.

9PubMed Central. Striped bodypainting protects against horseflies

Painting cattle daily is not exactly scalable ranching, but the findings have inspired work on patterned leg wraps and reflective coat treatments. They also add weight to the long-debated hypothesis that zebra stripes evolved partly as a fly-deterrence strategy, since zebras share their habitat with some of the most persistent biting flies in the world.

Heat and the Escape Advantage

Biting horseflies prefer warmer hosts, and it turns out the reason is not that warm blood is easier to find. Researchers measured how successfully horseflies escaped after landing on surfaces of different temperatures and found that escape success was strongly linked to surface temperature. Flies escaped most easily from surfaces above 50°C, roughly the skin temperature of a black horse standing in direct sun. The conclusion is counterintuitive: horseflies are drawn to warmer, darker hosts because those hosts let the fly take off again more easily after feeding, improving its survival odds.

10PLOS ONE. Why do biting horseflies prefer warmer hosts? tabanids can escape easier from warmer targets

For cattle standing in a pasture on a hot day, this creates an unfortunate feedback loop. Dark-coated animals absorb more solar radiation, which raises their surface temperature, which makes them easier for horseflies to safely feed on, which makes them even more preferred targets. It is one more reason why black cattle in summer tend to carry heavier fly burdens than lighter-colored animals.

What Flies Cost Cattle

The sheer number of flies a cow attracts is not just an annoyance. It translates directly into lost weight, reduced milk production, and increased disease risk. In feedlot studies that controlled fly populations with screens, researchers found that the indirect effects of stable fly feeding, particularly the defensive bunching behavior where cattle crowd together to protect their legs, accounted for about 72% of reduced weight gain. Only about 29% of the loss came from the direct cost of blood feeding and the energy spent fighting flies.

11Journal of Economic Entomology. Effects of Stable Flies (Diptera: Muscidae) and Heat Stress on Weight Gain and Feed Efficiency of Feeder Cattle

The bunching behavior itself is the bigger problem. When cattle crowd together in tight groups, they lose the ability to thermoregulate through normal airflow, and heat stress compounds the fly-related stress. They also eat less, since bunched cattle are not grazing. Observations of pastured dairy cows quantified the toll: untreated cows averaged more than five tail flicks per minute plus additional skin twitches, head throws, and leg stamps, all of which consume energy and reduce time spent feeding.

12Applied Animal Behaviour Science. Behavioural and physiological responses to pest flies in pastured dairy cows treated with a natural repellent

Flies also serve as vectors for cattle diseases. Face flies carry the bacterium responsible for infectious bovine keratoconjunctivitis, commonly known as pinkeye. Field surveys found that although less than 1% of face flies tested positive for the pathogen at any given time, contamination rates tracked active infection in the herd, meaning the flies were picking up and redistributing the bacteria among cattle.

13Journal of Economic Entomology. Field Association of Female Face Flies with Moraxella bovis, an Etiological Agent of Bovine Pinkeye

Biting flies can also transmit lumpy skin disease, a viral infection that has spread across continents in recent decades. Blood-feeding insects including stable flies and mosquitoes facilitate its transmission across herds and international borders, making fly control a biosecurity issue as well as a welfare one.

14Taiwan Veterinary Journal. Lumpy Skin Disease: An Encroaching Risk in Cattle Farming

How Farmers Manage the Problem

Given the scale of the problem, fly management on cattle operations is a multi-front effort. One approach that has gained traction is the push-pull strategy, which combines a repellent applied to the animal (the “push”) with a baited trap set nearby (the “pull”). In field trials, a coconut oil fatty acid formulation applied to cattle combined with traps lured by m-cresol reduced on-animal stable fly counts at a rate comparable to permethrin, a standard synthetic insecticide. The traps alone captured enough flies to cut on-animal numbers by an estimated 17 to 21%.

15PubMed. A push-pull strategy to suppress stable fly (Diptera: Muscidae) attacks on pasture cattle via a coconut oil fatty acid repellent formulation and traps with m-cresol lures

Natural product repellents have also shown promise against horn flies. Testing of three plant-based repellents found that all three effectively deterred biting, exhibiting both feeding deterrence and spatial repellency. The challenge with natural repellents is longevity: they evaporate quickly compared with synthetic chemicals, so integrating them into slow-release delivery systems is a key area of ongoing research.

16PubMed. Comparisons of antifeedancy and spatial repellency of three natural product repellents against horn flies, Haematobia irritans (Diptera: Muscidae)

One of the more creative approaches involved mimicking the smell of an animal that tsetse flies avoid. Waterbuck, a large African antelope, are rarely bitten by tsetse despite sharing habitat with cattle. Researchers identified four key compounds in the waterbuck’s odor profile and developed a collar-mounted slow-release system that let cattle “wear” the waterbuck scent. In a large field trial involving 1,100 cattle over two years in Kenya, the collars reduced trypanosome disease levels by more than 80%. Protected cattle gained more weight, their owners ploughed 66% more land with healthier draft animals, and trypanocide drug use dropped by over 60%.

17PLOS Neglected Tropical Diseases. Protecting cows in small holder farms in East Africa from tsetse flies by mimicking the odor profile of a non-host bovid

Biological control adds another layer. Dung-inhabiting beetles suppress fly populations by competing with fly larvae for resources in the cow pat or by directly eating fly eggs and larvae. These beetles naturally colonize dung, which means that management decisions affecting dung beetle survival, such as the choice of parasiticide administered to cattle, can have downstream consequences for fly pressure. Feed-through insecticides that kill fly larvae in dung sometimes also harm beneficial beetles, so choosing the right product matters.

18PubMed. Feed-through insecticides for pest fly management on beef cattle pastures: impacts on dung-inhabiting Coleoptera

Climate Change and the Growing Fly Season

The fly problem around cattle is likely to get worse as temperatures rise. Climate models applied to calyptrate fly populations predicted substantial increases in fly numbers, with projections reaching up to a 244% increase by 2080 compared with current levels. The biggest jumps are expected during summer months, extending and intensifying the peak fly season.

19Journal of Applied Ecology. Predicting calyptrate fly populations from the weather, and probable consequences of climate change

Warmer winters and earlier springs also mean that fly populations emerge earlier in the year. Simulations of blowfly dynamics under various warming scenarios showed an elongated fly season with earlier spring emergence and a higher cumulative incidence of strike events, which occur when flies lay eggs on living animals. While those simulations focused on sheep, the underlying driver, temperature-dependent development rates of fly larvae, applies across livestock species. Cattle in regions that currently get a reprieve from flies during cool months may find that reprieve shrinking year by year.

20Global Change Biology. Climate change and livestock parasites: integrated management of sheep blowfly strike in a warmer environment

For cattle producers, these projections mean that fly management will need to be more aggressive, start earlier in the season, and rely on integrated strategies rather than any single product. Insecticide resistance is already a recognized problem in horn fly populations, which makes the development of repellent collars, push-pull systems, biological controls, and even visual tricks like coat striping more than curiosities. They are increasingly part of the practical toolkit for keeping flies off cattle in a warming world.