Ready for better sleep?
The mattress you sleep on shapes every night's rest. Saatva's luxury innerspring delivers orthopedic support with Euro pillow-top comfort — trusted by sleep-focused households.
Caffeine is the world's most widely consumed psychoactive substance, and it is also the most universally misunderstood in terms of its sleep effects. The key problem is not the morning coffee — it is the afternoon one. Caffeine's half-life is 5–7 hours, meaning half of every dose remains active in your system hours after you drank it. A cup of coffee at 2pm still has meaningful caffeine activity at midnight for most people. This guide provides a visual half-life framework, covers the genetics of caffeine metabolism, and shows you exactly how to calculate your personal cut-off time. For comprehensive coverage of how caffeine affects sleep stages, see our caffeine and sleep overview and coffee and sleep timing guide.
The Caffeine Half-Life Chart
Caffeine half-life in healthy adults averages 5–6 hours (range: 3–9 hours). Below is what remains active from a single 200mg dose (roughly one strong 12oz coffee) over time:
| Hours After Consumption | Active Caffeine (Avg 5.5hr half-life) | Sleep Impact |
|---|---|---|
| 1 hour | 178mg | Peak alertness, full adenosine blockade |
| 3 hours | 146mg | Still substantially active |
| 5.5 hours (1 half-life) | 100mg | Equivalent to a full espresso still active |
| 8 hours | 68mg | Reduces deep sleep by 10–15% |
| 11 hours (2 half-lives) | 50mg | Equivalent to half an espresso |
| 16.5 hours (3 half-lives) | 25mg | Residual — may still affect very sensitive individuals |
The Practical Calculator: Find Your Cut-Off Time
Step 1: Determine your approximate half-life category:
- Fast metabolizer (CYP1A2 *1F/*1F): Half-life ~3–4 hours. Common in people who can drink coffee after dinner and sleep fine.
- Average metabolizer: Half-life ~5–6 hours. Applies to approximately 50% of people.
- Slow metabolizer: Half-life ~7–9 hours. Common in people who feel jittery from moderate doses and cannot drink coffee after noon.
Step 2: Calculate your last safe dose timing. To have less than 25mg active at bedtime (generally safe for sleep):
- Fast metabolizer (4hr half-life): Three half-lives = 12 hours. Last 200mg dose by 10am for 10pm bedtime. Last small dose (100mg) by 1pm.
- Average metabolizer (5.5hr half-life): Three half-lives = 16.5 hours. Last 200mg dose by 7:30am for midnight bedtime. Last small coffee (~80mg) by 10am.
- Slow metabolizer (8hr half-life): Three half-lives = 24 hours. Any afternoon caffeine will have meaningful activity at bedtime regardless of dose.
What Caffeine Actually Does to Sleep
Caffeine works by blocking adenosine receptors. Adenosine is a sleep-pressure molecule that accumulates during waking hours. When adenosine receptors are blocked, sleep pressure is masked — not eliminated. The adenosine is still accumulating; you just cannot feel it. When caffeine eventually clears, the accumulated adenosine binds all at once, which is why the "caffeine crash" feels so intense.
The sleep cost of late caffeine is measured by Matthew Walker's research group at UC Berkeley: a 400mg caffeine dose 6 hours before bed reduces total deep (slow-wave) sleep by 20% that night, without subjects perceiving the reduction. This is clinically significant — reduced deep sleep impairs immune function, metabolic regulation, and memory consolidation even when total sleep time appears normal.
Caffeine Content Reference Chart
| Source | Typical Caffeine | Range |
|---|---|---|
| Drip coffee (8oz) | 95mg | 70–140mg |
| Espresso (single shot) | 63mg | 47–75mg |
| Cold brew (8oz) | 155mg | 100–200mg |
| Energy drink (8.4oz) | 80mg | 80–160mg |
| Green tea (8oz) | 28mg | 25–35mg |
| Matcha (8oz) | 70mg | 35–90mg |
| Dark chocolate (1oz) | 23mg | 12–36mg |
For the interaction between caffeine and physical exercise timing for sleep, see our sleep and recovery guide. For how caffeine interacts with alcohol in terms of sleep quality, see alcohol sleep recovery. Our complete guide to improving sleep naturally covers all behavioral interventions in a comprehensive framework.
Frequently Asked Questions
Why do some people drink coffee at night and sleep fine?
Genetics. The CYP1A2 gene encodes the primary enzyme that metabolizes caffeine in the liver. Fast-metabolizer variants process caffeine 40–50% faster than slow-metabolizer variants. Fast metabolizers can genuinely have a 3–4 hour half-life, allowing a 9pm espresso to be mostly cleared by 1am. However, objective sleep monitoring often still shows reduced deep sleep even without perceived disruption.
Does caffeine tolerance affect how it impacts sleep?
Tolerance develops for the alerting and performance effects of caffeine (subjective wakefulness) but does not fully develop for the sleep architecture disruption. Regular coffee drinkers do not feel as wired from afternoon coffee as they once did, but polysomnography studies show persistent reductions in deep sleep in habitual drinkers who consume caffeine in the afternoon.
What is the caffeine half-life during pregnancy?
Pregnancy dramatically extends caffeine half-life. In the first trimester, half-life is approximately 6–8 hours. By the third trimester, it reaches 15–18 hours, meaning a morning coffee still has significant activity at bedtime. This is why obstetric guidelines recommend limiting caffeine to 200mg/day during pregnancy.
Does decaf coffee still affect sleep?
Decaf contains 2–15mg of caffeine per cup. For most people, this is negligible. However, very sensitive individuals or slow metabolizers consuming multiple decaf cups in the afternoon may accumulate enough caffeine to affect sleep. For the vast majority of people, decaf after 5pm does not meaningfully affect sleep.
Can you build a tolerance to caffeine's sleep disruption?
Partial tolerance develops. Habitual caffeine users need more caffeine to achieve the same alerting effect and may feel less disrupted by afternoon doses. However, research shows that even with full behavioral tolerance, late caffeine still reduces slow-wave sleep by 15–20% in habitual users compared to caffeine-free control nights.
Ready for better sleep?
The mattress you sleep on shapes every night's rest. Saatva's luxury innerspring delivers orthopedic support with Euro pillow-top comfort — trusted by sleep-focused households.
Our Top Mattress Pick
The Saatva Classic consistently ranks #1 for comfort, support, and long-term durability.
Key Takeaways
Caffeine Half-Life Chart is a topic that depends heavily on individual needs and preferences. The most important thing is to consider your specific situation — your body type, sleep position, and personal comfort preferences — before making any decisions. When in doubt, take advantage of trial periods to test before committing.