What the rule actually says
The 8–10 hour coffee rule is simple: have your last caffeine 8 to 10 hours before bedtime. Bed at 11 PM? Last coffee between 1 and 3 PM. It is the guideline sleep researchers and health podcasters have popularized in recent years as the practical answer to “when should I stop drinking coffee?”
It is stricter than the old folk advice, and far stricter than the popular 2-hour rule, which the evidence doesn’t support: at an average half-life, a 200 mg coffee two hours before bed leaves roughly three-quarters of its caffeine in your system at lights-out. Two hours is a speed bump; eight to ten is a plan.
The simple math behind it
Why 8–10, and not 6 or 12? It falls straight out of the half-life. Average caffeine half-life is about 5–6 hours, so 8–10 hours is roughly one-and-a-half to two half-lives — enough to clear about two-thirds to three-quarters of a dose.
Put numbers on it. Take a 200 mg coffee at your cutoff, with a 5.5-hour half-life. Ten hours later, about 55–60 mg remains — roughly a quarter of the cup. Eight hours later, about 70–75 mg remains. That’s the logic of the rule: two half-lives leave a quarter of the caffeine, which for most people is a small enough remainder to sleep through.
Compare the alternatives. Six hours — the minimum some studies point to — leaves nearly half the dose: about 95 mg of a 200 mg coffee, still a full cup’s worth. Twelve hours leaves an eighth. The 8–10 hour window is the compromise between “enjoy your coffee” and “protect your night.”
Worked examples for common bedtimes
Pick your bedtime and count back:
These assume an average half-life. If you know you’re a slow metabolizer — one cup at noon still has you staring at the ceiling — shift toward the 10-hour end or beyond. Fast metabolizers who sleep fine may get away with the 8-hour end.
Why it’s a guideline, not a law
The rule is a population average wearing a trench coat. Real caffeine half-life spans roughly 2–12 hours: a fast metabolizer clears that 200 mg coffee in a fraction of the time a slow one does. Genetics, age, pregnancy, smoking, and some medications all move the number — sometimes a lot.
The research underneath is also about minimums, not optima. A well-known sleep study found measurable sleep loss from caffeine taken 6 hours before bed — meaning 6 hours is where harm is still detectable, not where safety begins. The 8–10 hour rule builds a margin on top of that minimum, but no fixed number can fit a 2–12 hour biological range.
So treat the rule as a starting point, then adjust by how you actually sleep. If you follow it for a week and still toss and turn, the rule isn’t wrong — it’s just not yours. Stretch the buffer and see.
Common mistakes that break the rule
- Counting only coffee. Tea (25–45 mg a cup), cola, chocolate, energy drinks, and pre-workout (often 150–300 mg a serving) all count. So do some headache and cold remedies — check labels.
- Starting the clock at the wrong moment. The half-life countdown starts when you finish the drink, and blood levels peak 1–2 hours later. A “2 PM coffee” you sip until 3 PM is really a 3 PM dose.
- Weekend bedtime drift. The rule keys off bedtime — if Friday night means 1 AM instead of 11 PM, the cutoff moves two hours later too. That’s fine, as long as you move it.
- Assuming decaf is zero. Decaf still carries a few milligrams per cup — usually negligible, but a bucket-sized decaf at 9 PM isn’t nothing.
Make it personal
Your bedtime, your half-life, your comfort level — that’s your real rule. The 8–10 hour guideline is a great default, but a default is all it is.
Get your personal cutoff. The caffeine cutoff calculator turns the guideline into your number: enter your bedtime, log what you drank, set the half-life that matches you, and it gives you your last-caffeine time plus a decay curve showing exactly what’s left at bed. Free, no sign-up, runs entirely in your browser.
And if you want to see what a single dose does hour by hour, here’s how long 200 mg of caffeine lasts.
Frequently asked questions
Is the 8–10 hour coffee rule scientifically proven?▼
It is a guideline, not a prescription. It is consistent with caffeine half-life math (about two half-lives clear roughly 75% of a dose) and with sleep research showing measurable harm from caffeine taken 6 hours before bed — the rule adds a safety margin on top of that minimum. No single number can fit everyone’s 2–12 hour range.
What if I go to bed at midnight?▼
Count back 8–10 hours: your last caffeine lands between 2:00 and 4:00 PM. Late bedtimes get later cutoffs — the rule follows your bedtime, not the clock on the wall.
Does the rule apply to tea and energy drinks?▼
Yes — it is about caffeine, not coffee. Tea, energy drinks, pre-workout, cola, and chocolate all count toward the cutoff.
I followed the rule and still slept badly. Why?▼
You may be a slow caffeine metabolizer (toward the 12-hour end of the range), in which case try stretching the buffer toward 12 hours — or something else entirely may be disturbing your sleep. If poor sleep persists, talk to a clinician.