A molecular integrator of sleep duration and interruption
Sleep is regulated across multiple timescales. Transitions between sleep and wake happen within seconds1,2; individual sleep bouts last minutes to hours3; and homeostatic sleep need has classically been tracked across multiple bouts4. Rapid sleep-to-wake transitions are driven by identified neurons, circuits, and neuromodulators1, while slow wave activity correlates with sleep need across hours5,6. However, no signal has been shown to encode sleep history within individual sleep bouts, the timescale at which the brain must continuously monitor how much sleep has occurred and how likely waking is at any given moment. Biochemical signals downstream of sleep/wake-associated neuromodulators display slower dynamics than the neuromodulators themselves7,8, making them candidate encoders of within-bout sleep history. Here, by measuring protein kinase A substrate phosphorylation (PKA-SP) in real time in freely behaving mice7-9, we show that membrane PKA-SP decreases exponentially within each sleep bout with consistent kinetics across bouts, integrates sleep duration and sleep interruption, and continuously forecasts moment-to-moment waking probability. Following sleep deprivation, PKA-SP reaches lower levels at the end of sleep bouts, correlating with increased sleep need dissipation. These findings identify a molecular signal encoding within-bout sleep history, revealing how biochemical dynamics bridge fast arousal circuits and the slow timescale of classical sleep homeostasis.