Sweat bees are one of the most socially polymorphic lineages on the planet. In obligately eusocial species, newly enclosed females may become either queens or workers, depending on the environmental and social circumstances of the nest into which they emerge. In socially polymorphic species, females also have the option of nesting solitarily, founding a nest and raising future reproductives alone, without the help of other adult females. Halictus ligatus is a widespread Nearctic, ground-nesting sweat bee. It has been particularly well studied in Ontario, where detailed studies have described it as obligately eusocial. Here we report evidence that the flexibility of female H. ligatus actually extends to expressing behaviour more typical of socially polymorphic species, those in which some individuals reproduce solitarily. In a population in southern Ontario, black wasps (Astata sp.) emerged from the soil beneath the nesting aggregation and proceeded to excavate their own nesting tunnels, dislocating many H. ligatus nest entrances. Young workers whose natal nests were destroyed by the wasp activity constructed new nests, so under very specific circumstances, it is possible for potential altruists to nest solitarily.