Autism-associated neuroligin-3 deficiency in medial septum causes social deficits and sleep loss through divergent downstream circuit targets. Here, NLGN3 is linked to autism.