Caffeine Timing Guide

When Should You Stop Drinking Caffeine?

Your personalized cutoff time depends on your CYP1A2 metabolism type — not a generic "no coffee after 2pm" rule that ignores 45% of the population.

Calculate My Cutoff Time →

The Problem with Generic Caffeine Advice

Most people follow a single rule: "No coffee after 2pm." This works for roughly 55% of the population. The other 45% — possibly including you — have a completely different caffeine metabolism.

Your CYP1A2 gene determines how fast your liver clears caffeine from your bloodstream. If you inherited the "slow metaboliser" variant, a coffee at 2pm might still have 80–100mg of active caffeine in your blood at 10pm bedtime. If you inherited the "fast metaboliser" variant, that same coffee is largely cleared by 5pm.

A five-hour difference. No wonder generic sleep advice doesn't work for everyone.

⚠️ Important disclaimer

The caffeine levels discussed on this page are modeling estimates based on population averages, not medically established safety thresholds. Individual responses vary substantially due to tolerance, age, medications, liver function, and other factors. This is not medical advice.

Caffeine Half-Life: The Core Concept

Caffeine's half-life is the time it takes your body to eliminate half of what you consumed. This follows first-order exponential decay — not a linear reduction.

Fast Metaboliser
~3 hours
~10% of population
Normal Metaboliser
~5 hours
~50% of population
Slow Metaboliser
~7–8 hours
~40% of population

What this means in practice

Say you drink a 200mg coffee at 3pm with a 10:30pm bedtime:

🟢 Fast metaboliser (3h half-life)

3:00 PM200mgconsumed
6:00 PM100mgone half-life
10:30 PM~22mgat bedtime — likely minimal impact

🟡 Normal metaboliser (5h half-life)

3:00 PM200mgconsumed
8:00 PM100mgone half-life
10:30 PM~71mgat bedtime — may disrupt sleep

🔴 Slow metaboliser (8h half-life)

3:00 PM200mgconsumed
11:00 PM100mgone half-life — after bedtime
10:30 PM~107mgat bedtime — significant disruption likely

Why Caffeine Disrupts Sleep Even When You Feel Fine

Here is the insidious reality of habitual caffeine use: tolerance to caffeine's alertness effect builds much faster than tolerance to its sleep-disrupting effects.

If you're a regular coffee drinker, you may stop feeling the afternoon coffee after a few weeks. You think it's not affecting you. But research shows that even habitual caffeine users continue to lose measurable deep slow-wave sleep — they just don't feel the loss because they're adapted to functioning in a sleep-deprived state (Nehlig, 2018).

You don't feel the sleep loss. But it's still happening.

How to Find Your Personalized Cutoff Time

Your optimal caffeine cutoff depends on:

☕ Calculate Your Exact Cutoff Time

Our pharmacokinetics-based calculator accounts for all the above factors and gives you a personalized estimate in seconds. Free, no account required.

Use the Calculator →

Not Sure of Your Metabolism Type?

You can estimate your CYP1A2 metabolism type using our Caffeine Sensitivity Quiz on the Tools page — a 6-question assessment based on how caffeine actually affects you. For a definitive answer, consumer DNA tests (such as 23andMe or AncestryDNA) include CYP1A2 genotype data in their raw downloads. Other consumer DNA services may also provide this data.

Note: CaffeineSleepCalc is an independent educational tool. It is not affiliated with, endorsed by, or sponsored by 23andMe, AncestryDNA, or any other company mentioned on this site.

What to Drink After Your Cutoff

Once you've reached your caffeine cutoff time, water, decaf coffee, and herbal teas are straightforward alternatives. Water is always the safest option. Decaf typically contains 2–5mg of caffeine per cup — negligible for most people.

Note: specific health claims about herbal tea ingredients (chamomile, valerian, etc.) vary in evidence quality. We recommend them as zero-caffeine options, not as medically proven sleep aids.

Scientific References

  1. Drake C et al. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine, 9(11), 1195–1200 (2013). doi:10.5664/jcsm.3170 ↗ · PubMed ↗
  2. Nehlig A. Interindividual differences in caffeine metabolism and factors driving caffeine consumption. Pharmacological Reviews, 70(2), 384–411 (2018). doi:10.1124/pr.117.014407 ↗ · PubMed ↗
  3. Burke TM et al. Effects of caffeine on the human circadian clock in vivo and in vitro. Science Translational Medicine, 7(305), 305ra146 (2015). doi:10.1126/scitranslmed.aac5125 ↗ · PubMed ↗
  4. Cornelis MC et al. Coffee, CYP1A2 genotype, and risk of myocardial infarction. JAMA, 295(10), 1135–1141 (2006). PubMed ↗
  5. EFSA Panel on Dietetic Products. Scientific Opinion on the safety of caffeine. EFSA Journal, 13(5), 4102 (2015). doi:10.2903/j.efsa.2015.4102 ↗
⚠️ Not medical advice. This guide is for educational purposes only. Caffeine thresholds discussed are modeling assumptions based on population averages — not universally established medical safety limits. Individual responses vary substantially. Consult a qualified healthcare professional regarding caffeine intake, especially if you have a medical condition, are pregnant, or take medications.
Related guides: 🧬 Caffeine Sensitivity & CYP1A2 → 🔬 The Science of Caffeine & Sleep → ☕ Use the Calculator →