Wasps rub their back legs together primarily to clean themselves. The hind legs are responsible for grooming the wings, abdomen, and mid-legs, scraping off dust, debris, and potentially harmful microorganisms that accumulate during flight and foraging. It’s a quick, routine maintenance behavior you’ll often spot when a wasp lands on a surface, and it serves several purposes beyond simple hygiene.
Grooming Keeps Sensory Organs Working
Insects depend on tiny sensory structures scattered across their bodies to detect chemical signals, vibrations, and changes in airflow. Even a thin layer of dust or pollen can interfere with these sensors. When a wasp rubs its hind legs together or drags them across its abdomen and wings, it’s scraping particles off these critical surfaces so it can continue navigating, finding food, and communicating with nestmates.
Wasps organize their grooming into two clusters. The front legs handle the antennae, head, and upper body. The hind legs take care of everything else: wings, the rear portion of the body, and the middle and hind legs themselves. When you see a wasp rubbing its back legs against each other, it’s often cleaning one leg with the other before or after wiping down its wings or abdomen.
Built-In Cleaning Tools
Wasp legs aren’t smooth sticks. The inner surface of each hind leg, particularly along the tibia (the main shin-like segment) and tarsus (the foot), is lined with specialized structures: tiny brushes, combs, and modified bristles designed for scraping. These work like built-in grooming kits. The legs also have curved spurs at key joints that help grip and pull debris free, similar to how the front legs use a notched spur complex to scrape the antennae clean.
Body grooming across all wasps and their relatives (bees, ants, sawflies) follows the same basic motion: a scraping movement using the inner surface of the leg. The back legs rub against each other to transfer collected particles off the combs and bristles, essentially cleaning the cleaning tools themselves so they stay effective.
Spreading Protective Body Oils
Grooming isn’t only about removing things. Wasps also use the rubbing motion to spread a thin layer of waxy, oily compounds across their exoskeleton. These self-secreted lipids serve as a waterproof coating that prevents the wasp from drying out and may help protect against fungal spores and bacteria. By rubbing their legs together and then across their body, wasps distribute this coating evenly, much like applying a layer of moisturizer.
Glands Hidden in the Legs
Wasp legs contain far more glandular tissue than you might expect. Research on common yellowjackets identified 17 different glands spread across the various leg segments, including five that had never been documented in social insects before. These glands are found in areas like the joint between the hip and thigh segments, along the shin, and on the foot pads.
The exact function of many of these glands is still being worked out, but the possibilities include producing chemical signals for communication, secreting substances that help with grip or nest-building, and contributing to the oily protective coating described above. When a wasp rubs its legs together, it may be activating or distributing secretions from some of these glands across its body or onto surfaces it walks on.
Why It Happens More After Eating
You’ll often notice wasps grooming intensely after visiting food sources, and there’s a logical reason for that. Feeding is messy work, especially for wasps that chew prey or lap up sugary liquids. Studies on insects in controlled feeding experiments show that individuals who have recently eaten groom for roughly twice as long as those that haven’t, spending an average of nearly 7 minutes grooming compared to under 3 minutes for unfed insects. The number of grooming sessions stays about the same, but each session lasts considerably longer after a meal.
This makes sense: after feeding, a wasp’s legs and mouthparts are coated in food residue that could attract unwanted attention from predators, gum up sensory organs, or promote bacterial growth. A thorough round of leg rubbing clears all of that away.
Removing Parasites and Pathogens
The world is full of things that want to hitch a ride on an insect. Mites, fungal spores, and parasitic organisms routinely land on wasps during flight or while they forage on flowers and decaying fruit. Regular grooming physically dislodges these hitchhikers before they can establish themselves. Combined with the antimicrobial properties of the waxy body coating, this leg-rubbing behavior forms a first line of defense against infection. For social wasps living in dense colonies, keeping individual hygiene high reduces the risk of disease spreading through the entire nest.
So the next time you see a wasp land and immediately start rubbing its back legs together, it’s running through a well-evolved maintenance routine: clearing debris from sensory organs, redistributing protective oils, cleaning its own grooming tools, and scrubbing off anything that shouldn’t be there. It’s one of the most practical behaviors in the insect world, and virtually every wasp does it dozens of times a day.

