When to Stop Drinking Coffee
About 8β9 hours before your bedtime. You can fall asleep fine after an afternoon coffee and still get worse sleep. Caffeine lingers far longer than most people think. Here is your personal cutoff.
Your time
2:00 PM
Past this point caffeine is still in your system at bedtime and quietly steals your deep sleep β even if you fall asleep fine.
The science
Caffeine has a half-life of roughly 6 hours β so a 2pm coffee can still be at quarter-strength near midnight. Even if you fall asleep, it suppresses the deep, slow-wave sleep that does your real physical recovery.
A practical rule is to take your last coffee about 8β9 hours before your target bedtime. The tool calculates this precisely from your wake time.
Frequently asked questions
Can caffeine affect sleep even if I fall asleep fine?
Yes. Caffeine reduces the amount of deep slow-wave sleep you get, so you can sleep a full night and still wake unrefreshed. Falling asleep and sleeping well are different things.
Does it matter what time I wake up?
Yes β your cutoff is tied to your bedtime, which is tied to your wake time. An early riser and a night owl have very different last-coffee times.
Time everything, not just this.
Your complete protocol β meals and recipes with grocery lists, workout windows, supplement schedule, and focus + sleep timing β fully personalized to your chronotype. One-time $29, no subscription.
Get my complete protocol β $29 βMore best-time guides
The Best Time to Drink Coffee
The Best Time to Work Out
The Best Time to Take Magnesium
The Best Time to Eat Your Biggest Meal
When to Stop Eating Before Bed
The Best Time to Go to Sleep
The Best Time for Deep Work and Focus
The Best Time to Get Sunlight
The Best Time to Eat Breakfast
When to Stop Looking at Screens Before Bed
The Best Time to Take a Nap
When to Stop Drinking Alcohol Before Bed
The Best Time to Take Vitamin D
The Best Time to Drink Water
The Best Time to Take a Cold Shower
The Best Time to Take a Walk
The Best Time to Take a Warm Bath