Caffeine and sleep: when should you stop before bed?
The “stop six hours before bed” rule is a useful starting point, not a biological law. A large early dose may matter more than a small coffee, and sensitivity varies widely.
Why clock time is not enough
Caffeine is a stimulant found in coffee, tea, energy drinks, cola, pre-workout products, chocolate and some medicines. France’s Anses notes that it may delay sleep onset and reduce sleep duration or quality.
Nutrition & energy cluster : Caffeine is only one part of the relationship between food, alertness and sleep. Put it in context with the Nutrition and sleep guide and sleep debt and energy.
Two drinks consumed at the same time may produce very different exposure. Amount, earlier doses, pregnancy, some medications and individual elimination speed all influence the response.
What timing studies show
A 2013 trial found that 400 mg could still disrupt sleep when consumed six hours before bedtime. This helped popularize the six-hour rule, but the study tested a high dose and does not establish one cutoff for every person or beverage.
A more recent randomized crossover trial in 23 men who habitually consumed less than 300 mg per day found no significant effect of 100 mg four hours before bed. In contrast, 400 mg delayed sleep initiation and altered sleep architecture when taken up to 12 hours before bed. The small, all-male sample limits generalization.
Dose matters at least as much as the clock
A systematic review and meta-analysis found that caffeine reduced total sleep time and sleep efficiency on average, with substantial variation among protocols. The authors proposed drink-specific timing estimates, but the caffeine content of served coffee can vary.
| Situation | Cautious starting point | What to track |
|---|---|---|
| Small morning coffee | Usually far from bedtime | Sleepiness, anxiety, daily total |
| Afternoon coffee or tea | Test a 6-hour cutoff | Sleep latency and awakenings |
| Energy drink or pre-workout | Read the total dose and serving count | Cumulative coffee, cola and supplements |
| High sensitivity or insomnia | Move toward 8–10 hours or pause temporarily | Compare 7–14 days |
These are testing steps, not universal prescriptions. The EFSA states that around 100 mg close to bedtime may increase sleep latency and reduce sleep duration in some people.
Find your cutoff in practice
- Set your usual bedtime.
- List every caffeine source and approximate dose.
- For one week, stop six hours before bed.
- Track sleep onset, awakenings and morning energy in the sleep diary.
- If sleep remains disrupted, move the cutoff two hours earlier for another week.
Avoid changing bedtime, alcohol, room temperature and training at the same time, or the effect of caffeine will be hard to isolate.
Reduce without abrupt withdrawal
Regular users may experience headache, irritability or temporary sleepiness after stopping suddenly. Gradually reducing servings or replacing part of the intake with decaf may be more comfortable. Pregnant or breastfeeding people, adolescents, and anyone with a relevant condition or medication should follow individualized professional guidance.