☕ Caffeine Guide 5 min read
When Should I Stop Drinking Caffeine Before Sleep?
Caffeine doesn't disappear the moment you finish your coffee. With a half-life of roughly 5–6 hours, a mid-afternoon espresso can still leave a meaningful amount of caffeine circulating in your bloodstream at bedtime. This guide explains exactly how it works — and when to stop.
Find your personal caffeine cutoff
Enter your bedtime and caffeine sensitivity and the calculator returns your recommended last-coffee time.
Caffeine Cutoff Calculator →How caffeine affects the brain
Caffeine works by blocking adenosine receptors in the brain. Adenosine is a chemical that builds up throughout the day and creates the sensation of increasing sleepiness. By blocking its receptors, caffeine temporarily masks that sleep drive — but the adenosine itself continues accumulating. When caffeine wears off, the adenosine flood returns, often causing a sudden "crash."
Worked example: the afternoon coffee
You drink a large filter coffee (200 mg caffeine) at 2:00 PM. Here is how much caffeine remains in your bloodstream through the evening:
| Time | Hours after drink | Caffeine remaining (approx.) | Status |
|---|---|---|---|
| 2:00 PM | 0 h | 200 mg | Peak |
| 5:00 PM | 3 h (half-life) | ~100 mg | Half remains |
| 8:00 PM | 6 h | ~50 mg | Still active |
| 11:00 PM | 9 h | ~25 mg | Low |
| 2:00 AM | 12 h | ~12 mg | Minimal |
Recommended cutoff by bedtime
The table below applies the standard 6-hour rule for average sensitivity. Sensitive individuals should use the earlier column.
| Bedtime | Average sensitivity (6 h cutoff) | High sensitivity (8 h cutoff) |
|---|---|---|
| 9:00 PM | 3:00 PM | 1:00 PM |
| 9:30 PM | 3:30 PM | 1:30 PM |
| 10:00 PM | 4:00 PM | 2:00 PM |
| 10:30 PM | 4:30 PM | 2:30 PM |
| 11:00 PM | 5:00 PM | 3:00 PM |
| 11:30 PM | 5:30 PM | 3:30 PM |
| Midnight | 6:00 PM | 4:00 PM |
Caffeine content by common drink
Knowing how much caffeine is in each drink helps you judge your total daily intake, not just your last cup. The FDA suggests a limit of 400 mg per day for healthy adults.
| Drink | Serving size | Caffeine (approx.) | Daily limit equivalent |
|---|---|---|---|
| Espresso (single shot) | 30 ml | 63 mg | Up to 6 shots |
| Filter / drip coffee | 240 ml | 95 mg | Up to 4 cups |
| Instant coffee | 240 ml | 65 mg | Up to 6 cups |
| Black tea | 240 ml | 47 mg | Up to 8 cups |
| Green tea | 240 ml | 28 mg | Up to 14 cups |
| Energy drink (standard) | 250 ml | 80 mg | Up to 5 cans |
| Cola (regular) | 355 ml | 34 mg | Up to 11 cans |
| Dark chocolate (50 g) | 50 g | ~25 mg | Hidden source to note |
| Decaf coffee | 240 ml | 2–7 mg | Very low; safe for most |
Signs your caffeine intake may be too late or too high
- Taking more than 20–30 minutes to fall asleep most nights
- Waking between 2–4 AM without an obvious reason
- Feeling that your sleep is light or unrefreshing
- Needing caffeine to feel functional in the morning (a cycle of dependency)
- Heart palpitations or anxiety in the evening
If you rely on caffeine heavily, try reducing intake gradually (by one drink every few days) rather than stopping abruptly, which commonly triggers withdrawal headaches.
Common questions
How many hours before bed should I stop drinking coffee?
Most people should stop caffeine 6–8 hours before bed. For a 10 PM bedtime, that means cutting off around 2–4 PM. Sensitive individuals may need to stop as early as noon.
What is the half-life of caffeine?
Caffeine has a half-life of approximately 5–6 hours in healthy adults, meaning half of the dose is still active after that time. The range varies from about 3 hours in fast metabolisers to 9 hours in slow metabolisers, pregnant women, or people taking certain medications.
Is decaf coffee completely caffeine-free?
No. Decaf typically contains 2–7 mg of caffeine per 240 ml cup, compared to 70–140 mg in regular coffee. This is generally too low to affect sleep for most people, but highly sensitive individuals may still notice an effect from multiple cups.
Can caffeine affect my sleep even if I fall asleep normally?
Yes. Research has shown that caffeine consumed 6 hours before bedtime reduces total sleep time by approximately 1 hour on average, even when people report falling asleep without difficulty. The primary impact is on deep NREM sleep quality, which is less subjectively noticeable but critical for physical recovery.
Does tolerance reduce caffeine's impact on sleep?
Partially. Regular caffeine users develop tolerance to its stimulant effects — meaning they need more to feel alert. However, tolerance to its sleep-disrupting effects is incomplete; the interference with deep sleep persists even in habitual drinkers.
Find your caffeine cutoff now
Enter your bedtime and sensitivity level to get your personalised last-coffee time.
Open Caffeine Cutoff Calculator →