What Time Should I Stop Drinking Coffee? Find Your Cutoff
There's no single right time to stop coffee — it depends on your bedtime and metabolism. Learn how to compute your personal cutoff, with examples.
There is no single "right" time to stop drinking coffee — a 3 PM cup is fine for one person and a sleep wrecker for another. Your real cutoff is personal, set by two things: when you go to bed and how fast your body clears caffeine. A solid starting rule is to stop 8–10 hours before bed for a normal cup, then adjust from there.
Why a fixed clock time is the wrong answer
Most "stop coffee by 2 PM" advice treats everyone the same. But caffeine doesn't care what the clock says — it cares how many hours are left before your head hits the pillow and how quickly your liver breaks it down.
Caffeine leaves the body on a steady curve. Its half-life averages about 5 hours, so the amount in your system roughly halves every 5 hours. Sleep researchers find most people sleep best with under about 50 mg of caffeine on board at bedtime — and even amounts too small to stop you falling asleep can still flatten your deep sleep.
So "what time should I stop?" really means: what's the latest I can drink and still be under ~50 mg when I sleep?
How to compute your personal cutoff
You can estimate it with one formula. The caffeine remaining after a number of hours is:
dose × 0.5^(hours ÷ 5)
Work backwards from your bedtime. For a standard 95 mg coffee, you want to reach ~50 mg or less at bedtime, which takes a little under one half-life — roughly 4–5 hours. But to leave a comfortable safety margin (and account for a slower metabolism), 8–10 hours is the practical cutoff most experts recommend.
Here's the math made concrete for a 95 mg cup and a ~50 mg target:
| Hours before bed | Caffeine left at bedtime | Verdict |
|---|---|---|
| 3h | ~63 mg | Too late |
| 5h | ~48 mg | Borderline |
| 8h | ~28 mg | Comfortable |
| 10h | ~19 mg | Very safe |
👉 Don't want to do the math? Enter your drink and bedtime and try the calculator to see your exact cutoff time.
Worked examples
The midnight sleeper (bedtime 12 AM)
With a normal 95 mg coffee, an 8-hour gap puts the cutoff around 4 PM, and even a 2 PM coffee leaves only ~21 mg by midnight. A late-finishing schedule buys you a generous window.
The 10:30 PM sleeper
Eight to ten hours before 10:30 PM lands your cutoff between 12:30 PM and 2:30 PM. A single early-afternoon coffee is fine; a 4 PM cup leaves ~41 mg at bedtime — close to the line.
The early-to-bed sleeper (bedtime 9:30 PM)
Now your cutoff slides to 11:30 AM–1:30 PM. For early sleepers, "afternoon coffee" is genuinely risky, and a morning-only habit is the safest bet.
The two dials that move your cutoff
Your bedtime
The earlier you sleep, the fewer hours caffeine has to clear, and the earlier your cutoff. Shift work and inconsistent bedtimes make this harder — see our coffee cutoff time by bedtime chart for exact times.
Your metabolism
This is the big one, and it varies widely between people: some clear an afternoon coffee well before bed, others are still carrying a chunk of it at midnight. If coffee lingers or hits you hard, you're likely on the slow end — and your cutoff needs to move earlier. The genetics, plus what speeds or slows your clearance, are laid out in fast or slow caffeine metabolizer.
Dose matters too. The landmark study by Drake et al. (2013) in the Journal of Clinical Sleep Medicine found that 400 mg of caffeine taken even 6 hours before bed cut total sleep by more than an hour — and most participants didn't notice. Bigger doses demand an earlier cutoff.
Practical tips for setting your last call
- Pick one cutoff time and defend it. A consistent "last call" beats guessing daily.
- Size your last cup down. A half-cup at the edge of your window clears far sooner.
- Swap to decaf or tea late. Per USDA FoodData Central, decaf is ~2–5 mg and green tea ~28 mg — both easy on sleep.
- Wondering about a specific time? See is 3 PM too late for coffee? for the full breakdown.
The bottom line
Stop chasing a magic clock time. Your cutoff is your bedtime minus 8–10 hours, adjusted for dose and how fast you clear caffeine. Compute it once, set a daily last-call alarm, and you'll stop guessing whether that afternoon cup will cost you sleep.
Let the app find your cutoff for you. The Caffeine & Sleep app logs every coffee in one tap, models your personal caffeine curve from your bedtime and metabolism, and pings you 30 minutes before your last safe cup — so your cutoff is handled automatically, every day. Get the app →
Frequently asked
Sources
- FDA — Spilling the Beans: How Much Caffeine is Too Much? (400 mg/day, 200 mg single-dose guidance)
- Drake C. et al., 2013, J Clin Sleep Med — caffeine 0, 3, or 6 hours before bed
- USDA FoodData Central — caffeine content of coffee
Educational content, not medical advice. For concerns about caffeine, sleep, pregnancy or a health condition, talk to a qualified clinician.