Free chapter

Why do we sleep?

Chapter 1 of a Doomlearning course, free to read. It’s 10 cards and takes about 5 minutes. The rest of the course is in the app.

A woman asleep in the desert at night while a lion stands over her
Henri Rousseau, The Sleeping Gypsy, 1897. Museum of Modern Art, New York.

You will spend about a third of your life unconscious, unable to see a predator coming or notice a fire starting. Evolution is not usually sentimental about that sort of thing. So whatever sleep is doing must be worth the risk, and after seventy years of research we still cannot say for certain what it is.

1. Sleep is an extremely bad idea

Consider what an animal gives up. It stops eating. It stops mating. It stops watching for anything that might want to eat it. For hours at a time it is, functionally, a warm object lying still in the open.

Any trait that costly should have been selected against somewhere. Instead every animal with a nervous system that has been looked at properly does it, including creatures that have never shared an ancestor with us since before brains existed.

2. Even the animals that cannot afford it still do it

Some species have been squeezed hard by that cost, and the shapes they have contorted into are the clue.

19hbrown batper day
8hhumanper day
2hwild elephantper day
Great frigatebirds sleep in flight during ocean crossings, about 42 minutes a day, often with one hemisphere at a time. On land they sleep around twelve hours.

Dolphins and some birds shut down one hemisphere at a time, keeping the opposite eye open. That is a remarkable amount of engineering to avoid giving sleep up. Nothing evolves that machinery to preserve a habit it could simply drop.

3. Take it away and animals die

In the 1980s Allan Rechtschaffen’s lab kept rats awake by placing them on a disc over water that moved whenever they drifted off. The rats died in two to three weeks. Total sleep deprivation killed them faster than total starvation would have.

The cause of death was oddly hard to pin down. They lost weight while eating more, their body temperature regulation failed, and their immune systems collapsed. Nothing failed first and obviously. Everything degraded at once.

4. There is a human version, and it is worse

Fatal familial insomnia is a prion disease. It runs in a small number of families, usually appearing in middle age, and it destroys the part of the thalamus that initiates sleep.

Patients stop being able to sleep. Not “sleep badly” — stop. Over months come panic attacks, hallucinations, dementia, and then death, typically within about a year and a half. Sedatives do not restore sleep and tend to make the decline faster. It is the closest thing to a controlled experiment nature has provided, and it says sleep is not optional.

5. So what is it for? Nobody agrees

Here is the part that surprises people. We can describe sleep in enormous detail — the stages, the brain waves, the hormones, the genetics — and we still cannot agree on the function.

There are three serious answers, and the honest position is that they are probably all partly right.

  • Memory consolidationSleep replays and stabilises what you learned while awake, moving it from short-term to long-term storage.
  • Synaptic homeostasisLearning strengthens connections all day. Sleep scales them back down, keeping the strong ones and pruning noise.
  • ClearanceSleep flushes metabolic waste out of the brain, including proteins implicated in Alzheimer’s.
Three hypotheses, none of which has knocked out the others.

6. The rinse-cycle idea, and the fight about it

In 2013 Maiken Nedergaard’s lab reported that spaces between brain cells widen during sleep, letting cerebrospinal fluid wash through and carry away waste. She called it the glymphatic system, and it was a satisfying answer: the brain has no lymphatic vessels, so this looked like the missing plumbing.

It made headlines everywhere. Then in 2024 a group in Oxford measured the same thing with a different method and reported that clearance appeared to decrease during sleep. The argument is live and unresolved. If you read that sleep washes your brain, that is a real hypothesis with real evidence and it is currently being contested.

7. A night is not one thing

Sleep runs in cycles of roughly ninety minutes, and the mix changes as the night goes on.

  1. N1

    Drifting off. A few minutes, easily woken, often not remembered as sleep at all.

  2. N2

    Light sleep. Around half the night. Bursts of activity called spindles, linked to memory.

  3. N3

    Deep, slow-wave sleep. Hardest to wake from. Concentrated in the first half of the night.

  4. REM

    Vivid dreaming, eyes moving, body paralysed. Lengthens towards morning.

A rough single cycle. Early cycles are heavy on deep sleep; later ones are mostly REM, which is why a short night costs you dreaming sleep disproportionately.

8. Your body is paralysed during REM, on purpose

During REM sleep the brain is about as active as it is when awake, but the spinal cord is actively inhibited so almost nothing moves. Breathing and the eyes are the exceptions.

When that mechanism misfires you get the two well-known failure modes. It can switch on before you are properly asleep, which is sleep paralysis: awake, aware, unable to move. Or it can fail to switch on, which is REM sleep behaviour disorder, where people physically act out their dreams. That second one is worth knowing about, because it often shows up years ahead of Parkinson’s.

9. Two systems decide when you sleep

One is a clock and one is a pressure gauge, and they are independent.

Circadian rhythm

A ~24-hour clock in the hypothalamus.

Set mainly by light hitting the eye.

Runs whether or not you slept last night.

Sleep pressure

Adenosine builds up the whole time you are awake.

Only sleep clears it.

Caffeine blocks the receptor without clearing anything — the debt is still there when it wears off.

Jet lag is these two disagreeing. So is the 3pm dip, which is a real feature of the clock rather than a consequence of lunch.

10. Knowledge check

Knowledge check

What does caffeine actually do to sleep pressure?

Pick one to see the answer.

What the rest of the course covers

Chapter one sets up the puzzle. The remaining four chapters work through what we do know.

  1. Dreams. What the evidence actually supports, why Freud’s account did not survive contact with neuroscience, and what lucid dreaming experiments have shown.
  2. The clock in detail. Light, melatonin, chronotypes, and why teenagers genuinely are not built for a 9am start.
  3. When it goes wrong. Insomnia, apnoea, narcolepsy — and why CBT-I outperforms sleeping pills in the trials.
  4. Sleep and the ageing brain. The Alzheimer’s link, which way the causal arrow points, and what that means in practice.

Roughly forty more cards. Doomlearning pitches them at your level, and will build a course on something else entirely if you ask.

Written by AI and checked by us before publishing. It isn’t medical advice. If your sleep is a problem, talk to a doctor.

Ask your own question

The first chapter of every course is free.

Free to try. No card needed.