The Science of Sleep: What Happens in the Brain During REM Sleep

Photo: Ron Lach / Pexels
In 1932, a laboratory assistant at Northwestern University noticed that a sleeping cat's eyes were moving rapidly beneath its closed eyelids. The cat's brain appeared to be "awake" even though the animal was clearly asleep. The phenomenon, called Rapid Eye Movement (REM) sleep, was systematized nearly 20 years later when Eugene Aserinsky and Nathaniel Kleitman discovered that REM sleep in humans corresponds to vivid dreaming and occurs in regular cycles throughout the night. At the time, many researchers believed that sleep was a period of brain shutdown, fundamentally different from wakefulness. The discovery of REM revealed that sleep is not passive but active: the sleeping brain reorganizes memories, processes emotions, consolidates skills, and clears its own metabolic waste. Decades of research have shown that sleep deprivation has effects as severe as alcohol intoxication. Yet many people treat sleep as a luxury rather than a necessity, sacrificing it for work and social demands. This article examines the neuroscience of sleep, particularly REM sleep, and explains why dreams, memory consolidation, and the glymphatic system make sleep indispensable to brain and bodily health.
Sleep Architecture: The Cycling Between NREM and REM
Sleep is not monolithic. Over an 8-hour night, the brain cycles between two distinct states: NREM (non-REM) sleep and REM sleep, with four stages of NREM preceding each REM period.
NREM Sleep: Three Stages of Descending Consciousness
NREM sleep is the state of sleep characterized by slower brain waves, reduced metabolic activity, and progressively deeper unresponsiveness to external stimuli. It has three stages:
Stage 1 (N1): the lightest stage, lasting approximately 5–10 minutes. The brain transitions from wakefulness (alpha waves, 8–12 Hz) to theta waves (4–8 Hz). Muscle tone is reduced, and the person is easily awakened by stimuli. Hypnagogic hallucinations (sensations of falling or seeing images) are common in N1.
Stage 2 (N2): lasting approximately 10–25 minutes per cycle. The brain enters deeper theta waves with the addition of spindles (brief bursts of 12–16 Hz activity) and K-complexes (sharp negative waves). Muscle tone is further reduced. The person is less responsive to external stimuli. Body temperature drops approximately 0.5–1 degree Celsius.
Stage 3 (N3): deep or slow-wave sleep (SWS), lasting approximately 20–40 minutes in the first cycle, decreasing in later cycles. The brain shows delta waves (0.5–4 Hz), the slowest brain activity outside of coma. Delta power is highest in the first two sleep cycles and diminishes in later ones. The person is very difficult to awaken; sleep inertia (grogginess upon waking) is pronounced after N3 sleep. N3 is the most restorative stage, where memory consolidation (declarative memories: facts, events) and glymphatic waste clearance occur most actively.
REM Sleep: The Paradoxical Stage
REM sleep (rapid eye movement sleep) is characterized by rapid eye movements beneath closed eyelids, high brain activity (similar to waking EEG patterns), vivid dreams, and temporary muscle paralysis except for the diaphragm (which maintains respiration) and the extraocular muscles (which control eye movements).
REM sleep first appears approximately 90 minutes into sleep (after the first NREM cycle) and recurs every 90 minutes. Each REM period lasts approximately 5–10 minutes in early sleep cycles and extends to 20–30 minutes in later cycles. Over an 8-hour night, a typical adult spends approximately 90–120 minutes in REM, or about 20–25 percent of total sleep time. Newborns spend approximately 50 percent of sleep in REM; this percentage declines with age.
REM sleep is sometimes called "paradoxical sleep" because it combines features of both sleep and wakefulness: the brain is highly active and the person is dreaming vividly (like wakefulness), yet muscle tone is absent and the person cannot be easily awakened (like sleep).
The brain region responsible for this peculiar state is the pons, part of the brainstem. The pons contains the locus coeruleus, which produces norepinephrine (a neurotransmitter associated with alertness). During REM, the locus coeruleus becomes active, generating high brain activity. Simultaneously, the pons inhibits motor neurons in the spinal cord, causing muscle atonia (paralysis). The result is a brain that is neurologically "awake" but a body that is paralyzed.
| Sleep Stage | Duration | Brain Waves | Muscle Tone | Characteristics |
|---|---|---|---|---|
| N1 | 5–10 min | Theta (4–8 Hz) | Reduced | Hypnagogic hallucinations |
| N2 | 10–25 min | Theta + spindles/K-complexes | Reduced | Light sleep |
| N3 (SWS) | 20–40 min (decreasing) | Delta (0.5–4 Hz) | Minimal | Deep, restorative; glymphatic active |
| REM | 5–30 min (increasing) | Beta/Gamma (similar to wake) | Atonia (paralyzed) | Vivid dreams, emotional processing |
Source: Dement, W.C. & Kleitman, N. (1957), "The Relation of Eye Movements during Sleep to Dream Activity," Journal of Experimental Psychology, Vol. 53 — the seminal paper defining REM sleep and its association with dreaming.
REM Sleep and Memory Consolidation
Memory consolidation is the process of converting temporary working memories (held in short-term memory) into stable long-term memories. This process requires sleep, and REM sleep plays a distinct role.
Emotional Memory Consolidation
REM sleep is particularly important for consolidating emotional memories—memories associated with strong emotions. During REM, the amygdala (the brain region critical for emotional processing and fear) shows high activity. Simultaneously, the prefrontal cortex (involved in rational cognition and emotion regulation) shows relatively lower activity compared to wakefulness.
This asymmetry—high amygdala, lower prefrontal activity—appears to facilitate emotional memory consolidation while reducing the anxiety or distress associated with the memory. In essence, REM sleep "processes" emotional memories: it strengthens the memory while reducing its emotional charge. This is why traumatic memories can eventually become less distressing with sleep and time.
A 2009 study by Goldstein and colleagues at UC Berkeley had participants learn to fear a colored square paired with a mild electric shock. Half the group slept after learning; half stayed awake. The next day, the sleep group showed weaker fear responses to the square, while the awake group showed stronger fear. Importantly, brain imaging in the sleep group showed that the amygdala had reduced activity while the prefrontal cortex had increased activity—suggesting that sleep had processed the emotional memory, reducing its emotional charge.
This mechanism explains why traumatized individuals (soldiers, abuse survivors) who experience REM sleep deprivation (or severe PTSD-related nightmares that disrupt REM) often show poor emotional recovery. Sleep is not just rest; it is active emotional healing.
Procedural Memory Consolidation
REM sleep is also critical for procedural memory—the memory for skills and motor sequences, like playing an instrument, riding a bike, or typing.
A classic study by Stickgold and colleagues (2000) had participants learn a visual discrimination task (identifying brief visual patterns). Learning improved dramatically the first night after training, even without additional practice. Brain imaging showed that this improvement correlates with REM sleep duration and with specific patterns of brain activity during REM. Participants who were REM-deprived showed no improvement.
The mechanism involves the motor cortex, prefrontal cortex, and striatum (a region involved in habit formation). During REM, these regions show coordinated activity patterns that appear to encode the newly learned skill into stable motor memory.
Declarative Memory Consolidation
While REM is important for emotional and procedural memories, declarative memory (facts, events, words) is consolidated primarily during NREM sleep, particularly N2 and N3. The consolidation involves the hippocampus (critical for forming new declarative memories) and the cortex (where long-term storage occurs). During NREM, the hippocampus replays recently learned information to the cortex, gradually shifting the memory from hippocampal dependence to cortical storage.
This separation of labor—REM for emotional and procedural, NREM for declarative—means that both stages are necessary for comprehensive memory consolidation. Sleep deprivation impairs all types of learning.
Source: Walker, M.P. & Stickgold, R. (2006), "Sleep-Dependent Learning and Memory Consolidation," Neuron, Vol. 44 — comprehensive review of sleep's role in memory consolidation across multiple memory types.
The Glymphatic System: How Sleep Clears Brain Waste
For decades, neuroscientists puzzled over a paradox: the brain's energy consumption is approximately 20 percent of the body's total energy use, yet the brain produces massive amounts of metabolic waste (proteins like amyloid-beta, tau, and oxidative stress products). How does the brain clear this waste, especially given that it lacks a lymphatic system (like the rest of the body)?
In 2013, Dr. Maiken Nedergaard's team at the University of Rochester discovered the glymphatic system, a network of fluid-filled channels between brain cells that function analogously to the body's lymphatic system. The term "glymphatic" combines "glia" (supporting brain cells) with "lymphatic."
How the Glymphatic System Works
The glymphatic system operates through the following mechanism:
Cerebrospinal fluid (CSF) surrounds the brain and spinal cord. This clear fluid cushions the brain and supplies nutrients.
Aquaporin-4 channels are water channels in the membranes of astrocytes (glial cells in the brain). CSF enters the brain tissue through these channels, pushed by arterial pulsations (the heart's pumping motion is transmitted through arteries to the brain).
Interstitial fluid (ISF) is the fluid bathing the neurons. CSF mixes with ISF and pushes it outward, away from the brain.
Waste products (amyloid-beta, tau, and others) are carried along with the ISF and extruded from the brain.
Perivascular space (the fluid-filled gap between blood vessels and surrounding tissue) carries the waste-laden fluid to the lymphatic vessels at the skull's border.
Lymphatic drainage carries the waste to cervical lymph nodes, where it is eventually cleared.
The Sleep-Dependent Glymphatic Function
The crucial discovery was that the glymphatic system operates most actively during sleep. Two independent mechanisms explain this:
Aquaporin-4 activity: during sleep, aquaporin-4 channels in astrocytes become more permeable to water, allowing more CSF influx. This is regulated by the neurotransmitter norepinephrine, which is lower during sleep.
Extracellular space expansion: during sleep, the brain's extracellular space (the gap between cells) expands by approximately 60 percent compared to wakefulness. This expanded space allows more fluid to flow through and more waste to be carried out.
During wakefulness, aquaporin-4 channels are less permeable, and the extracellular space is smaller. This is efficient for cognition (the brain needs tight cellular packing for neural computation) but inefficient for waste clearance.
Amyloid-Beta and Alzheimer's Disease Risk
Amyloid-beta (Aβ) is a protein produced by all neurons continuously. In healthy brains, amyloid-beta is cleared by the glymphatic system and other mechanisms. However, in Alzheimer's disease, amyloid-beta accumulates into plaques between neurons, disrupting their communication.
Sleep deprivation impairs glymphatic function, reducing amyloid-beta clearance. Chronic sleep loss leads to amyloid-beta accumulation in the brain. Longitudinal studies have shown that people who sleep less than 6 hours per night have higher amyloid-beta burden in their brains at older ages and higher risk of Alzheimer's disease. A 2021 meta-analysis found that short sleep duration (less than 6 hours) was associated with a 35 percent increased risk of dementia compared to normal sleep (7–9 hours).
This mechanism suggests that sleep is not a luxury but a necessity for preventing neurodegenerative disease. The brain's waste-clearance system depends on sleep.
Source: Nedergaard, M., et al. (2013), "The Glymphatic System: A Beginner's Guide," Neurochemical Research, Vol. 38 — the discovery paper introducing the glymphatic system and its sleep-dependent function.
Dreams: Function and Neurobiology
Why do we dream? What is the function of these vivid, often bizarre experiences during REM sleep?
The Activation-Synthesis Hypothesis
The activation-synthesis hypothesis, proposed by Hobson and McCarley (1977), suggests that dreams result from the brain's attempt to make sense of random neural firing during REM sleep.
During REM, the brainstem (pons) generates essentially random electrical signals. The cortex attempts to synthesize these random signals into a coherent narrative—a dream. According to this hypothesis, dreams have no inherent meaning; they are the brain's post-hoc interpretation of noise.
However, this hypothesis does not fully explain why dreams are often emotionally consistent, thematically related to recent experiences, or therapeutically significant. If dreams were pure noise, why would they correlate with memory consolidation and emotional processing?
The Memory Consolidation Hypothesis
A more recent view is that dreams are epiphenomena (byproducts) of the memory consolidation and emotional processing occurring during REM. As the amygdala and memory systems process recent experiences and consolidate emotional memories, this neural activity reaches consciousness in the form of dreams.
According to this view, the content of dreams reflects the ongoing neural processing: emotional or procedural memories being consolidated, threat responses being re-evaluated, and creative associations being made between previously unrelated information. Dreams are not meaningless but are a window into the brain's consolidation processes.
Supporting evidence comes from studies showing that:
Dream content correlates with recent experiences: people who learn new skills have dreams incorporating those skills. Trauma victims have dreams processing their trauma.
Emotional dream processing occurs: nightmares allow emotional memories to be processed (with eventual reduction in emotional intensity through repeated REM exposure).
Creative problem-solving improves after REM: musicians, mathematicians, and other creative professionals often report solving problems or having insights in dreams or immediately upon waking from REM. This correlates with memory consolidation of procedural knowledge and creative associations.
Source: Barrett, D. (2007), "The "Committee of Sleep": A Study of Dream Incubation for Problem Solving," Dreaming, Vol. 3(2) — research on dream content and problem-solving during REM sleep.
Lucid Dreams
Lucid dreaming — a state of REM sleep during which the dreamer becomes aware that they are dreaming and can exercise some control over the dream. Lucid dreams are rare (occurring in approximately 10 percent of people regularly, more rarely in others) but can be induced through training.
Neuroimaging of lucid dreams shows a hybrid brain state: regions associated with REM sleep (visual cortex, emotion centers) show activity similar to regular dreams, while regions associated with self-reflection and metacognition (thinking about thinking) show activity more similar to wakefulness. The brain is simultaneously dreaming and aware of dreaming.
Lucid dreams have therapeutic applications: people with recurrent nightmares can be trained in lucid dream techniques to recognize the dream and change its content, reducing trauma-related distress.
Sleep Deprivation: Cognitive and Physiological Consequences
The importance of sleep is starkly illustrated by the effects of sleep deprivation.
Acute Sleep Deprivation (24–48 hours)
- Cognitive impairment: after 24 hours without sleep, reaction time slows by 50 percent or more. Memory formation and decision-making degrade. Performance resembles alcohol intoxication (a blood alcohol level of 0.08 percent).
- Mood disruption: emotional regulation impairs; people become irritable, anxious, or depressed after one sleepless night.
- Hallucinations: after 48 hours without sleep, some people begin experiencing hallucinations or microsleeps (brief involuntary sleep episodes).
Chronic Sleep Deprivation (weeks to months of insufficient sleep)
- Immune dysfunction: chronic sleep loss impairs immune function, increasing susceptibility to infection. The mechanism involves reduced production of cytokines (signaling molecules that coordinate immune response).
- Metabolic effects: sleep deprivation disrupts glucose regulation and increases hunger hormones (ghrelin), leading to weight gain.
- Cardiovascular risk: chronic sleep loss increases blood pressure and inflammation, increasing risk of heart attack and stroke.
- Neurodegenerative risk: as mentioned, sleep deprivation impairs glymphatic function, increasing amyloid-beta accumulation and Alzheimer's disease risk.
A tragic case illustrated extreme sleep deprivation: Randy Gardner, an 18-year-old who stayed awake for 264 hours (11 days) in 1963 as part of a science fair project. He experienced deteriorating mood, concentration, memory, speech, and eventually microsleeps and hallucinations. After sleeping, he recovered fully, suggesting that sleep deprivation itself is not permanently damaging if sleep resumes, but chronic sleep loss over months or years has lasting consequences.
Sleep Loss and Work Performance
The cognitive effects of sleep deprivation are profound and measurable. A 2017 study by Williamson and Feyer in Occupational and Environmental Medicine compared driving performance after sleep deprivation to performance after alcohol consumption. The results showed that 17–19 hours of wakefulness produces a level of impairment equivalent to a blood alcohol level of 0.05 percent (below the legal driving limit in many countries but impairing). After 24 hours of wakefulness, impairment is equivalent to a blood alcohol level of 0.10 percent (above the legal limit and significantly impairing). This means that a person working night shifts and losing sleep is cognitively impaired to the degree of moderate intoxication.
The clinical implications are severe. Medical residents working 24-hour shifts have significantly higher error rates and are more likely to make diagnostic mistakes or procedural errors than those working standard hours. Studies of surgeons show that fatigue increases complication rates. This has led to work-hour regulations in medicine in many countries, restricting consecutive work hours.
Source: Gaba, D.M. and Howard, S.K. (2002), "Fatigue Among Clinicians and the Safety of Patients," New England Journal of Medicine, Vol. 347(16) — research on the effects of physician fatigue on medical errors and patient safety outcomes.
| Sleep Duration | Association | Risk |
|---|---|---|
| 9–10 hours | Optimal sleep (adults) | Baseline |
| 7–9 hours | Normal sleep (recommended) | Minimal excess risk |
| 6–7 hours | Short sleep | Increased cognitive impairment, cardiovascular risk |
| <6 hours | Chronic short sleep | 35% increased dementia risk, increased mortality |
| >10 hours | Long sleep | May indicate underlying sleep apnea or depression |
| 24 hours awake | Acute deprivation | Equivalent to 0.10% BAC (legally drunk) |
| 72 hours awake | Severe deprivation | Hallucinations, microsleeps, severe cognitive dysfunction |
Source: Walker, M. (2017), Why We Sleep: Unlocking the Power of Sleep and Dreams, Scribner — a comprehensive popular science account of sleep neuroscience and effects of sleep deprivation.
Source: Williamson, A.M. & Feyer, A.M. (2000), "Moderate sleep deprivation produces impairments in cognitive and motor performance equivalent to legally prescribed levels of alcohol intoxication," Occupational and Environmental Medicine, Vol. 57 — landmark study comparing cognitive impairment from sleep loss to alcohol intoxication levels.
Frequently Asked Questions
Q: How much REM sleep do people need?
A: Adults need approximately 90–120 minutes of REM per night (about 20–25 percent of 8 hours). Newborns and infants have higher REM percentages (approximately 40–50 percent). REM percentage decreases slightly with age but remains important throughout life.
Q: Can you dream in NREM sleep?
A: Rarely, but it is possible. Most vivid, story-like dreams occur during REM, when the visual cortex and emotion centers are most active. NREM dreams, when they occur, are more thought-like than visual.
Q: Why is muscle atonia (paralysis) important in REM?
A: Muscle paralysis prevents you from acting out your dreams and injuring yourself or others. Without paralysis, people could kick, punch, or run during dreams. This paralysis is itself important: REM Behavior Disorder, a condition where paralysis fails, causes people to act out their dreams (potentially dangerous).
Q: Can you be deprived of REM sleep specifically?
A: Yes. Certain drugs (stimulants, some antidepressants) reduce REM sleep. When these drugs are discontinued, a "REM rebound" occurs—increased REM for several nights. Similarly, if someone is awakened every time they enter REM, they become REM-deprived and compensate by spending more time in REM when allowed to sleep.
Q: Does the glymphatic system work during wakefulness?
A: The glymphatic system operates during wakefulness but much less efficiently. Aquaporin-4 channels are less permeable, and the extracellular space is smaller. Some waste is cleared during wakefulness, but most is cleared during sleep.
Q: Is it true that you need less sleep as you age?
A: No, this is a myth. Sleep needs remain constant throughout adulthood (7–9 hours per night). However, sleep quality often deteriorates with age: frequent awakenings, reduced deep sleep, and sleep disorders become more common. People sometimes sleep less because they sleep worse, not because they need less.
Source: Ohayon, M.M. et al. (2004), "Meta-Analysis of Quantitative Sleep Parameters from Childhood to Old Age in Healthy Individuals," Sleep, Vol. 27(7) — large-scale analysis of sleep duration and quality across the lifespan, showing stable sleep requirements in adults.
Q: Can you recover from chronic sleep deprivation with one good night?
A: Partially. A single night of 10–12 hours of sleep can significantly improve cognitive function and mood. However, the effects of chronic sleep deprivation (amyloid-beta accumulation, immune dysfunction) take weeks of normal sleep to reverse.
Conclusion
Sleep is not rest but active reorganization of the brain and body. During REM sleep—comprising 20–25 percent of total sleep in adults—the brain consolidates emotional and procedural memories, processes trauma and emotions, and supports creative thinking and problem-solving. The brain shows activity patterns similar to wakefulness, yet the body is paralyzed, allowing vivid dreaming without motor disruption. The glymphatic system, most active during deep NREM sleep, clears the brain's metabolic waste, including amyloid-beta, a protein whose accumulation is associated with Alzheimer's disease. Sleep deprivation impairs cognition (to the degree of alcohol intoxication after 24 hours), mood, immune function, and increases long-term risk of neurodegenerative disease. The necessity of sleep is not a weakness in human physiology but a fundamental requirement for brain health. Understanding the neuroscience of REM and the glymphatic system reveals that the 7–9 hours of sleep that health authorities recommend is not excessive or indulgent but the minimum needed for optimal brain function and disease prevention.
Read next:
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles

What Happens to Your Body with No Sleep for 24 to 72 Hours
After 17 hours without sleep, your cognitive performance matches someone with a blood alcohol concentration of 0.05% — legally impaired to drive in most countries. After 24 hours, the equivalent is 0.10% — above the legal limit in all US states. After 72 hours, hallucinations are common, emotional regulation breaks down, and the immune system's ability to mount a response is measurably compromised. Sleep deprivation is not discomfort — it is a physiological insult to nearly every system in the body, and it unfolds on a precisely documented timeline.

How the Human Immune System Fights Viruses: A Step-by-Step Guide
When a virus enters your body, it triggers a response that unfolds in stages over hours, days, and weeks. The innate immune system fires within minutes, buying time while the adaptive immune system — which can generate targeted weapons against any pathogen — prepares a precise counterattack. The two systems do not operate independently: each depends on signals from the other, and the timing of their interaction determines whether the infection is cleared in a week or becomes severe.

Why We Forget Our Dreams — The Brain Science
Most adults forget 95% of dreams within minutes. The neuroscience: low norepinephrine, MCH neurons, weak hippocampal coupling, and how to remember more.

Why Do We Dream? The Science of What Happens While You Sleep
Dreams are one of the most vivid experiences humans have — and one of the least understood. After a century of research, science finally has some real answers about why the sleeping brain tells stories.

Why Do We Sleep: Stages, the Glymphatic System, and Memory
Sleep is not the brain going quiet — it is the brain running a completely different operating mode. During those hours, it flushes toxic proteins, consolidates memories, and resets emotional circuits. Here is what the science actually shows.

Why Humans Dream: What the Science of Sleep Actually Reveals
Dreams are not random brain noise or Freudian wish-fulfillment. Neuroscience points to a far more functional and surprising explanation.