Side by side
| Deep sleep (stage 3) | REM sleep | |
|---|---|---|
| When | Longer periods in the first half of the night | First about 90 min after falling asleep; longer later |
| Body | Heartbeat and breathing at their lowest | Breathing faster and irregular, heart rate near waking levels |
| Brain | Slowest brain waves | Activity closer to wakefulness; most dreaming |
| Muscles | Relaxed | Arms and legs temporarily paralyzed |
| Waking up | Hard to wake; groggier | Easier to wake |
Sources: NINDS (NINDS) and NHLBI (NHLBI).
Is REM deep sleep?
No. "Deep sleep" is the name for non-REM stage 3 (slow-wave sleep). REM is a separate phase in which the brain is very active (NHLBI).
Which is more important?
Both. Deep sleep is the stage you need to feel refreshed, and sleep as a whole is what lets the brain form and keep the pathways for learning and memory (NINDS). Because deep sleep is front-loaded and REM back-loaded, the practical rule is the same for both: sleep 7 or more hours on a regular schedule (CDC).
Why it matters for your alarm
Being woken from deep sleep tends to cause stronger grogginess (sleep inertia) (Hilditch and McHill, 2019). Late in a full night you are mostly in light and REM sleep, which is why waking at the end of a cycle feels easier.
Any phone app estimates your sleep from the signals it can pick up; the test that actually measures sleep stages is polysomnography, an overnight sleep study.
Where the Sunrise app helps
Sunrise estimates your sleep phases on the nights you start in the app, and its smart wake-up window of up to 30 minutes rings at the lightest sleep moment it finds, so you are less likely to be pulled out of deep sleep.