Sociality may allow organisms to colonize habitats where similar species with solitary lifestyles cannot persist. We test this idea by taking advantage of the distribution of Anelosimus spiders in Ecuador, where highly social species are common in the lowland rainforest, while related 'subsocial' species (with both social and solitary life cycle phases) are present only at higher elevations. ...