Individual differences in children's cognitive abilities impact life and health outcomes.What factors influence these individual differences during development? Here, we test whether children's environments predict cognitive performance, independent of well-characterized socioeconomic effects. We analyzed data from 9002 9-to 10-year olds from the Adolescent Brain Cognitive Development Study, an ongoing longitudinal study with community samples across the United States. Using youth-and caregiverreport questionnaires and national database registries (e.g., neighborhood crime, walkability), we defined principal components summarizing children's home, school, neighborhood, and cultural environments. In two independent samples (ns = 3475, 5527), environmental components explained unique variance in children's general cognitive ability, executive functioning, and learning/memory abilities. Furthermore, increased neighborhood enrichment was associated with an attenuated relationship between sociodemographics and general cognitive abilities. Thus, the environment accounts for unique variance in cognitive performance in children and should be considered alongside sociodemographic factors to better understand brain functioning and behavior across development.