HomeExplainers › Medicine

Medicine

How Sleep Cycles Work: REM, Deep Sleep, and the Hours Between

Open Brief Staff July 6, 2026 6 min read
Key points

Eight hours in bed is not eight uniform hours of the same biological state. Sleep is structured, moving through a repeating sequence of distinct stages that researchers first mapped using electroencephalography, which records the brain's electrical activity through electrodes on the scalp. Each stage produces a recognizably different pattern of brain waves, and each does different physiological work, which is why two people who sleep the same number of hours can wake up feeling very differently depending on how their time was actually distributed across stages.

The Two Broad Categories: NREM and REM

Sleep divides into two fundamentally different categories: non-rapid eye movement sleep, or NREM, and rapid eye movement sleep, or REM. NREM sleep is further divided into three stages of increasing depth, moving from light, easily disrupted sleep in stage 1 through a transitional stage 2, into stage 3, commonly called deep sleep or slow-wave sleep because of the large, slow brain-wave patterns that characterize it. REM sleep is a distinctly different state where the brain becomes almost as electrically active as it is while awake, the eyes move rapidly beneath closed lids, and most of the body's voluntary muscles are temporarily paralyzed, a state researchers believe prevents people from physically acting out the vivid dreams that occur predominantly during this stage.

What Deep Sleep Actually Does

Deep, slow-wave sleep is when the body does most of its physical repair work: growth hormone release peaks during this stage, tissue repair and muscle growth are prioritized, and the immune system carries out processes linked to fighting infection. Deep sleep is also when the brain appears to clear metabolic waste products that accumulate during waking hours, through a drainage process some researchers call the glymphatic system, and it plays a major role in consolidating certain types of memory, particularly factual and procedural memory, transferring information from short-term to more durable long-term storage. Deep sleep is also the stage from which it is hardest to wake someone, and someone abruptly woken from it typically experiences sleep inertia, a period of grogginess and impaired cognitive performance that can last anywhere from several minutes to, in some cases, closer to an hour.

What REM Sleep Does Differently

REM sleep appears to support a different kind of memory processing, particularly emotional memory and the kind of creative, associative thinking involved in connecting previously unrelated ideas. Heart rate, breathing, and brain activity during REM sleep resemble a waking state far more closely than any NREM stage does, which is part of why REM sleep is sometimes called paradoxical sleep: the body is deeply asleep and largely paralyzed, while the brain is behaving almost as if awake. Most vivid, narrative dreaming happens during REM sleep, though some dream activity does occur during NREM stages as well, typically less vivid and less story-like.

Why the 90-Minute Cycle Repeats and Changes Shape

A full sleep cycle, moving through the NREM stages and then into a period of REM sleep before starting over, takes roughly 90 minutes in most adults, and a typical night includes four to six such cycles. The proportions within each cycle are not constant across the night, though: the earliest cycles are dominated by deep, slow-wave sleep with relatively brief REM periods, while the balance shifts as the night goes on, with deep sleep becoming less prominent and REM periods growing progressively longer, often reaching 20 minutes or more by the final cycles before waking. This is one practical reason a shortened night of sleep disproportionately cuts into REM sleep specifically: since REM is concentrated in the later cycles, waking up early tends to cut it off first. The National Heart, Lung, and Blood Institute's overview of sleep science lays out this stage progression in more clinical detail than a short explainer can cover.

Why the Stage You're Woken From Matters

An alarm going off during deep sleep tends to produce the sharpest, most disorienting grogginess, while waking during light NREM sleep or near the natural end of a REM period tends to feel far more comfortable, even at an identical total hours-slept figure. This is part of the reasoning behind sleep-tracking devices and apps that try to time an alarm to a lighter sleep stage within a target window rather than a single fixed minute, though the accuracy of consumer devices at correctly identifying sleep stage from wrist movement or heart rate alone varies considerably and should not be treated as clinically precise. The mechanism connecting brain chemistry to sleep timing overlaps meaningfully with how antidepressants alter neurotransmitter activity in the brain, since several of the same neurotransmitter systems, particularly serotonin, help regulate both mood and the transition between sleep stages, which is one reason certain antidepressants noticeably affect dream recall and REM sleep as a side effect.

How This Differs From Losing Consciousness Under Anesthesia

It is worth being precise about what sleep is not: natural sleep, even in its deepest stage, is a cyclical, actively regulated brain state that a person can be woken from, however groggily, at almost any point. This stands in sharp contrast to how general anesthesia works, which suppresses consciousness through a different mechanism entirely and does not involve the same cycling structure or spontaneous arousability; a person under general anesthesia is not simply in an unusually deep version of ordinary sleep.

The short version

A night of sleep moves through repeating roughly 90-minute cycles alternating between NREM stages, including deep slow-wave sleep, and REM sleep. Deep sleep dominates earlier cycles and drives most physical restoration and factual memory consolidation, while REM sleep grows longer in later cycles and supports emotional memory processing and vivid dreaming. Which stage an interruption occurs during affects how groggy waking up feels, often more than the total number of hours slept.