Sleep & Recovery
How late can you drink coffee and still sleep well?
Published Dec 1, 2026 · 3 min read
How late can you drink coffee and still sleep well? Later than most people think is a problem. Caffeine lingers in your system for hours, and research shows it can cut your sleep even when you feel like you slept fine.
How late can you drink coffee before bed?
In a study published in the Journal of Clinical Sleep Medicine, a large dose of caffeine taken 0, 3 or 6 hours before bed all disrupted sleep. Even at 6 hours, total sleep dropped by about an hour, and participants did not realize it. The authors supported the common advice to avoid substantial caffeine for at least 6 hours before bed.
If you go to bed at 10:30 p.m., a 4 p.m. coffee is cutting it close. Many people do better with a cutoff around noon to 2 p.m.
Why do you not notice the effect?
Caffeine reduces deep sleep and makes sleep lighter and more broken, but you may still fall asleep on time. You wake up feeling foggy, reach for more coffee, and the cycle repeats.
How much caffeine is in common drinks?
Amounts vary a lot by brand and size, but rough numbers are:
- Brewed coffee, 12 ounces: about 140 to 200 mg.
- Espresso shot: about 60 to 75 mg.
- Pre-workout scoop: often 150 to 300 mg. Check the label.
- Energy drink, 16 ounces: about 150 to 300 mg.
- Black tea, 8 ounces: about 40 to 50 mg.
CDC guidance describes up to about 400 mg per day as a moderate intake for healthy adults.
What about evening workouts?
This is where pre-workout catches people. If you train at 6 p.m., consider a caffeine-free pre-workout or a small snack and water instead. You will usually perform fine, and you will sleep a lot better.
What is caffeine half-life?
Half-life is the time it takes your body to clear half of a dose. For caffeine, it is often around 4 to 6 hours in healthy adults, though it varies widely. That means if you drink 200 mg at 3 p.m., you may still have around 100 mg in your system around 8 or 9 p.m. Some people clear it faster and some much slower.
How do you find your personal cutoff?
- Pick a cutoff time 8 hours before your usual bedtime.
- Keep it for two weeks and note how quickly you fall asleep and how you feel in the morning.
- If you sleep well, try moving it 1 hour later and watch for changes.
- If you still struggle, move it earlier.
A wearable can help track sleep trends, but how rested you feel matters most.
What are good afternoon energy boosters without caffeine?
- A 10 minute walk outdoors.
- A glass of cold water. Mild dehydration can feel like fatigue.
- A snack with protein and fiber, like an apple and peanut butter.
- A 10 to 20 minute nap before 3 p.m.
How do you start this week?
- Write down your usual bedtime.
- Subtract 8 hours. That is your starting caffeine cutoff.
- Check labels on pre-workout and energy drinks for total caffeine.
- Rate your sleep each morning from 1 to 5 and compare to last week.
How do you cut back without a headache?
- Move your last caffeine 1 hour earlier each week until you hit your cutoff.
- Swap afternoon coffee for decaf, herbal tea or sparkling water.
- Take a 10 minute walk outside when the afternoon slump hits.
Watch
How to sleep better
Video from Cleveland Clinic on YouTube
Onyx Academy is not affiliated with the creators of embedded videos.
Coach's tip
Ask anyone who trains at night what is in their pre-workout. Half the time it is 300 mg of caffeine at 6 p.m. and then they wonder why they are up at 2 a.m. Switch to stim-free on late training days for two weeks and compare.
Try it at Onyx
Training late at Onyx? Skip the stimulant and use a 10 minute dynamic warm-up on the floor to get your body ready instead.
Find your clubFrequently asked questions
Sources
Free download
Sleep Checklist
Related reading
The complete sleep & recovery guideThe 21-point sleep checklist and 14-day sleep resetSleep & Recovery
How many rest days per week do you need?
Onyx Coaching Team · 4 min read · Dec 1, 2026
Sleep & Recovery
Sauna after workout: benefits and how to do it safely
Onyx Coaching Team · 3 min read · Dec 1, 2026
About the author
Onyx Coaching Team
Lessons from the certified coaches and trainers across Onyx Gyms in Northeast Ohio.
More from Onyx