Strictly FYI · Vol. I A field guide to the fascinating Last filed Tuesday, November 24, 2026Filed Nov 24, 2026

FYI-020 · Science · Filed Sep 3, 2026

Why Do Flies Rub Their Hands? Their Feet Are Their Tongues

A fly's feet carry both its taste bristles and its adhesive pads, and a dust-covered fruit fly cleans its head first, then its abdomen, wings and thorax.

A fly lands on the rim of your glass, holds still for a second, and starts scrubbing its front legs against each other. Then it drags a front leg down over its own face, rubs again, and later works the back pair over its wings. You have watched this a thousand times without once wondering what the fly was working on.

Much of its sense of taste and all of its grip live in those feet. The wiping is maintenance on them.

Why do flies rub their hands together?

Flies rub their legs together to clean them. A fly’s feet do two jobs at once: they carry the taste bristles it uses to identify food, and the adhesive pads it uses to hold on to smooth surfaces. In dust experiments the rubbing came between sweeps of the body, probably scraping off dirt the legs had just collected, and a dusty fly cleaned itself in a priority order, head first.

Much of a fly’s sense of taste lives in its legs

Flies taste by contact. Yan Chen and Hubert Amrein, writing in Current Biology in 2014 about the fruit fly Drosophila melanogaster, put the count at approximately 250 taste bristles on the labial palps and legs - mouthparts and feet, sharing one job.

Erica Freeman and Anupama Dahanukar’s 2015 review of Drosophila taste in Current Opinion in Neurobiology places the leg’s taste organs on the distal tarsal segments, the small segments that make up the foot, and describes at least three classes of sweet-taste neuron there, sorted by how strongly and how selectively they answer sugars. The review also places taste sensilla on the front margins of the wings.

A fly that walks across your plate has therefore already sampled it before its mouthparts arrive. The review reports something odder: bitter neurons in tarsi and wings also respond to microbial lipopolysaccharides, the molecules that coat the outside of many bacteria, and that response triggers grooming.

A fly’s legs can taste the outer coat of a bacterium, and that taste is enough to set off the wiping. The sensor and the thing being cleaned are one piece of hardware.

Those same feet are how a fly holds a ceiling

Stanislav Gorb, in a 1998 paper in Proceedings of the Royal Society B, describes a fly’s adhesive pads - the pulvilli, at the final segment of the foot - as covered in tenent setae, hairs that “serve to increase the actual area of attachment to the surface”. The pads also deliver an adhesive secretion, and Gorb concluded that “secretion injection is precisely targeted under the distal tip of a single seta”.

Grip, in other words, is an area problem. Guillermo Amador and colleagues, summarising earlier work on insect pads in the Journal of the Royal Society Interface in 2017, put the consequence plainly: soiling decreases adhesion by decreasing the contact area. In their own dock beetles, which climb on hairy pads of the kind flies also have, soiled pads slipped 10 times further than clean pads.

No fly was tested, but the beetles point one way: dirt costs grip. The same paper proposes that soiled feet slip but shed particles in return, so a slipping pad partly cleans itself.

Dust a fruit fly and it cleans its head first

Andrew Seeds and six co-authors coated fruit flies in yellow dust, filmed them at 30 frames per second, then used genetically targeted activation to drive individual cleaning movements against one another. Their 2014 paper in eLife reports a suppression hierarchy that starts at the head and ends at the thorax.

PriorityBody partCleaned by
1EyesFront legs
2AntennaeFront legs
3AbdomenHind legs
4WingsHind legs
5ThoraxHind legs

The front legs work the head, then the hind legs take over, abdomen to wings to thorax. Between sweeps of each body part, the flies stopped to rub their legs together, likely when the legs had “accumulated sufficient dust from sweeping the body, which was then rubbed towards the distal leg parts and removed.” That is probably the hand-rubbing: the legs scrubbing off what they have just collected.

The progression is statistical rather than scripted. The paper reports flies that go back to a body part they had already left behind, which it calls return cleaning. It also needed the dust: undusted flies in the same study groomed without any orderly progression.

No clock is running that sequence

The obvious explanation would be an activation chain, where each movement triggers the next like dominoes. Seeds and colleagues tested it by switching one cleaning movement on and then off in flies with no dust on them, and the next movement in the sequence did not follow. Instead, all of the cleaning programs are switched on at once by the dust and then compete, and the ones higher in the hierarchy suppress the ones below. In the paper’s words, “cleaning one body part reduces the sensory drive to its motor program, which relieves suppression of the next movement, allowing the grooming sequence to progress down the hierarchy.”

What the fly carries is a ranking, not a schedule. The order lives in which program suppresses which, and the timing comes from the dust itself, as each body part comes clean and lets the next demand through. The authors call their result “the first example of an innate motor sequence implemented by the prevailing model for generating human action sequences”, a model first built from experiments on how people type the letters of a word.

The scheming fly is a story we bring with us

The gesture looks like the stage villain rubbing his palms, so people read plotting into it, or gloating. Nothing in the fly supports that. The same sequence runs in a dust-covered fly in a laboratory rig with no sandwich anywhere in the building, and it advances on sensory feedback rather than on mood.

Grooming does not even need a head. In a 2014 study in Frontiers in Behavioral Neuroscience, Yanagawa, Guigue and Marion-Poll touched the legs and wing edges of decapitated fruit flies with a toothpick dipped in test chemicals, and found bacterial lipopolysaccharide, dead E. coli and bitter quinine “quite effective in triggering grooming movements”, while sucrose had no effect. The hind legs did most of that headless grooming, stroking the wings, abdomen and back.

The washing does not leave a fly free of germs

The fair assumption about an animal that grooms this hard is that it ends up clean. Ana Carolina Junqueira and colleagues did not test grooming, but their 2017 paper in Scientific Reports shows what flies carry: they shotgun-sequenced 116 individual houseflies and blowflies from varying habitats on three continents and catalogued the microbes in and on them, gut included. The count depends on the method, on how strict its matching is and how big a reference database it searches: the specI method gave 50 species-level assignments across the dataset, a middle method 316 species on blowflies and 351 on houseflies, and the loosest 1,655, with human pathogens such as Helicobacter pylori among the detections.

Where on the body the bacteria sit comes from a single blowfly the team dissected into head, thorax, abdomen, and legs plus wings: “Legs and wings displayed the largest microbial diversity and were shown to be an important route for microbial dispersion.” The outside of the body carries live bacteria too. Washing flies caught in cities yielded up to 30,000 colony-forming units (CFUs) per fly, and blowflies that landed on a lawn of E. coli and then walked across sterile agar left colonies in the pattern of their footprints.

The legs a fly rubs so often are the same legs it sets down on your food. So the fly on your glass is cleaning the feet that carry much of its taste and all of its grip, in an order set, when it is dusty, by a ranking it did not choose, and it will not be germ-free when it finishes. Next time one lands, watch its front legs: in the dust experiments, they went to the head before anything else. Strictly FYI.

Questions readers ask

Do flies really taste with their feet?

Yes. Taste bristles sit on the last segments of the legs, and a 2014 Current Biology paper by Chen and Amrein puts the number at roughly 250 taste bristles across a fruit fly's mouthparts and legs. A fly walking on your plate has already sampled it.

What order do flies clean themselves in?

Dust-covered fruit flies work down a priority order: eyes, then antennae, then abdomen, then wings, then thorax. Andrew Seeds and colleagues established the sequence in eLife in 2014, first by filming dust-covered flies and then by driving individual cleaning movements against each other to see which won.

Does all that grooming make flies clean?

Not of microbes. A 2017 Scientific Reports study that sequenced 116 houseflies and blowflies found bacteria including human pathogens such as Helicobacter pylori, and washing flies caught in cities yielded up to 30,000 bacterial colonies per fly. In one blowfly dissected into four parts, the legs and wings carried the most diverse bacteria.

Drafted with AI assistance, then checked against the sources linked above. How we work explains the process.

Spotted an error? Write to us. Fixes are listed in the corrections log.

The standing notice

Liked this? Get new entries by email.

Confirm once from your inbox. Every email has an unsubscribe link.