Addressing the ongoing biodiversity crisis requires identifying the winners and losers of global change. Species are often categorized based on how they respond to habitat loss; for example, species restricted to natural environments, those that most often occur in anthropogenic habitats, and generalists that do well in both. However, species might switch habitat affiliations across time and space: an organism may venture into human-modified areas in benign regions but retreat into thermally buffered forested habitats in areas with high temperatures. Here, we apply community occupancy models to a large-scale camera trapping dataset with 29 mammal species distributed over 2,485 sites across the continental United States, to ask three questions. First, are species responses to forest and anthropogenic habitats consistent across continental scales? Second, do macroclimatic conditions explain spatial variation in species responses to land use? Third, can species traits elucidate which taxa are most likely to show climate-dependent habitat associations? We found that all species exhibited significant spatial variation in how they respond to land-use, tending to avoid anthropogenic areas and increasingly use forests in hotter regions. In the hottest regions, species occupancy was 50% higher in forested compared to open habitats, whereas in the coldest regions, the trend reversed. Larger species with larger ranges, herbivores, and primary predators were more likely to change their habitat affiliations than top predators, which consistently affiliated with high forest cover. Our findings suggest that climatic conditions influence species space-use and that maintaining forest cover can help protect mammals from warming climates.