How to do it
- Last coffee before 2pm. A review put the safe gap for one cup at nearly nine hours before bed.
- Big cups count for more. Four cups' worth, 400 mg, still disturbed sleep when taken twelve hours before bed.
- Earlier if you sleep badly. How fast you clear caffeine varies more than threefold between people.
- Don't judge by how fast you fall asleep. The loss showed on the measuring device, not in people's diaries.
In your brainTap a word for what it means
- Sleep pressureSleep pressureThe growing need for sleep the longer you are awake, driven partly by a chemical called adenosine building up in the brain. Sleep clears it; caffeine blocks its signal.Read morebuilds while you're awake
A chemical called adenosine collects in the brain the longer you're awake. The more of it, the sleepier you feel.
- Caffeineblocks the signal
It sits on the receptors adenosine uses. The pressure is still there; you just can't feel it.
- Bloodstreamclears it slowly
In ten young men, the time to clear half a dose ran from under three hours to nearly ten. An afternoon coffee can still be working at bedtime.
- Youless sleep, less deep sleep
In a home study, caffeine six hours before bed cost about an hour of sleep and some deep sleep. The sleepers' own diaries didn't clearly pick it up.
Why it works
Caffeine stays in your body for hours, and how many hours varies a lot from person to person. Evidence: decent In one controlled study, caffeine taken six hours before bed cut measured sleep by about an hour, and people didn't clearly notice the loss. Evidence: decent
You can "fall asleep fine" on late caffeine and still sleep less and less deeply. Evidence: decent
The long readEvery step of the chain, each study with its numbers, and what's still unproven. 3 min read.
What happens in your brain
Pressure builds while you're awake. A chemical called adenosine collects in the brain the longer you're awake, and sleep clears it. That's sleep pressure. Evidence: solid
Caffeine blocks the signal. Caffeine works by sitting on the receptors adenosine uses. The pressure is still there; you just can't feel it. Evidence: solid
It clears slowly, and unevenly. In ten healthy young men, the time the body took to clear half a dose of caffeine ranged from 2.7 to 9.9 hours. Evidence: decent By my arithmetic from that range, six hours after a coffee somewhere between a fifth and two thirds of it is still in you. Evidence: decent
Sleep takes the hit. In a home study, caffeine six hours before bed cut total sleep by about an hour and reduced deep sleep. Falling asleep took longer too, but that part could have been chance. Evidence: decent
The proof
- 12 healthy sleepers took 400 mg of caffeine, about four ordinary cups, or a dummy pill at bedtime, 3 hours before and 6 hours before, and wore a sleep-measuring headband at home. All three caffeine times disturbed sleep. At 6 hours, measured sleep fell by about an hour, but the difference didn't clearly show in their sleep diaries. Evidence: decent
- A review pooling 24 studies found caffeine cut sleep by about 45 minutes on average and reduced deep sleep. To avoid losing sleep, it put the gap for one coffee, about 107 mg, at 8.8 hours before bed. Evidence: decent
- In a later trial, 23 young men with moderate coffee habits took 100 mg or 400 mg at 12, 8 or 4 hours before bed. 100 mg made no measurable difference at any time. 400 mg delayed and changed sleep even when taken 12 hours before bed, and the men didn't rate their sleep worse unless it was taken 4 hours before. Evidence: decent
- In ten healthy young men given the same dose, the time to clear half of it ranged from 2.7 to 9.9 hours. Evidence: decent
How to do it
- Last coffee before 2pm. Evidence: decent For an 11pm bedtime, that's about the nine-hour gap the review suggested. Evidence: decent
- Big doses count for more. A large coffee-shop cup or an energy drink can carry far more than an ordinary cup; 400 mg disturbed sleep even 12 hours out. Evidence: decent
- If you're a bad sleeper, make it earlier. How fast you clear caffeine varies a lot, and you don't know which end you're on. Evidence: worth trying
- Judge by the evidence, not the feeling. In the studies, people often didn't notice what the device measured. Evidence: decent
Watch out
The 2pm line is the cautious reading. One trial found a single ordinary cup made no measurable difference even four hours before bed, while the big review put the gap nearer nine hours. Evidence: decent The home study and the 12-hour result both used about four cups' worth in one go. Evidence: decent Tea, cola, energy drinks and some painkillers carry caffeine too. Evidence: solid If you sleep fine on an afternoon cup, you may simply clear it fast. Evidence: worth trying