Sleep is an essential process that supports learning and memory by acting on synapses through poorly understood molecular mechanisms. Using biochemistry, proteomics, and imaging in mice, we find that during sleep, synapses undergo widespread alterations in composition and signaling, including weakening of synapses through removal and dephosphorylation of synaptic AMPA-type glutamate receptors. These changes are driven by the immediate early gene Homer1a and signaling from group I metabotropic glutamate receptors mGluR1/5. Homer1a serves as a molecular integrator of arousal and sleep need via the wake- and sleep-promoting neuromodulators, noradrenaline and adenosine, respectively. Our data suggest that homeostatic scaling-down, a global form of synaptic plasticity, is active during sleep to remodel synapses and participates in the consolidation of contextual memory.