Sweat bees and corn flies are two completely different insects that get confused constantly because they both land on your skin to lap up sweat. The key difference: sweat bees are actual bees that can sting, while corn flies are harmless flies that cannot sting or bite. There’s an old saying that makes the distinction simple: “two wings fun, four wings run.”
Why the Confusion
Corn flies are actually hoverflies in the family Syrphidae, sometimes called flower flies or helicopter flies. They range from about a quarter inch to three-quarters of an inch long and have yellow, orange, and black markings that make them look remarkably like small bees or wasps. This resemblance is no accident. It’s a form of mimicry that discourages predators from eating them.
Making things worse, corn flies are sometimes called “sweat bees” colloquially because they land on people and feed on perspiration using sponge-like mouthparts. True sweat bees belong to the family Halictidae and are genuinely bees. They also land on human skin to consume salt and minerals from perspiration, which is where their common name comes from. So both insects show up on your arms and legs on a hot day, both seem interested in your sweat, and both are small with some yellow markings. It’s no wonder people mix them up.
How to Tell Them Apart
The fastest way to identify which one just landed on you is wing count. Corn flies (hoverflies) have a single pair of wings, like all true flies. Sweat bees have two pairs of wings, like all true bees. That’s four wings total on a sweat bee versus two on a corn fly.
Beyond wings, several other features help:
- Body hair: Sweat bees have fuzzy, hairy bodies built for collecting pollen. Corn flies are typically hairless and smoother.
- Color: Sweat bees often have a metallic green, blue, or bronze sheen on their head and thorax. Corn flies tend to be more brightly colored with bold yellow and black bands on the abdomen.
- Eyes: Corn flies have large, rounded fly eyes that take up much of the head. Sweat bee eyes are smaller relative to their head.
- Flight behavior: Corn flies hover in place, sometimes bobbing their abdomen up and down. They can also dart sideways and backward. Sweat bees fly more like typical bees, moving from flower to flower without the stationary hovering.
Can They Sting or Bite?
Corn flies cannot sting or bite you. They have no stinger and no biting mouthparts. They feed on sweat, nectar, and pollen using sponge-like mouthparts that simply dab at the surface of your skin. If one lands on you, it’s completely harmless.
Sweat bees can sting, though they rarely do. Only females have stingers, and they generally only use them if pressed against the skin or trapped in clothing. The sting is mild, typically causing brief pain, minor redness, and a small white spot at the sting site. On the Schmidt pain scale, sweat bee stings rank near the bottom of all bee stings.
For most people, a sweat bee sting is nothing more than a momentary annoyance. The risk increases if you have a bee venom allergy, which can trigger anaphylaxis with symptoms like throat swelling, difficulty breathing, dizziness, and a drop in blood pressure. Multiple stings at once can also cause a serious reaction even without an allergy, though getting stung by several sweat bees simultaneously is uncommon.
Here’s the practical takeaway from Illinois Extension: if you feel a sting from a small insect that was feeding on your sweat, it was almost certainly a true sweat bee, not a corn fly.
Their Roles in Your Garden
Both insects are genuinely beneficial, which is worth knowing before you swat at them.
Corn flies serve double duty in agriculture. As adults, they feed on nectar and pollen, pollinating flowers in the process. Females need pollen specifically to develop their eggs and reproductive organs, so they visit flowers heavily during peak pollen season. As larvae, they’re voracious predators of aphids. A single hoverfly larva can consume nearly 400 aphids during its development. When hoverfly larvae are abundant in a field, they can reduce aphid populations by 70 to 100 percent. That combination of pollination as adults and pest control as larvae makes them some of the most useful insects in any garden or farm.
Sweat bees are important pollinators for both wild plants and crops. They’re generalists, visiting whatever flowers are available and capable of extracting pollen from many different plant species. They pollinate sunflowers, apples, stone fruits like peaches and cherries, alfalfa, asters, and a wide range of wildflowers. Because they visit such a diverse array of plants, they help fill pollination gaps that honeybees and other specialists might miss.
Keeping Them Off Your Skin
Since both insects are attracted to sweat, the most effective strategy is reducing how much exposed, sweaty skin you offer. Wiping sweat away regularly and wearing long sleeves during outdoor work makes a noticeable difference.
Standard insect repellents containing DEET or picaridin are designed to deter biting insects like mosquitoes and ticks, not stinging insects like bees. That means repellent will not reliably keep sweat bees away. It may have some effect on corn flies since they’re true flies, but it’s not specifically formulated for them either.
A few other practical steps help reduce encounters with both. Avoid wearing bright colors or floral prints outdoors, as these attract flying insects. Skip scented soaps, perfumes, and hair sprays before spending time outside. And stay away from areas where flying insects congregate, like garbage cans, standing water, and dense flower beds, if you’d rather not deal with them.
That said, neither insect is aggressive. Corn flies are completely harmless, and sweat bees only sting when physically threatened. If one lands on you, gently brushing it away is usually all it takes.