We previously found that Mertk and its ligand Gas6, astrocytic genes involved in phagocytosis, are upregulated after acute sleep deprivation. These results suggested that astrocytes may engage in phagocytic activity during extended wake, but direct evidence was lacking. Studies in humans and rodents also found that sleep loss increases peripheral markers of inflammation, but whether these changes are associated with neuroinflammation and/or activation of microglia, the brain's resident innate immune cells, was unknown. Here we used serial block-face scanning electron microscopy to obtain 3D volume measurements of synapses and surrounding astrocytic processes in mouse frontal cortex after 6–8 h of sleep, spontaneous wake, or sleep deprivation (SD) and after chronic (∼5 d) sleep restriction (CSR). Astrocytic phagocytosis, mainly of presynaptic components of large synapses, increased after both acute and chronic sleep loss relative to sleep and wake. MERTK expression and lipid peroxidation in synaptoneurosomes also increased to a similar extent after short and long sleep loss, suggesting that astrocytic phagocytosis may represent the brain's response to the increase in synaptic activity associated with prolonged wake, clearing worn components of heavily used synapses. Using confocal microscopy, we then found that CSR but not SD mice show morphological signs of microglial activation and enhanced microglial phagocytosis of synaptic elements, without obvious signs of neuroinflammation in the CSF. Because low-level sustained microglia activation can lead to abnormal responses to a secondary insult, these results suggest that chronic sleep loss, through microglia priming, may predispose the brain to further damage.