The evidence
Researchers gave people 400 mg of caffeine 0, 3 or 6 hours before bedtime; even at 6 hours, total sleep fell by more than one hour (Drake et al., 2013). Caffeine's effects last for hours; the AASM advises avoiding it in the afternoon and evening (AASM).
Your cut-off time
| Bedtime | Last caffeine (6 h) | If sensitive (8-10 h) |
|---|---|---|
| 9:30 PM | 3:30 PM | 11:30 AM-1:30 PM |
| 10:30 PM | 4:30 PM | 12:30-2:30 PM |
| 11:30 PM | 5:30 PM | 1:30-3:30 PM |
| 12:30 AM | 6:30 PM | 2:30-4:30 PM |
Count all sources: coffee, tea, cola, energy drinks, pre-workout and some pain relievers. The FDA cites 400 mg a day as an amount not generally linked to negative effects in healthy adults (FDA), but timing matters for sleep even below that.
Already had a late coffee?
- Keep your usual bedtime but go to bed only when sleepy (AASM).
- Dim the lights and skip screens to let sleepiness build.
- Keep the same wake time tomorrow; one bad night is not worth a lie-in.
Where the Sunrise app helps
Test your own cut-off: move your last coffee earlier for a week and compare your sleep efficiency and score in Sunrise.