After one night of inadequate sleep, brain activity ramps up in pain-sensing regions while activity is scaled back in areas responsible for modulating how we perceive painful stimuli. This finding provides the first brain-based explanation for the well-established relationship between sleep and pain.