Caffeine Half-Life Calculator

Caffeine has a half-life of 5–6 hours. Find out exactly when it leaves your system so it won't wreck your sleep.

At bedtime
caffeine remaining
Caffeine at 25%
safe zone
Fully cleared
<6mg remaining
Caffeine level over time
Caffeine consumed
Time consumed
Half-life used
Recommended cut-off time
Caffeine at bedtime
Enter your details above to get personalized advice.
Caffeine & sleep — FAQ
What is caffeine's half-life?
Caffeine has an average half-life of about 5 hours — meaning half the caffeine you consumed is still in your system 5 hours later. At 10 hours, 25% remains. At 15 hours, about 12% remains. This varies based on genetics, liver enzymes, medications, and pregnancy (which can extend it to 15+ hours).
How much caffeine is in common drinks?
Espresso: 60–80mg · Filter/drip coffee (8oz): 80–120mg · Americano: 60–100mg · Cold brew (8oz): 100–200mg · Black tea: 40–70mg · Green tea: 20–45mg · Red Bull (8.4oz): 80mg · Monster (16oz): 160mg · Coca-Cola (12oz): 34mg.
When should I stop drinking coffee?
Most sleep experts recommend stopping caffeine 6 hours before bedtime, but research suggests even 6 hours before bed reduces sleep time by over an hour. For optimal sleep, try stopping 8–10 hours before your target bedtime. If you sleep at 11pm, your last coffee should ideally be by 1–3pm.
Can caffeine affect REM sleep even if I fall asleep?
Yes. Even if caffeine doesn't prevent you from falling asleep, it suppresses deep sleep and REM sleep throughout the night. Research shows 400mg of caffeine consumed 6 hours before bed still significantly reduces sleep quality, even in people who claim it doesn't affect them.