How Long Before Bed Should You Stop Caffeine? A Guide for People Who Train

A cup of black coffee steams on a dark stone counter beside a black shaker bottle in low afternoon light.

Coffee before the morning session, an afternoon cup to get through work, maybe a caffeinated drink before an evening workout. Caffeine fits into a lot of training days. The question for sleep is simple: when should the last one be? Here's the timing guidance, and how to plan it around your training.

The short answer

The Sleep Foundation puts it plainly: "The generally recommended cut-off time for caffeine use is a minimum of eight hours before bedtime." Its example: "if you typically go to bed at 10 p.m., avoiding caffeine after 2 p.m. may help minimize sleep problems" (Sleep Foundation).

Its sleep hygiene guide says the same thing in fewer words: caffeine "can keep you wired even when you want to rest, so try to avoid it later in the day" (Sleep Foundation).

Eight hours is a minimum, not a target. The Sleep Foundation adds, "You may find that you sleep better with a longer period of caffeine abstinence before bed, such as 10 hours or more."

Find your cut-off time

You only need one number to start: your usual bedtime.
1. Pick your bedtime. Use the real one, not the one you wish you had. If you hold a fixed wake time, as the Sleep Foundation suggests, count back from it to get your bedtime.
2. Subtract eight hours. That's your latest caffeine time.
3. Set a reminder a little before it, so the last cup is a decision, not a habit.

The Sleep Foundation notes that "sensitivity to caffeine varies among individuals and depends on how often it is consumed." So eight hours is where to start. Your own cut-off might be earlier.

Cut-off times at a glance

Using the eight-hour minimum:

Usual bedtime Last caffeine by (8 hours) Earlier option (10 hours)
9:00 PM 1:00 PM 11:00 AM
9:30 PM 1:30 PM 11:30 AM
10:00 PM 2:00 PM 12:00 PM
10:30 PM 2:30 PM 12:30 PM
11:00 PM 3:00 PM 1:00 PM

If you train in the morning

Early sessions usually mean an early bedtime, which means an earlier cut-off than you might expect. A 5:30 AM alarm and a 9:30 PM bedtime put the last caffeine at 1:30 PM.

That usually works out, because morning caffeine sits well before any cut-off. The tricky part is the afternoon slump after an early start. If you want something then, plan it before your cut-off or swap in something caffeine-free.

If you train in the evening

Evening training is where timing gets harder. If your session starts at 6 PM and your bedtime is 10:30 PM, a caffeinated drink before the workout is well past a 2:30 PM cut-off.

You have a few options:
- Move the caffeine earlier, and keep it before your cut-off.
- Go caffeine-free before evening sessions. Plenty of people train in the evening without it.
- Move the session earlier on the days when caffeine matters to you.
- Move bedtime later, only if you can keep your wake time and still get the sleep you need.

The one thing not to do is forget it counts. If your evening session starts with a caffeinated drink, count it.

Count every source

Caffeine isn't only coffee. The Sleep Foundation's timing advice applies to all of it. When you work out your cut-off, check:
- Coffee and espresso drinks, including the afternoon iced one
- Tea, including iced tea
- Sodas that list caffeine
- Energy drinks
- Pre-workout drinks or powders, if the label lists caffeine

Read the label. If it lists caffeine, it goes on the clock.

Track it for a week

The Sleep Foundation's advice for anyone who is "struggling with sleep" is to "start keeping track of the time of day you consume caffeine and how you sleep that night" (Sleep Foundation). A training log already has a place for this. For one week, add two lines a day:
- Last caffeine: time and what it was.
- That night: what time you got to sleep, and how you'd rate it.

If the late days line up with the rough nights, move your cut-off earlier and try another week.

Your pillow

Timing your caffeine is one part of a good night. The bed is another. The MOSO Black Performance Pillow is filled with viscose made from bamboo, blended with bamboo charcoal and tourmaline. It's designed to sleep cool, and it's medium firm with a steady height. There's no polyester in the fill or the ticking, and no microplastics. We're a Denver company.

  • Standard/Queen, 18 × 26 in: $109 (2-pack $169)
  • King, 18 × 36 in: $119 (2-pack $179)
  • Charcoal or Silver

Denver delivery

Between Centennial and Westminster, free same-day hand delivery runs 7 days a week (no same-day delivery on Thanksgiving, Christmas Eve, Christmas Day, New Year's Eve or New Year's Day): orders placed by 1 PM MT are delivered the same day, per our shipping policy. Elsewhere in the U.S., standard shipping is free on orders over $99. New customers: HELLOMOSO takes 10% off.

Get the MOSO Black Performance Pillow →

Keep reading: A Bedtime Routine for Athletes · Sleep for Lifters · Can't Sleep Before a Race?

— Team MOSO

FAQ

How long before bed should you stop caffeine?
The Sleep Foundation's generally recommended cut-off is a minimum of eight hours before bedtime. For a 10 PM bedtime, that's 2 PM.

Is eight hours enough?
It's a minimum. The Sleep Foundation notes some people sleep better with a longer gap, such as 10 hours or more.

Does a pre-workout drink count?
If the label lists caffeine, yes. Put it on the same clock as coffee.

I train in the evening. What should I do about caffeine?
Keep any caffeine before your cut-off, go caffeine-free before evening sessions, or move those sessions earlier.

How do I find my own cut-off time?
Start eight hours before your usual bedtime, then track your last caffeine and how you sleep for a week. Move it earlier if late days line up with rough nights.