Sleep
While You Sleep, Your Brain Gets to Work
Inside the remarkable sleep stages and what your brain is doing all night long.
Posted September 24, 2026 Reviewed by Michelle Quirk
Key points
- Our brains are not inactive while we sleep.
- Sleep is composed of four different sleep stages, each with unique brain wave patterns and health benefits.
- Protecting seven to nine hours of sleep per night will help your brain cycle through all of the sleep stages.
Have you ever wondered what happens to your brain while you sleep? Could it be that your brain turns off just as the rest of your body shuts down for the night? For quite some time, scientists and physicians believed that to be the case. But this view changed with the invention of the electroencephalogram, or EEG, a device that records our brain’s electrical activity. In the 1920s and 1930s, when scientists first recorded the sleeping brain using EEG, they were shocked to discover that the brain was anything but quiet at night. Rather, the brain was considerably busy, cycling through distinct patterns of activity. Today, we know that sleep is anything but a passive process; instead, it’s composed of carefully orchestrated sleep stages, each with its own unique brain-wave patterns and health implications.
The sleeping brain in cycles
Typically, our sleep is composed of repeated sleep cycles that last between 90 and 120 minutes. Most of us cycle through four to six of these cycles per night. Physicians can watch this pattern in real time while a patient undergoes an overnight sleep study (polysomnogram), which records brain wave patterns, eye movements, heart activity, breathing patterns, and muscle tone.
With the advent of EEG monitoring, sleep was divided into two main categories: non-REM sleep/non-rapid-eye-movement sleep (further divided into three stages, N1, N2, and N3) and REM sleep (rapid eye movement). Most of us spend about three-quarters of the night in non-REM sleep, and the remaining time is spent in REM sleep.
When explaining to patients about the different sleep stages, I like to use the analogy of an ocean, where each sleep stage has you moving a little farther away from shore and deeper into the water.
- Stage N1 sleep: Just stepping in. Stage N1 sleep is the transition between being awake and asleep. It’s considered the lightest stage of sleep, such that if you are woken up from N1 sleep, you could almost convince yourself that you weren’t sleeping at all. This would be a lot like walking from dry land into the shallowest part of the water. Your feet still feel the sand underneath, and the smallest thing can pull you right back onto the beach. This is also the briefest stage of sleep where most adults spend 2 to 5 percent of the night.
- Stage N2 sleep: Wading deeper into the water. Stage N2 sleep comprises the largest share of our sleep, anywhere from 45 to 55 percent of the night. Using our ocean analogy, this stage is as though you’ve walked a bit farther into the water, but you could still turn around and walk easily back to shore. You’re also more relaxed in the water. This is the stage where your heart rate and body temperature drop, your breathing steadies, and muscles relax. In stage N2 sleep, your body is preparing to enter the deepest stage of sleep. What role does this stage play in our overall health? It’s the stage responsible for consolidating memory and learning, whereby the brain is filing away things you learned and practiced during the day.
- Stage N3 sleep/deep sleep: Floating in calm, deep water. Stage N3 sleep, also known as deep sleep, is the deepest stage of sleep. It’s also called slow-wave sleep because of the types of brain waves captured on EEG recordings. Overall, we spend about 10 to 20 percent of the night in stage N3 sleep. This is the sleep stage that is hardest to wake from. If you are woken up from deep sleep, you often feel groggy and disoriented for a few minutes. You can think of this stage as you floating in calm but deep water with a body that is fully relaxed. The goal of this stage is brain recovery. Research has shown that deep sleep helps the brain with a type of cleanup after a busy day. Individuals with reduced or impaired stage 3 sleep may be at risk for Alzheimer's dementia.
- REM (rapid eye movement): The rushing water around you. REM sleep is where the brain shifts from being relaxed to heightened activity. In fact, the brain wave patterns associated with REM sleep resemble being awake. Our eyes dart back and forth under our eyelids (hence the “rapid eye movement” name), and our heart rate and breathing speed up. Thankfully, our muscles are temporarily paralyzed; otherwise, we would run the risk of physically acting out our dreams. Returning to our ocean analogy, REM sleep is when the water comes alive and starts rushing and moving all around you. This is also the stage where we do most of our dreaming. What’s the purpose of REM sleep? REM is thought to play a key role in emotional processing, where our brains process our feelings and file away certain memories. We spend about 20 to 25 percent of the night in this sleep stage.
What does this mean for you tonight?
The most important message I want you to understand is that while you can’t consciously control any individual sleep stage, you can set yourself up for success by protecting conditions that let the entire sleep sequence run undisturbed.
The following three habits will help protect all four sleep stages, ensuring you get the benefit from each:
- Get enough sleep by targeting seven to nine hours of sleep per night. A full night of sleep will give your brain and body time to cycle through all the sleep stages. This is important as we get most of our deep sleep in the first half of the night while REM sleep happens in the early morning hours.
- Keep a consistent sleep schedule. A fixed bedtime and wake time every night is the strongest factor helping you get consolidated sleep.
- Make your bedroom dark, cool, and quiet. A cool bedroom (60-70°F/16-19°C) that’s also dark and quiet can protect you from disturbances that would otherwise disrupt your sleep.
While scientists thought the brain was inactive while we slept, we now know that this couldn’t be further from the truth. When we sleep, our brain choreographs an intricate dance of brain processes in different sleep stages, each of which plays an important role in our overall health. Help your brain get the benefit of all these stages by protecting and prioritizing your sleep—starting tonight.
References
Hirshkowitz M. Polysomnography: understanding this technology's past might guide future developments. IEEE Pulse. 2014 Sep–Oct;5(5):26–28.
Robbins R, Quan S. Sleep Health. NEJM Evid. 2024 Aug;3(8):EVIDra2300269.
Himali JJ, Baril A, Cavuoto MG, et al. Association Between Slow-Wave Sleep Loss and Incident Dementia. JAMA Neurol. 2023;80(12):1326–1333.