- Caffeine has a half-life of about five to six hours, so afternoon coffee is still in your blood at bedtime.
- Caffeine taken even six hours before bed can cut total sleep time and make sleep lighter.
- A sensible starting rule is no caffeine within eight hours of your bedtime.
The lift from a coffee fades in an hour or two, so it is easy to assume the caffeine has gone too. It hasn’t. A good share of it is still in your blood at bedtime.
The half-life problem
Caffeine has a half-life of about five to six hours in a typical healthy adult. That is the time your body takes to clear half of it.
Have a large coffee with about 200 mg of caffeine at 2 p.m. and around 100 mg is still circulating at 7 or 8 p.m. By midnight you are carrying roughly the dose in a cup of black tea.
The half-life also varies widely. It runs longer in pregnancy, with some medications including oral contraceptives, and in people who are simply slow metabolisers by genetics. For them, a lunchtime coffee can linger into the small hours.
“But I can fall asleep after an espresso”
Many people can. Falling asleep is only half the story. Caffeine works by blocking adenosine, the chemical that builds up while you are awake and creates sleep pressure. Studies that measure sleep directly find that caffeine taken even six hours before bed can cut total sleep time and make sleep lighter, including in people who say they noticed nothing.
So you sleep, but less deeply. You wake up less rested and reach for more coffee. That loop is common.
Find your cut-off
A sensible starting rule is no caffeine within eight hours of bedtime. For an 11 p.m. bedtime that makes 3 p.m. the limit, and noon is safer if you are sensitive.
Test it for two weeks:
- Move your last caffeine to before noon.
- Keep everything else the same.
- Notice how long you take to fall asleep and how you feel at 10 a.m.
If nothing changes, move the cut-off later again. If mornings get easier, you have your answer.
The hidden sources
- Tea, including green tea
- Cola and energy drinks
- Dark chocolate
- Some pain relievers and cold medicines
- Decaf, which still has a few milligrams a cup
Health Canada suggests most adults stay under 400 mg a day, about three 8 oz cups of brewed coffee. When you have it matters as much as how much.
This article is general information, not medical advice. If poor sleep is affecting your days, talk to your doctor.