How much caffeine is still active in your body at bedtime depends on what you drank, when you drank it, and how fast your body clears caffeine — not a single cutoff time that works for everyone.
Quick answer: caffeine has an average half-life of about 5 hours, but the real range is roughly 1.5–9.5 hours depending on the person. Log your actual intake below to get a number specific to you, instead of relying on a generic rule of thumb.
Caffeine Cutoff Calculator
Add each caffeinated drink you’ve had (or plan to have) today, set your target bedtime, and calculate.
How much caffeine will be in your system at bedtime?
Advanced: adjust for your metabolism
Who This Is For
Anyone who's been told to "just stop caffeine by 2pm" and wants a number based on what they actually drink, not a population average. Especially useful if you drink coffee later in the day, rely on an afternoon energy drink, or you're not sure whether that after-dinner tea is actually the reason you're lying awake.
How This Calculator Works
Caffeine clears from your body at a fairly predictable rate called its half-life — the time it takes for half of it to be metabolized. The FDA and Mayo Clinic both cite an average half-life around 5 hours, with a documented range of roughly 1.5–9.5 hours depending on the person. This calculator applies that decay curve to each drink you log individually, then adds the results together to estimate how much caffeine remains active at your bedtime.
What it doesn't account for: pregnancy, liver conditions, and certain medications (hormonal birth control and some antidepressants among them) can meaningfully slow caffeine metabolism beyond the "slow metabolizer" preset offered here. Smoking tends to speed it up. If any of that applies to you, treat the result as a rough floor rather than an exact number, and lean toward an earlier cutoff.
This is an estimate for general planning, not medical advice. If caffeine sensitivity or sleep problems are significantly affecting your life, a doctor can give guidance specific to you.
Common Mistakes When Timing a Caffeine Cutoff
- Forgetting hidden sources – chocolate, some pain relievers, and pre-workout supplements can add meaningful caffeine on top of drinks
- Using one rule for every day – a 2pm cutoff that works on a normal day won't work the day you have three coffees
- Ignoring how you personally metabolize caffeine – the "average" half-life is a population number, not a guarantee for any one person
- Assuming decaf is caffeine-free – it typically still has a small amount, which can matter if you're highly sensitive
Key Takeaways
Caffeine's half-life averages around 5 hours but varies widely by person, so a fixed "stop by 2pm" rule is a rough guess at best. Logging what you actually drink and when gives a far more useful, personal cutoff time — and if you're sensitive, pregnant, or on medication that slows caffeine metabolism, it's worth erring earlier than the calculator suggests.
FAQ
How long does caffeine really stay in your system?
On average, about half of the caffeine you consume is cleared every 5 hours, but the full range across individuals runs from roughly 1.5 to 9.5 hours. Most people still have a meaningful amount of caffeine active 8–10 hours after a normal-sized coffee.
Does decaf coffee have caffeine?
Yes, typically a small amount — usually a few milligrams per cup rather than zero. It's rarely enough to matter, but if you're highly sensitive to caffeine, it can still be worth factoring in late in the day.
Why does caffeine affect some people more than others?
Genetics play a large role — some people process caffeine through liver enzymes much faster or slower than average. Age, pregnancy, liver function, smoking, and certain medications all shift how quickly caffeine clears, which is why the same cup of coffee can feel very different from one person to the next.
Is it better to cut caffeine completely or just cut back?
For most people, timing matters more than total elimination. Moving your last caffeinated drink earlier in the day, rather than cutting it out altogether, is usually enough to stop it from interfering with sleep onset.
About this article
Written by the Sleep Fixes editorial team. We're not medical professionals — we research each topic against primary sources and hold ourselves to being critical and thorough about what actually makes it onto the site.
This article is part of Sleep Fixes, a site focused on practical, easy-to-follow solutions for common sleep problems like night waking, dry mouth, overheating, and disrupted sleep.
The calculator above applies a standard pharmacokinetic decay model using half-life figures drawn from the FDA and Mayo Clinic sources cited above. It is a planning estimate, not medical advice. If your symptoms are severe, persistent, or worsening, consider consulting a qualified healthcare professional.
