The experience of a fly persistently buzzing around or landing on the skin is a common annoyance. This seemingly random harassment is actually a focused biological process driven by the fly’s instinct to survive and forage. The insect’s small size hides a sophisticated set of sensory tools that allow it to detect and home in on humans. Our bodies emit a complex cocktail of signals that flies interpret as an irresistible invitation for a quick meal or a warm resting spot.
Sensory Systems: How Flies Detect You
A fly’s ability to locate a human target begins with its remarkable visual system. Its large compound eyes are made up of thousands of individual lenses, called ommatidia, which grant it an almost 360-degree field of view. While their visual acuity is low, their perception of movement is superior to ours, allowing them to process visual information at an extremely high frame rate. This helps them detect and evade threats, such as a hand swatting at them. They are sensitive to high-contrast areas and movement, which helps them track a large, dark, moving object like a human body.
Flies also possess a highly advanced chemical detection system, which is their primary method for finding food. Their antennae are covered in tiny hairs containing olfactory receptors that detect specific volatile chemicals in the air. These receptors allow the fly to “smell” its environment, guiding it toward promising odor plumes. Once the fly lands, it uses gustatory receptors, essentially taste buds, located on its feet and mouthparts, to instantly determine if a surface is edible.
The Specific Chemical Attractants
The most powerful long-distance signal attracting a fly is the carbon dioxide (\(\text{CO}_2\)) exhaled with every breath. Flies possess specialized chemoreceptors that are acutely sensitive to the increased concentration of \(\text{CO}_2\) in a human’s breath plume. This acts as a clear beacon signaling the presence of a large mammal. This initial detection system tells the fly where to start looking.
As the fly gets closer, it detects a complex blend of body odors known as the “cloud of effervescence” surrounding the human body. Human sweat is a major draw because it contains salts, proteins, and carbohydrates that provide sustenance and hydration. Lactic acid and carboxylic acids, which are metabolic byproducts in sweat, are particularly attractive to many fly species.
The composition of a person’s skin oils and the volatile organic compounds (VOCs) produced by their unique skin microbiome also contribute to their specific scent. These chemicals signal a potential food source, similar to decaying organic matter, which many flies naturally feed on. The warm surface temperature of the human body provides a desirable microclimate, signaling a stable and warm resource for the insect.
Behavioral Reasons for Circling and Landing
The characteristic circling behavior a fly exhibits, particularly around the head, is a combination of orientation and investigation. The head region concentrates the primary attractants: the plume of \(\text{CO}_2\) from breathing and moisture from the eyes, nose, and mouth. Circling allows the fly to sample the air from multiple angles to pinpoint the exact source of the odors and moisture before landing.
Landing on the skin serves a practical purpose, representing a feeding or resting attempt. The fly uses its foot receptors to taste the surface and assess the nutritional value of the sweat and skin oils. Houseflies are opportunistic feeders seeking the diluted nutrients and salts on the skin’s surface, rather than blood.
If the fly is a female of certain species, she may be seeking a warm, stable surface to rest or lay eggs, mistaking the human for a suitable substrate. The fly may also land simply to rest, using the large, warm surface of the human body as a temporary perch.

