The body's own wake-up signal, and why it stops working
Short answer: waking is a scheduled physiological event assembled over the final hours of sleep — core body temperature bottoms out and starts climbing, cortisol rises off its overnight trough, and remaining sleep pressure falls below the circadian alerting signal. When those three things line up on time, you wake without help. When any of them is disrupted, you don't.
The everyday version of this — surfacing a minute before your alarm — is covered in why you wake up right before your alarm. This is the machinery underneath it: what is actually being secreted, warmed and dissipated while you're unconscious, and which parts of it fail first.
Two processes, one wake-up
The standard framework in sleep science describes wakefulness as the outcome of two independent systems.
The first is homeostatic sleep pressure, which builds with every hour awake and dissipates during sleep. Adenosine, a byproduct of cellular energy use, accumulates in the brain during waking and acts on receptors that promote sleep; caffeine works largely by blocking those receptors, which is why it masks pressure rather than removing it. Sleep pressure is highest at bedtime and lowest by morning.
The second is the circadian alerting signal — an active, clock-driven push toward wakefulness that varies with time of day independently of how long you've been awake. It's counterintuitive but well supported: your clock spends the evening actively fighting sleep, producing a wake maintenance zone a few hours before habitual bedtime when falling asleep is unusually hard, and then withdraws that push overnight.
Waking happens when the alerting signal, climbing through the morning, overtakes the residual sleep pressure, falling through the night. That crossover is the event. Everything below is a description of what makes it happen on time.
Core body temperature does more work than people credit
Body temperature isn't a passive readout of activity. It follows a strong circadian rhythm driven by the suprachiasmatic nucleus, and its shape maps closely onto sleep and alertness.
The rhythm reaches its minimum — the temperature nadir — roughly one to three hours before habitual waking. That trough coincides with the lowest point of alertness and performance in the 24-hour cycle, which is why the pre-dawn hours are when errors cluster in shift work and long-haul aviation. It's also the reference point for circadian timing generally: light before the nadir pushes the clock later, light after it pulls the clock earlier, and the direction reverses across that point.
Falling asleep depends on losing heat. Before sleep onset, blood vessels in the hands and feet dilate, dumping core heat to the skin surface; the resulting drop in core temperature is one of the more reliable physiological correlates of successfully falling asleep. Warm feet cause sleepiness rather than the reverse, which is the mechanism behind the warm-bath-before-bed finding — the bath drives peripheral vasodilation, and the core temperature drop follows once you get out.
In the morning the process runs backwards. Peripheral vessels constrict, heat is retained, and core temperature climbs. That rise is not a consequence of waking up — it precedes it, and it appears to be part of what permits it. A bedroom kept too warm interferes with both ends of this: harder to shed heat at night, and a blunted contrast in the morning.
Cortisol: the overnight ramp and the awakening response
Cortisol has one of the most pronounced circadian rhythms in human physiology. It reaches its lowest point around the first part of the night, stays low through the early hours, and then begins rising in the final hours of sleep, driven by the hypothalamic-pituitary-adrenal axis under circadian control.
Layered on top of that is a separate and better-known phenomenon: the cortisol awakening response, a further sharp increase in the roughly half hour after you actually wake, peaking and then declining across the morning. The CAR is distinct from the circadian ramp — it's triggered by the transition to wakefulness itself, not merely by the time of day, and it doesn't occur if you're already awake. Light exposure at waking appears to amplify it, and the hippocampus has been implicated in generating it.
Functionally, the rise mobilises glucose and prepares the body for the metabolic demands of activity. The intuition that cortisol is simply "the stress hormone" gets this backwards; the morning surge is normal, necessary and a marker of a functioning axis.
Where the literature gets genuinely messy is what modulates the size of the response. A popular finding holds that the CAR is larger before demanding days — anticipated workload, an early flight, an exam. It's plausible and it fits the framing of the response as preparation rather than reaction. It has also had uneven replication, and CAR measurement is notoriously sensitive to protocol details like exactly when the first sample is taken relative to actual waking. Treat the anticipation effect as suggestive rather than established.
Anticipatory waking: what the evidence really supports
The observation that people can wake at a pre-decided time is old and widely reported. The physiological version — that the body starts preparing earlier when an earlier waking is expected — rests on a small and much-cited experiment in which volunteers told they would be woken early showed a rise in the hormone that drives cortisol release beginning well before the expected time, and no such rise when they expected a later wake-up.
It's a striking result and it's the anchor for essentially all popular coverage of this topic. It is also one small study, and the evidence here is thinner than the confident retellings imply. What is much better established is the habitual version: a clock entrained to a stable wake time reliably begins its preparation ahead of that time, without any conscious intention involved.
The practical difference matters. Intention is unreliable and degrades precisely when you need it — short nights before early starts. Entrainment is robust, but only if you've given it something regular to entrain to.
The last cycles are built for easy exits
Sleep architecture cooperates. Slow-wave sleep is concentrated in the first cycles of the night and declines across it, while REM periods lengthen toward morning. The final hours are therefore proportionally light and REM-rich, and both are states you can leave without much cost.
This is why the same seven hours produce different mornings depending on when they happen. Waking at the end of a late-night REM period is a smooth exit; being pulled from slow-wave sleep at 2am produces the heavy, disoriented version of sleep inertia, and at the extreme, confusional arousal.