← Back to Vitra

When to stop drinking caffeine before bed

6 MIN READ · VITRA HEALTH

Caffeine has a half-life of roughly five to six hours, which means a mid-afternoon coffee can still be around a quarter active when your head hits the pillow. A common guideline is to stop eight to ten hours before sleep — but how much that matters depends a lot on how fast you clear it.

What half-life actually means

Half-life is the time it takes your body to clear half a dose. At roughly five to six hours, a 2 p.m. coffee is only halfway gone by around 8 p.m., and a quarter of it is still circulating near midnight. That lingering fraction is small but not nothing — and it stacks if you’ve had more than one cup through the day.

Why an 8–10 hour cut-off

Stopping eight to ten hours before bed leaves enough time for most of a normal dose to clear, so the amount left at lights-out is low for most people. If you sleep at 11 p.m., that points to a last coffee somewhere between roughly 1 and 3 p.m. It’s a guideline, not a law — a starting point you can adjust once you see how your own sleep responds.

It mainly costs you deep sleep

The sneaky part is that caffeine can blunt your sleep even when you fall asleep on time and feel like you slept fine. Studies suggest it tends to reduce deep, slow-wave sleep — the most physically restorative stage — more than it delays sleep onset. So the cost often shows up as a flatter, less refreshing night rather than obvious tossing and turning.

Sensitivity varies hugely

How fast you metabolise caffeine is largely genetic, and it shifts with age, certain medications, pregnancy and even whether you smoke. Two people can drink the same espresso at 4 p.m. and one sleeps fine while the other lies awake. That’s why a single universal rule can’t settle it — your own pattern is the only honest test. Treat your data, not the textbook number, as the verdict.

Vitra lets you log your caffeine and shows a personalised cut-off on your energy timeline — then surfaces the lag effect of caffeine on your deep sleep, all derived locally from your own Oura data, so you can see whether that late cup is quietly costing you the deep sleep you’d never notice losing.

Frequently asked questions

How long before bed should I stop drinking caffeine?
A common guideline is eight to ten hours before sleep, because caffeine’s half-life is roughly five to six hours. For an 11 p.m. bedtime that points to a last coffee around 1–3 p.m. — but it’s a starting point to adjust to your own sensitivity.
Does caffeine affect sleep if I fall asleep fine?
Often, yes. Caffeine tends to reduce deep, slow-wave sleep more than it delays falling asleep, so you can drop off on time and still get a flatter, less restorative night without realising why.
Why does caffeine affect some people more than others?
How fast you clear caffeine is largely genetic and shifts with age, medications, pregnancy and smoking. Slow metabolisers feel a 4 p.m. coffee at midnight; fast ones barely notice — so your own pattern matters more than any universal rule.
Try Vitra with your Oura Ring

Local AI on your Mac or PC. One-time purchase, 7-day trial, no subscription.

Download Vitra →
See also
Oura sleep analysisWhat is sleep debt?Find your energy peaksAll posts