Sleep is a recurring state in which your body goes offline, your awareness of the environment fades, and your brain cycles through distinct patterns of activity that serve critical biological functions. It is not simply rest or the absence of wakefulness. Sleep is an active process regulated by two forces: a built-in pressure that grows the longer you stay awake, and a 24-hour internal clock that tells your body when it’s time to sleep and when it’s time to be alert.
The Two Forces That Control When You Sleep
Your sleep timing is governed by what scientists call the two-process model. The first force is sleep pressure, or homeostatic drive. The longer you’ve been awake, the stronger the urge to sleep becomes. This works like an hourglass: pressure accumulates during waking hours and drains during sleep. When it hits a high enough threshold, sleep becomes nearly irresistible. When it drops low enough, you wake up.
The chemical behind this pressure is adenosine, a byproduct of brain cell activity. As your neurons fire throughout the day, adenosine builds up in the spaces between brain cells, particularly in a region called the basal forebrain. As adenosine levels rise, it dampens the activity of wake-promoting brain areas while allowing sleep-promoting areas to take over. This is also why caffeine works: it blocks adenosine receptors, temporarily masking the signal that you’re tired.
The second force is your circadian clock, a tiny cluster of cells in the brain that keeps a roughly 24-hour rhythm. This clock receives light information from specialized cells in your eyes and uses it to synchronize your internal day with the external one. As evening arrives and light dims, the clock signals a small gland in the brain to release melatonin, the hormone that promotes drowsiness. Bright light, especially blue-wavelength light, suppresses melatonin production, which is why screens before bed can delay sleep onset. Your core body temperature also follows this rhythm, dropping just before your ideal sleep time and continuing to fall throughout the night.
What Happens During a Night of Sleep
Sleep is not a single uniform state. Your brain cycles through distinct stages roughly every 90 minutes, alternating between two main types: non-REM sleep (which has three stages) and REM sleep.
Stage N1 is the lightest phase, a brief transition lasting just a few minutes. Your brain shifts from the alert patterns of wakefulness into slower, gentler waves. You can be woken easily, and you may not even realize you were asleep. Stage N2 is a slightly deeper state where your brain produces short bursts of rhythmic activity called sleep spindles and occasional sharp waveforms. You spend more time in N2 than any other stage across the night. Stage N3, often called deep sleep or slow-wave sleep, is the most restorative phase. Your brain generates large, slow electrical waves, your muscles relax fully, and it becomes very difficult to wake you.
REM sleep is where things get strange. Your brain becomes highly active, nearly as active as when you’re awake, yet your skeletal muscles are almost completely paralyzed. This is the stage most closely associated with vivid dreaming. Your eyes move rapidly beneath your eyelids, and your brain’s stress-related chemicals, particularly norepinephrine, drop to their lowest levels of the entire 24-hour cycle. Early in the night, your sleep cycles contain more deep sleep. As the night progresses, REM periods become longer and more frequent.
Why Your Brain Needs Sleep
Deep sleep activates the brain’s waste-clearance system. During slow-wave sleep, the spaces between brain cells expand, and cerebrospinal fluid pulses through the brain tissue in waves timed to those slow electrical oscillations. This flushing process clears out metabolic waste, including amyloid-beta, a protein strongly linked to Alzheimer’s disease. Studies in mice show that this clearance system operates at roughly 80 to 90 percent greater capacity during sleep compared to wakefulness. When sleep is cut short, amyloid-beta clearance drops significantly, meaning these waste products linger in the brain longer.
REM sleep plays a different but equally important role. It appears to be the brain’s primary window for processing emotional experiences. During REM, your brain replays and consolidates emotional memories while stripping away some of their emotional charge. Researchers have described this as “sleeping to remember the experience, but sleeping to forget the emotional tone.” The amount of REM sleep you get, and how quickly you enter it, predicts how well you retain emotionally significant memories and how effectively you can distinguish real threats from harmless stimuli the next day. People who get adequate REM sleep show faster reduction of fear responses and better emotional regulation overall.
What Sleep Does for the Rest of Your Body
Sleep deprivation disrupts the hormones that control hunger. When you don’t sleep enough, levels of ghrelin (the hormone that stimulates appetite) increase, while leptin (the hormone that signals fullness) is affected in ways that promote overeating. This hormonal shift helps explain the well-documented link between chronic short sleep and weight gain, particularly in children and adolescents.
Your cardiovascular system is also sensitive to sleep loss. Consistently sleeping fewer than six hours per night is associated with higher blood pressure, and the relationship appears to grow steeper as sleep duration drops below that threshold. Sleep of seven hours or less per day has been linked to elevated blood pressure levels in multiple studies, and chronic short sleep is considered a risk factor for developing hypertension over time.
How Much Sleep You Actually Need
Sleep needs change dramatically across the lifespan. Newborns need 14 to 17 hours. By age one, that drops to 11 to 14 hours. School-age children (6 to 13) do best with 9 to 11 hours, and teenagers need 8 to 10. Adults between 18 and 64 should aim for 7 to 9 hours, while adults over 65 generally need 7 to 8 hours.
These are not arbitrary targets. A large study across 20 countries found that average sleep durations vary enormously by culture, with France averaging 7 hours and 52 minutes and Japan averaging just 6 hours and 18 minutes, a gap of over an hour and a half. The countries with shorter average sleep durations consistently show higher rates of chronic health problems, suggesting that cultural norms around work and lifestyle push many populations below biologically healthy thresholds.
Why Sleep Exists at All
Sleep makes animals vulnerable. They can’t eat, mate, or defend themselves while unconscious. Despite this enormous cost, sleep is conserved across virtually every animal species ever studied, from mammals and birds to insects and even jellyfish. The fact that evolution has never eliminated sleep, despite hundreds of millions of years of selective pressure, tells us something important: whatever sleep does, the cost of not doing it is worse than the risk of being unconscious.
The leading theories for why sleep persists include brain waste clearance, memory consolidation, energy conservation, and the rewiring of neural connections that accumulate errors during waking hours. Some researchers argue that sleep likely serves many functions simultaneously, while others suspect a single core function is so fundamental that its benefits ripple across every system in the body. The conservation of sleep in animals as distant as worms and whales suggests it arose very early, possibly alongside the evolution of neurons themselves.
Creating Conditions for Better Sleep
Your sleep environment matters more than most people realize. Room temperature is one of the strongest external factors: the optimal range falls between 17 and 28°C (63 to 82°F), depending on humidity and your bedding. Relative humidity between 40 and 60 percent supports the best conditions. Complete darkness is ideal, because light disrupts sleep through two separate mechanisms. It resets your circadian clock, shifting the timing of when your body thinks it should be asleep, and it acts as a direct environmental stimulus that can cause awakenings during the night.
Avoiding bright light, and blue light in particular, in the hour or two before bed helps preserve your natural melatonin release. Your body temperature naturally drops before sleep onset and continues falling for roughly six hours into the night, so a cool room works with your biology rather than against it. These are small adjustments, but they target the same systems, circadian timing and core body temperature, that govern the transition from wakefulness into sleep.

