Hvile
Sleep
Lina

Sleep Stages Explained: What Your Brain Does While You Sleep

May 17, 2026
2 min read
A quiet, intentional morning moment for introverts.

Most people think of sleep as a single, uniform state of unconsciousness. The reality is far more complex and far more remarkable. During an eight-hour night, you cycle through five distinct stages of sleep—four non-REM stages and one REM stage—approximately four to six times. Each stage has specific neurological functions that cannot be replicated by another stage, and losing any one of them carries specific cognitive and physiological costs.

The Five Stages

StageTypeDurationPrimary FunctionKey Feature
N1NREM1–5 minTransition to sleepHypnic jerks; easily woken
N2NREM10–25 minMemory consolidation, motor learningSleep spindles; heart rate slows
N3NREM (Deep)20–40 minPhysical repair, immune function, growth hormoneDelta waves; hardest to wake
N4NREM (Deep)Blends with N3Declarative memory consolidationSlow-wave sleep peak
REMREM10–60 minEmotional processing, creativity, procedural memoryRapid eye movement; vivid dreams

Why the First and Second Half of the Night Are Different

Sleep architecture is not evenly distributed across the night. Deep slow-wave sleep (N3) dominates the first half of the night—roughly the first four hours. REM sleep dominates the second half—the final three to four hours before waking. This asymmetry has profound practical implications:

  • Going to bed late primarily sacrifices deep sleep (immune function, physical repair)
  • Waking early primarily sacrifices REM sleep (emotional regulation, creativity, stress processing)
  • Alcohol before bed suppresses REM sleep specifically, causing emotionally dysregulated next-day mood

Why REM Sleep Is Non-Negotiable

REM sleep is when the brain processes the emotional charge of difficult experiences—essentially «filing» them without the cortisol that made them distressing when they occurred. Matthew Walker describes REM sleep as «overnight therapy.» People deprived of REM show exaggerated amygdala reactivity, impaired emotional recognition, and reduced capacity for empathy. Chronic REM deprivation is strongly associated with anxiety and depression.

«REM sleep is like overnight therapy — the brain processes the emotional charge of difficult experiences and files them without the cortisol that made them distressing at the time.» — Matthew Walker PhD, UC Berkeley, Why We Sleep

Protecting Your Sleep Architecture

Prioritise a consistent 8-hour window. Avoid alcohol within 3 hours of bed (it selectively destroys REM). Keep your bedroom cool (16–19°C) to support slow-wave sleep. See the complete sleep hygiene checklist for the full system.

Lina, Founder of Hvile

Written by

Lina

Founder of Hvile

Lina created Hvile after searching for a mindfulness app that felt genuinely calm — not gamified, not clinical. She writes about rest, rituals, and the quiet practices that actually make a difference.