How Late Can I Drink Coffee Without Ruining My Sleep?

Caffeine has a half-life of 5–7 hours in most people — meaning timing your last coffee matters a lot more than most people realize.

Quick Answer

General rule: stop caffeine 6–8 hours before your target bedtime. For most people sleeping at 10–11pm: last caffeinated coffee by 2–3pm. Caffeine's half-life is 5–7 hours — so a 200mg coffee at 3pm still has ~100mg active at 8–10pm. People with fast caffeine metabolism (CYP1A2 gene variant) can tolerate later consumption; slow metabolizers may need to cut off by noon.

🎯 Find Your Cutoff: If you sleep at 10pm → last coffee by 2–3pm. Sleep at 11pm → last coffee by 3–4pm. Sleep at midnight → last coffee by 4–5pm. Sensitive? Subtract 1 hour from all guidelines.

⚙️ Caffeine Metabolism: Why It Varies

Fast metabolizers (~40% of people)

CYP1A2 gene variant processes caffeine in 3–4 hours. Can consume coffee later in the day with less sleep impact. Often have low anxiety from caffeine. Can tolerate 4–5pm last coffee if sleeping at 10–11pm.

Slow metabolizers (~60% of people)

Standard or slow CYP1A2. Caffeine half-life of 6–8+ hours. Afternoon coffee significantly impacts sleep architecture even when you "don't feel it." Often feel jittery or anxious from moderate doses. Should cut off by noon to 2pm.

✅ How to Find Your Personal Cutoff

1

For 2 weeks, track: last caffeine time, time to fall asleep, sleep quality (use phone sleep tracker or journal)

2

Move last coffee 30 minutes earlier each week until sleep quality improves

3

Your personal cutoff is the latest time that still delivers good sleep quality

4

After that time, switch to high-quality decaf — Swiss Water or CO2 process specialty decaf preserves the coffee experience without the caffeine

Related Questions

All decaf & health guides

All Decaf & Health FAQs →