School connectedness, a construct indexing supportive school relationships, has been posited to promote resilience to environmental adversity. Consistent with prominent calls in the field, we examined the protective nature of school connectedness against two dimensions of early adversity that index multiple levels of environmental exposure (violence exposure, social deprivation) when predicting both positive and negative outcomes in longitudinal data from 3,246 youth in the Fragile Families and Child Wellbeing Study (48% female, 49% African American). Child and adolescent school connectedness were promotive, even when accounting for the detrimental effects of early adversity. Additionally, childhood school connectedness had a protective but reactive association with social deprivation, but not violence exposure, when predicting externalizing symptoms and positive function. Specifically, school connectedness was protective against the negative effects of social deprivation, but the effect diminished as social deprivation became more extreme. These results suggest that social relationships at school may compensate for low levels of social support in the home and neighborhood. Our results highlight the important role that the school environment can play for youth who have been exposed to adversity in other areas of their lives and suggest specific groups that may especially benefit from interventions that boost school connectedness.