How sleep works

4 min read. Updated .

Two systems decide when you feel sleepy. One keeps track of how long you’ve been awake. The other keeps time. Sleep comes most easily when they agree, and much of CBT for insomnia is about helping them line up again.

Sleep drive

From the moment you wake up, a pressure to sleep starts building. It grows the longer you’re awake and drains away while you sleep. Researchers call it sleep drive, or the homeostatic process. Part of it comes from adenosine, a chemical that builds up in the brain during waking hours. Caffeine blocks adenosine’s signal, which is how it hides sleepiness without removing it.

Sleep drive is why a long, active day can end in deep sleep, and why a late nap or sleeping in can leave you wide awake at bedtime. Anything that lets you sleep earlier or longer spends some of the drive you’d otherwise carry into the night.

You can’t make sleep drive build faster. You can stop draining it. Extra time in bed, dozing in the evening, and naps all take a little off the top.

The body clock

The second system is a clock in the brain that runs on a cycle of a little more than 24 hours. Through the day it sends out a rising signal for alertness, and at night it lets that signal fall away. Light resets it each day, especially morning light, and so does the time you get up. There’s much more on it in “Your body clock,” in Learn.

How the two line up

A day from 7 a.m. to the next 7 a.m. Sleep drive builds all day and drains during sleep, while the body clock’s alerting signal dips in the early afternoon, peaks in the evening, and falls at night, so the gap between them, how sleepy you feel, is widest at bedtime.asleepsecond windafternoon dipbody clock’salerting signalsleep drivethe gap is howsleepy you feel7 a.m.7 a.m.1 p.m.7 p.m.1 a.m.wakewake
One day, waking at 7 a.m. and in bed at 11 p.m.

Take an ordinary day. In the morning, sleep drive is low, so you feel alert even though the clock’s signal is only starting to climb. As the day goes on, drive builds, and the clock’s alerting signal rises to meet it. The two roughly cancel out, which is why most people can stay awake all day without much effort. A dip in the early afternoon, when the balance slips for a while, is common.

In the evening the clock gives one last push. Sleep researchers have called the couple of hours before your usual bedtime the forbidden zone for sleep, and it’s the reason so many people get a second wind in the evening, around 8 or 9 for someone who usually sleeps at 11. Lying down during those hours often means lying awake, however tired you are.

Then the clock moves into its night. Its alerting signal drops away, sleep drive is at its peak, and sleep comes easily. As the night goes on, sleep drains the drive, and the clock takes over the job of holding sleep in place through the early morning. By morning the drive is spent and the clock is turning alertness back on. You wake up.

When they drift apart

The two systems can slip out of step in very ordinary ways.

What this means for the tools

The sleep window works mainly on sleep drive. Less time in bed at first means more sleep drive by bedtime, and the window is built on that idea.

A wake time that stays the same every day, weekends included, works on the clock. It’s one of the strongest signals you can give it, which is why the sleep window starts with one.

The stimulus control rules help with both. Skipping naps protects sleep drive, and the fixed wake time anchors the clock. Getting up when you can’t sleep works mostly on something else, the link between the bed and being awake. “How stimulus control fits into CBT-I,” in Learn, explains it.

None of these can make you sleep on a given night. They change the conditions sleep has to work with.

References

Helpful links


Everyday Insight’s tools are for education and personal reflection. They are not therapy or medical care, and they are not for emergencies. In an emergency, call 911. If you are in crisis in the United States, call or text 988.

Next readYour body clock Light, melatonin, body temperature, and how to set the clock on purpose.