Caffeine Cutoff Calculator — Last Coffee Time for Better Sleep
In short: Caffeine has a half-life of 5-6 hours in healthy adults. For a 23:00 bedtime, your last coffee should be by 17:00. Reflective and Silent sleeper types should cut off 1-2 hours earlier. Use our bedtime calculator to find your optimal cutoff.
The "I can drink coffee at dinner" myth
You've heard people say "I can drink an espresso at 10 PM and sleep fine." They might be telling the truth about feeling fine — but their deep sleep (the restorative N3 phase) is still being suppressed.
This is the trap of caffeine: subjective sleep quality and objective sleep quality diverge. You can fall asleep on schedule but spend less time in deep sleep, less time in REM, and wake up feeling tired without knowing why.
This article explains:
- The 5-6 hour half-life rule
- The 16-type adjustments
- Hidden sources of caffeine
- A 4-week plan to safely cut back
Take the 16-type test to know your caffeine sensitivity.
The caffeine half-life basics
When you drink coffee, caffeine is absorbed in the small intestine and peaks in blood plasma at ~30 minutes. From there, it's metabolized primarily by the CYP1A2 enzyme in the liver.
Average half-life in healthy adults: 5-6 hours.
This means:
- 5 PM coffee (100 mg caffeine) → still 50 mg in your system at 10 PM
- 2 PM coffee → 25 mg at 10 PM
- 10 AM coffee → 6 mg at 10 PM (effectively negligible)
The "feels like the effect wore off" sensation kicks in after 2-3 hours, but plasma levels remain elevated for much longer. Your liver works slowly.
Why caffeine wrecks sleep
Caffeine binds to adenosine receptors in your brain. Adenosine is a molecule that accumulates during waking hours and signals "you're tired, sleep now." Caffeine blocks this signal.
Crucially:
- Adenosine accumulation doesn't stop when you drink coffee — the signal just gets blocked
- When caffeine wears off, the accumulated adenosine all hits at once → "crash"
- Even at low levels (10-20 mg), caffeine reduces N3 deep sleep by ~20%
You can be asleep with caffeine in your system, but it's not the same quality of sleep.
The cutoff calculation
Simple rule: bedtime minus 6 hours = caffeine cutoff time.
| Your bedtime | Cutoff time | |---|---| | 22:00 | 16:00 | | 23:00 | 17:00 | | 24:00 | 18:00 | | 1:00 AM (shift workers) | 19:00 |
This is the maximum recommended cutoff for healthy adults. Many people need an earlier cutoff.
16-type adjustments
Silent (S axis) — Cut 1 hour earlier
If you're an S-axis type (more sensitive to environmental factors), caffeine sensitivity is also higher. Adjust your cutoff 1 hour earlier:
- 23:00 bedtime → 16:00 cutoff (not 17:00)
Reflective (R axis) — Cut 2 hours earlier
R-axis sleepers already take 20-40 minutes to fall asleep. Caffeine extends this further by blocking the adenosine "tired" signal. Adjust 2 hours earlier:
- 23:00 bedtime → 15:00 cutoff
- Combine with evening journaling for best results
Morning (M axis) — Earlier bedtime = earlier cutoff
M-axis sleepers go to bed around 22:00. That means:
- 22:00 bedtime → 16:00 cutoff
- 22:00 bedtime + S axis → 15:00 cutoff
- 22:00 bedtime + R+S → 14:00 cutoff (= post-lunch coffee only)
Quick + Warm (Q+W) types — Standard cutoff works
QMW QNW types tend to be more caffeine-tolerant. The standard 6-hour rule applies. You'll still see deep sleep impact in tracker data, but it's smaller.
Hidden caffeine sources
People who "don't drink coffee" still get caffeine from:
| Source | Caffeine | |---|---| | Coffee (8 oz / 240 ml) | 80-100 mg | | Espresso shot | 60-80 mg | | Black tea (8 oz) | 40-70 mg | | Green tea (8 oz) | 30-50 mg | | Energy drink (8 oz) | 80 mg | | Dark chocolate (50 g) | 30 mg | | Cola (12 oz) | 35 mg | | Yerba mate | 80 mg | | Some headache medicines | 30-65 mg |
Hidden traps:
- Decaf coffee: 2-5 mg (small but not zero)
- "Cold brew" or "nitro coffee": often 2-3x the caffeine of regular
- "Energy bars" / pre-workouts: often 100-300 mg
- Chocolate-covered espresso beans: can be 30+ mg per bean
If you're not sleeping well, audit your evening intake including these hidden sources.
How to cut back without the headaches
Quitting caffeine cold turkey causes 2-7 days of:
- Headaches (often severe)
- Fatigue and brain fog
- Irritability
- Body aches
A 4-week taper avoids this:
Week 1: Cut 25%
If you drink 4 cups, go to 3. Cut the 4 PM cup first (it's the most disruptive to sleep).
Week 2: Cut another 25%
3 cups → 2 cups (1 morning, 1 lunch). All afternoon coffee is gone.
Week 3: Cut another 25%
2 cups → 1.5 cups. Or switch the lunch cup to decaf or matcha.
Week 4: Settle at your new baseline
Most healthy adults function well on 1-2 cups (200-300 mg) total per day, all before noon.
If you have light anxiety or insomnia, target 100 mg before 11 AM, and zero after.
Caffeine timing for shift workers
If you work nights or rotating shifts, the 6-hour rule still applies — to your bedtime, not the calendar.
If your bedtime is 8 AM:
- Cutoff: 2 AM
- Last coffee during the work shift, not before sleep
- Try matcha (slower release) for sustained alertness without the crash
What about caffeine + naps?
A "coffee nap" is a strategic combo: drink coffee, immediately take a 20-minute nap, wake up just as caffeine kicks in.
This works because:
- Caffeine takes ~25 min to reach plasma peak
- Sleep clears adenosine
- You wake up with caffeine active AND a clean adenosine slate
Use sparingly — only when you can ensure the 20-min limit, never within 6 hours of bedtime.
FAQ
Q1. How do I know if I'm caffeine-sensitive?
Symptoms of high sensitivity:
- Coffee in the morning makes you jittery for hours
- One cup gives a buzz lasting 6+ hours
- Caffeine after 12 PM clearly disrupts sleep
- Family members are also sensitive (genetic)
If you have CYP1A2 1A/1A genotype (slow metabolizer), your half-life is 7-9 hours instead of 5-6. Cut off 8 hours before bed.
Q2. Does cold brew have more caffeine?
Yes, often 1.5-2x regular drip coffee. Treat it as 1.5 cups for cutoff purposes.
Q3. Can I drink decaf in the evening?
Decaf has 2-5 mg per cup — small but not zero. For sensitive sleepers (S/R axis), even decaf can affect deep sleep at high quantities. 1 cup is fine; 4 cups is questionable.
Q4. Is caffeine cutoff worth it if I sleep fine?
If you're sleeping 7+ hours and feeling refreshed: probably not. If you're getting 7+ hours but feeling tired anyway, it's worth a 2-week experiment. Many people don't realize they have caffeine-disrupted deep sleep until they try going without.
Q5. What about caffeine withdrawal?
Real and unpleasant. Symptoms peak day 1-3, gone by day 7. Push through with the 4-week taper to minimize. Drink lots of water, exercise lightly, and prioritize sleep during the withdrawal week.
Take action
- Find your bedtime — try /en/sleep-calculator/ for 90-min cycle optimal
- Take the 16-type test to know if you need standard, S-axis (-1h), or R+S (-2h) cutoff
- Set your cutoff time today
- Audit hidden caffeine sources
- 4-week taper if you need to cut back
Your deep sleep — and morning energy — will thank you.
Related reading
- /en/columns/en-16-sleep-types/ — Overview of the 16 types
- /en/columns/en-chronotype-quiz/ — Morning vs Night chronotype
- /en/sleep-calculator/ — Bedtime calculator (works with caffeine cutoff)
- /en/columns/en-weighted-blanket-science/ — For anxiety / insomnia
⚠ Medical note: Caffeine sensitivity varies significantly. If you have chronic insomnia, anxiety, heart conditions, or are pregnant/nursing, please consult a healthcare provider about your caffeine intake. eSleep Clinic is not a medical institution.