Time caffeine around its half-life
Caffeine’s 5–7 hour half-life means afternoon coffee is still one-quarter potency in your system at midnight.
Why it works
Caffeine is an adenosine receptor antagonist: it binds to adenosine receptors without activating them, blocking the signal that creates sleepiness. Critically, it does not eliminate adenosine — it masks its effects while adenosine continues to accumulate. When caffeine is metabolized, accumulated adenosine floods the now-unblocked receptors, producing the caffeine "crash." The half-life of 5–7 hours means a 200mg cup at 2pm leaves 50mg active at midnight for average metabolizers — enough to impair sleep architecture even if you fall asleep normally.
How to do it
- Calculate your last caffeine cutoff: if your target sleep time is 10pm, your last caffeine (for an average metabolizer) should be before 2pm.
- For sensitive metabolizers or those on medications that slow CYP1A2 (the caffeine-metabolizing enzyme), move the cutoff to noon.
- Consume the majority of caffeine in the first 4 hours after waking, when adenosine pressure is lowest and caffeine’s benefit is greatest.
- Track sleep quality for 2 weeks after shifting your caffeine cutoff — the effect is often large and immediate.
Evidence
Caffeine significantly impairs sleep quality even when consumed 6 hours before bedtime in a double-blind RCT. Individual variation in CYP1A2 metabolism is substantial. (rct)
The 5–7 hour half-life is for average metabolizers; fast metabolizers (CYP1A2 rapid) may clear caffeine in 3–4 hours; slow metabolizers may take 9–10 hours.
Sources
- Drake et al. (2013), caffeine effects on sleep taken 0, 3, or 6 hours before going to bed, Journal of Clinical Sleep Medicine
Common mistake
Judging caffeine timing by how sleepy you feel at bedtime rather than by the half-life math — caffeine impairs sleep architecture before it impairs sleep onset, so you feel fine falling asleep but sleep is lighter and less restorative.
Practice this with IX Coach
7 days free, then $40/month (~$1.30/day).
More practices for Sleep Pressure and Adenosine: The Science of Feeling Sleepy
- Fix your wake time (not bedtime) first
A consistent wake time anchors your circadian rhythm and lets adenosine build to adequate pressure by bedtime — fixing sleep far more reliably than a fixed bedtime.
- Prioritize full adenosine clearance with adequate sleep duration
Adenosine clears fully only during adequate sleep — chronic short sleep builds a debt that accumulates across days, not nights.
- Strategic napping to discharge adenosine
A 20-minute nap discharges enough adenosine to restore alertness for 2–4 hours without interfering with nighttime sleep pressure.
- Avoid the wake maintenance zone (avoid early evening naps)
The 1–3 hours before your natural bedtime is when the circadian system actively fights sleep — working with this window rather than against it preserves sleep pressure.
- Morning light to anchor the adenosine clock
Bright light in the first hour after waking sets the circadian clock that determines when adenosine pressure peaks at night.
- Use exercise to boost sleep pressure appropriately
Exercise in the morning or early afternoon deepens slow-wave sleep and accelerates adenosine buildup without disrupting sleep-onset temperature signals.
Related concepts
- Caffeine Timing: How to Use Coffee Without Wrecking Your Sleep
The adenosine receptor mechanism, the half-life math, and the protocols that make caffeine work for you
- Circadian Rhythm Optimization
Light, meal timing, evening dimming, and chronotype — graded honestly
- Sleep Hygiene That Actually Moves the Needle
The habits with real evidence behind them — and where the limits are
- The Two-Process Model of Sleep
Borbély’s sleep regulatory model — and how to work with it rather than against it