Sleep disruption is a common but poorly understood feature of neurodevelopmental disorders including autism spectrum disorder. A study by Bian et al. reveals that sleep disruption in adolescent mice leads to long-lasting changes in social novelty preferences. Importantly, these perturbations can be restored through balanced actions in midbrain dopamine systems.