Most sweat bee nests are small, inconspicuous tunnels dug straight into bare ground, easily mistaken for worm holes or ant mounds. Sweat bees belong to the family Halictidae, one of the largest bee families on Earth, and the vast majority of their roughly 4,400 species nest underground, though a few excavate tunnels in dead wood instead. What looks like a simple dirt hole at the surface hides a surprisingly engineered interior, complete with waterproofed brood chambers, curated microbial ecosystems, and chemical signposts that let each bee find its own front door in a crowded neighborhood.
What a Sweat Bee Nest Looks Like Underground
A typical ground-nesting sweat bee tunnel begins with a vertical or near-vertical shaft, usually a few millimeters wide, descending anywhere from about ten centimeters to roughly half a meter deep. Off this main shaft, the bee carves small, rounded brood cells where her offspring will develop. The arrangement of those cells varies between species. Some species, like Augochlorella striata, build their brood cells in a tight cluster surrounded by an open cavity within the soil, almost like a small underground chamber with cells hanging inside it. Others, such as certain Lasioglossum species, space their cells individually along the tunnel without clustering them together.1Canadian Journal of Zoology. Nest architecture and brood mortality in four species of sweat bee (Hymenoptera; Halictidae) from Cape Breton Island
At the entrance, many species construct a small turret of excavated soil particles. These little mounds serve as both a structural feature and an orientation cue. Returning bees use them to help identify their own nest, though turrets are not strictly required for recognition. When researchers removed turrets, bees could still find their nests, but searching bees preferentially investigated their own turret material over unfamiliar ones, suggesting they carry some chemical signature.2Ethology. Nest Localization and Recognition in a Solitary Bee, Lasioglossum (Dialictus) figueresi Wcislo (Hymenoptera: Halictidae), in Relation to Sociality
Each brood cell is lined with a hydrophobic secretion produced by the female’s Dufour’s gland, a structure found in most bees. In ground-nesting species, these glandular secretions waterproof the cell walls and protect the developing larva from soil moisture and fungal growth. The secretions contain a blend of hydrocarbons, fatty acids, and wax esters.3Springer Link / Journal of Chemical Ecology. Comparison of the Chemical Compositions of the Cuticle and Dufour’s Gland of Two Solitary Bee Species from Laboratory and Field Conditions Once the cell is prepared, the female fills it with a ball of pollen mixed with nectar, lays a single egg on top, and seals the cell with a plug of soil or chewed wood particles, depending on the species.
How Sweat Bees Choose Where to Dig
Sweat bees are particular about their soil. In cool, wet environments, nests tend to appear in slightly acidic bare ground with low organic matter content and a high proportion of fine-textured particles like silt and clay. A study of ground-nesting bee sites found that nests occurred in soils where the combined silt and clay fraction exceeded 80%, well above what had been reported in earlier research from drier regions.4Soil Science Society of America Journal. Soil properties and biochemical composition of ground‐dwelling bee nests in agricultural settings Fine-textured soil holds its shape when tunneled into, which prevents cave-ins. These bees also strongly prefer areas with little vegetation cover and low rock density, likely because roots and stones complicate digging.
Research on a related ground-nesting bee, Andrena vaga, in urban environments found that bare ground was by far the strongest predictor of nest presence. Plots with bare soil had roughly three times as many nests per square meter as sparsely vegetated plots. Nesting sites also had drier, warmer soil, and bees favored sandy or loamy-sand substrates near trees, where canopy cover may have helped regulate soil temperature during larval development.5Wiley Online Library (Ecology and Evolution). Barefoot Trees for Bees: Nesting Site Characteristics of the Ground‐Nesting Bee Andrena vaga in an Urban Environment
For homeowners who notice clusters of small holes in a garden path, a bare patch of lawn, or along a south-facing slope, this is almost certainly what they are looking at. The bees are not damaging turf or structures. They simply need bare, well-drained soil to nest in, and a neglected flower bed or a compacted path fits the bill perfectly.
How a Bee Finds Its Own Nest
In dense nesting aggregations, hundreds of tiny entrances can dot a few square meters of ground. How each bee relocates her own hole is a question researchers have tested by manipulating landmarks around nest entrances. When small objects were placed near nests before a bee’s orientation flight, the bee simply incorporated them into her mental map and returned without trouble. But when landmarks were added or rearranged after the bee had already memorized the area, she was visibly confused and took longer to locate her entrance.6Ethology. Nest Localization and Recognition in a Solitary Bee, Lasioglossum (Dialictus) figueresi Wcislo (Hymenoptera: Halictidae), in Relation to Sociality
Visual landmarks are not the whole story. Chemical cues inside the tunnel also play a role. When researchers rinsed the inner tunnel lining with a solvent that stripped away chemical deposits, the returning bee hesitated significantly before entering, even though the entrance looked the same. Applying plain water or solvent to the outside of the nest had no effect. The implication is that each tunnel has a chemical fingerprint, likely derived from the same Dufour’s gland secretions used to line brood cells, and the bee checks this signature on her way in.
Not All Sweat Bees Nest in the Ground
A handful of sweat bee species break the ground-nesting mold entirely. The nocturnal sweat bees Megalopta genalis and Megalopta ecuadoria, found in Central and South American tropical forests, excavate their nests in dead wood. Females chew out tunnels in standing dead branches or logs and construct brood cells from wood particles cemented with glandular secretions.7PubMed Central. Cryptic extended brood care in the facultatively eusocial sweat bee Megalopta genalis These wood-particle cells are then lined with hydrophobic material and provisioned with the same pollen-nectar mixture used by ground nesters.
Nesting in wood brings a notable advantage: lower parasitism. Studies of Megalopta found that rates of brood cell parasitism were under 5%, substantially lower than those seen in their day-flying, ground-nesting relatives.8Oxford Academic (Biological Journal of the Linnean Society). The evolution of nocturnal behaviour in sweat bees, Megalopta genalis and M. ecuadoria (Hymenoptera: Halictidae): an escape from competitors and enemies? The combination of nocturnal activity and hidden wood nests may make it harder for parasites to locate and infiltrate these nests. Overall nest survivorship, however, was comparable to that of diurnal species, so wood nesting does not appear to offer a blanket survival advantage beyond reduced parasitism.
Social Life Inside the Nest
Sweat bees are famous among entomologists for their flexible social arrangements. Some species are strictly solitary, with each female digging and provisioning her own nest. Others are eusocial, meaning a colony divides labor between a reproductive queen and non-reproductive workers. And some species can go either way depending on conditions, making them ideal subjects for studying how social behavior evolves.
In eusocial sweat bee nests, the queen does not simply outcompete her nestmates through size or fertility. Research on Megalopta genalis found that when queens were removed from nests, the remaining foragers enlarged their ovaries and reproduced at the same rate as solitary females from undisturbed nests. In other words, workers were perfectly capable of reproducing but had been suppressed by the queen’s dominance.9Animal Behaviour. Social competition but not subfertility leads to a division of labour in the facultatively social sweat bee Megalopta genalis (Hymenoptera: Halictidae) The same study tested whether small-bodied females were simply worse at reproducing and therefore defaulted to helping, but found no correlation between body size and reproductive output when social pressure was removed.
The mechanism behind this reproductive suppression involves juvenile hormone, a molecule that regulates development and behavior across many insects. Queens of M. genalis had higher levels of juvenile hormone than workers, and these levels tracked social context rather than age alone.10Hormones and Behavior. Juvenile hormone levels reflect social opportunities in the facultatively eusocial sweat bee Megalopta genalis (Hymenoptera: Halictidae) Comparative genomic work across multiple sweat bee species has pointed to juvenile hormone as a key regulator in the evolutionary transition between solitary and social lifestyles.11Current Biology. Evolution: How sweat bees gained and lost eusociality
Queen dominance may even reshape workers’ brains. In one sweat bee species, queens had larger brains and larger mushroom bodies, a brain region linked to learning and memory, compared to workers. Researchers attributed this difference not to age or experience but to the social dynamics of dominance itself, possibly mediated by queen aggression or control of larval nutrition.12PubMed. Queen Dominance May Reduce Worker Mushroom Body Size in a Social Bee
Whether a Colony Goes Social Can Depend on Geography
The same species of sweat bee can be social in one region and solitary in another. Lasioglossum calceatum, a common European species, is eusocial in warmer southern populations, where the growing season is long enough for a queen to produce a first brood of small workers before raising a second, larger brood of reproductive daughters. In northern populations, where summers are shorter, the species is mostly solitary, and females go directly into hibernation rather than working.
Researchers tested whether this was a flexible response to environmental conditions or a more deeply embedded difference by transplanting bees between populations. When bees from a northern, solitary population were moved to conditions mimicking a longer season, nine out of ten still produced solitary nests. Only one became eusocial. This suggests that the social behavior in L. calceatum has a genetic basis that differs between populations, and the capacity for social plasticity is being lost in bees that have been solitary for many generations.13SpringerLink (Behav Ecol Sociobiol). Limited social plasticity in the socially polymorphic sweat bee Lasioglossum calceatum
What Happens Inside a Brood Cell
The pollen-nectar provisions inside a sealed brood cell are not sterile. They host a community of microbes, including yeasts and bacteria, that ferment and transform the raw pollen into something more nutritionally complete for the developing larva. When researchers experimentally removed these microbes from provisions, larvae suffered higher mortality and grew more slowly, indicating that the microbial community is not incidental contamination but an essential part of the larva’s diet.14PubMed Central. Pollen-borne microbes shape bee fitness
Mothers also monitor their brood cells after sealing them, at least in some species. In Megalopta genalis, when researchers injected foreign material into sealed brood cells, the foundresses reopened them, inspected the contents, and sometimes aborted the brood entirely, removing dead larvae, contaminated pollen, and any foreign substances before occasionally laying a replacement egg.15PubMed Central. Cryptic extended brood care in the facultatively eusocial sweat bee Megalopta genalis This kind of post-closure brood care was unexpected in a bee that provisions each cell en masse and walks away, and it suggests that parental investment in sweat bees is more sophisticated than it might appear.
Nest Enemies and How Bees Defend Against Them
Sweat bee nests face two main categories of natural enemies that operate in distinct ways. Cuckoo bees, particularly species of Sphecodes, enter host nests and lay their eggs on the stored pollen provisions. The cuckoo bee larva hatches first or kills the host egg and then eats the food supply meant for the host’s offspring. Velvet ants (which are actually wasps despite the name) target a later stage: they lay their eggs on the developing host larva or pupa rather than the pollen stores.
A multi-year study of the social sweat bee Lasioglossum malachurum found that these two enemy types avoided each other in time and space. Cuckoo bees were most active during midday, when foraging traffic was heaviest and nest entrances were open. Their activity correlated with the density of open nests, since they need unguarded entrances to sneak in. Velvet ants, by contrast, were most active early in the morning and late in the afternoon, and they gained access by digging their own entry holes rather than using the front door. Their activity was largely independent of whether host nests were open.16Entomological Science. Segregation of temporal and spatial distribution between kleptoparasites and parasitoids of the eusocial sweat bee, Lasioglossum malachurum (Hymenoptera: Halictidae, Mutillidae)
Guard behavior is one of the clearest benefits of social living in sweat bees. In eusocial nests, one or more workers may sit at the entrance with their head blocking the tunnel, inspecting returning bees before allowing entry. Solitary nesters lack this defense, which may partly explain why some species benefit from even a small group of nestmates. The nocturnal, wood-nesting Megalopta species, with their extremely low parasitism rates, seem to have sidestepped much of this pressure by being active when most enemies are not.
What Nesting Aggregations Do to the Soil
When hundreds or thousands of ground-nesting bees nest in the same patch of soil, their collective digging moves a surprising amount of earth. Available estimates suggest that dense nesting aggregations can bring several tonnes of soil per hectare per year to the surface, with reported values ranging from about 5.5 tonnes per hectare for some species up to 27 tonnes for others. The tunnels themselves can reach depths of several meters in extreme cases, though most species place their brood cells between about 10 and 20 centimeters deep.17Elsevier (Basic and Applied Ecology). Beyond pollination – The neglected contribution of ground-nesting bees to soil functions
This digging changes the physical structure of the soil. Bee tunnels create new pore networks that alter drainage, aeration, and the distribution of organic matter at depth. The bees effectively act as soil engineers in a way comparable to earthworms, though this role gets almost no attention compared to their better-known contribution as pollinators. For gardeners, this is another reason to tolerate a ground-nesting bee aggregation rather than eliminate it: the bees are aerating compacted soil while also pollinating nearby plants.
Fossil Nests and How Old This Behavior Is
Ground-nesting in bees is ancient. Fossilized nest structures attributed to sweat bees have been found in the Castillo Formation of Patagonia, dating to roughly 100 million years ago. The trace fossil Cellicalichnus krausei shows the same basic plan seen in modern halictine nests: sessile brood cells attached directly to main tunnels.18PubMed Central. 100 Ma sweat bee nests: Early and rapid co-diversification of crown bees and flowering plants These fossils place the origin of recognizable sweat bee nesting behavior deep in the Cretaceous period, around the same time flowering plants were diversifying rapidly. The co-occurrence suggests that ground-nesting bees and flowering plants were already evolving in tandem at a remarkably early stage.
Living With Sweat Bee Nests in Your Yard
If you have discovered a cluster of tiny holes in a dry, bare patch of your garden, you are almost certainly looking at a sweat bee nesting aggregation. For most people, the best course of action is to leave it alone. Sweat bees are among the mildest-mannered of all stinging insects. Females can sting but rarely do unless physically pressed against skin. Males cannot sting at all. The bees are not aggressive around their nests, and their tunnels do not undermine foundations, lawns, or paving.
If you genuinely need the bees to relocate, the most effective and least harmful approach is to change the soil conditions they chose the spot for in the first place. Adding a thick layer of mulch, increasing irrigation to raise soil moisture, or encouraging ground-cover vegetation will make the site less appealing. Sweat bees select for bare, dry, firm soil, so eliminating those conditions gradually encourages them to nest elsewhere the following season. Pesticides are unnecessary and counterproductive, given that these bees are efficient pollinators of both crops and wildflowers. A nesting aggregation in the right spot is free pollination infrastructure, soil aeration, and a display of one of the oldest insect behaviors still being practiced in essentially the same way it was a hundred million years ago.

