Abstract Multiple ecological factors are known to drive variation in social behavior. However, group-living in some species appears to be highly conserved, suggesting a phylogenetic influence. In this study, we evaluated both scenarios using intraspecific and interspecific comparisons across octodontid rodents. We first examined 2 different populations of Andean degu (Octodontomys gliroides), representing 2 extremes of a climate vegetation gradient across the Andes range. We evaluated how ecological variation in terms of abundance and distribution of food resources, predation risk, and burrowing costs predicted interpopulation variation in group size and range-area overlap (2 proxies of sociality). We estimated these measures of sociality from livetrapping and radiotelemetry. We then used phylogenetic methods to determine whether sociality exhibits a phylogenetic signal and reconstructed the ancestral state of sociality across the family Octodontidae. Overall activity of females and males of O. gliroides ...