Caffeine Cutoff Calculator
Caffeine lingers for hours, so an afternoon coffee can quietly sabotage your sleep. Get a personalized "last caffeine" time for your bedtime and sensitivity.
Quick answer: Because caffeine has a half-life of roughly 5–6 hours, a common guideline is to stop caffeine about 8–10 hours before bed (more if you're sensitive). For an 11 PM bedtime that usually means no coffee after early-to-mid afternoon. This calculator sets a personalized cutoff from your bedtime and caffeine sensitivity. Metabolism varies a lot between people, so treat the result as a smart starting point and adjust by how your sleep responds. Enter your bedtime below.
Why caffeine needs a cutoff
Caffeine works by blocking adenosine, the chemical that builds up through the day and creates "sleep pressure", the growing urge to sleep. With adenosine blocked, you feel alert. The catch is timing: caffeine has a half-life of about 5–6 hours in most adults, so long after the buzz fades, half the dose, then a quarter, is still circulating. A 3 PM coffee can leave a meaningful amount in your system at 11 PM, quietly lightening your sleep even if you don't feel wired.
This tool uses a conservative window based on your sensitivity so caffeine has time to clear before bed. For the full picture, see caffeine and sleep.
Worked example
Say you want to be asleep by 11:00 PM and you're of average sensitivity (a 10-hour window):
| Step | Value |
|---|---|
| Target bedtime | 11:00 PM |
| Sensitivity window | 10 hours |
| Caffeine cutoff | 1:00 PM |
| After the cutoff | Decaf or caffeine-free only |
If you're highly sensitive, the window widens to 12 hours and the cutoff moves to 11 AM. If caffeine rarely affects you, 8 hours puts it at 3 PM. Start with the suggested time, then nudge it earlier if you still notice your sleep is lighter.
Don't forget hidden caffeine
The cutoff is about caffeine from any source, not just coffee. Tea, energy drinks, cola, pre-workout supplements, some pain relievers, and even dark chocolate all add to your total load. A strong espresso carries far more than a cup of tea, so a late tea may matter less than a late coffee, but for sensitive sleepers it can still count. If your sleep is troubled, tally every afternoon and evening source, not just your morning cup.
What a cutoff does for your sleep
Fall asleep faster
Less circulating caffeine means adenosine can do its job, so sleep comes more easily.
Deeper sleep
Clearing caffeine before bed protects slow-wave sleep that late coffee can lighten.
Break the cycle
Better nights reduce next-day grogginess, and the extra coffee that feeds the loop.
Personalized, not generic
The cutoff adjusts to your bedtime and sensitivity instead of a one-size "2 PM" rule.
A planning aid, not a prescription. Caffeine metabolism varies widely with genetics, medications, pregnancy, and smoking, so no formula fits everyone, use the cutoff as a starting point and adjust to your own sleep. If you rely on caffeine to get through most days, feel anxious or jittery, or have heart or blood-pressure concerns, talk to a doctor or pharmacist. This tool is educational and not medical advice.
Frequently Asked Questions
A common guideline is to stop caffeine at least 8 to 10 hours before bed, and more if you're sensitive. Because caffeine has a half-life of around 5 to 6 hours, a mid-afternoon coffee can still have a meaningful amount in your system at bedtime. For an 11pm bedtime, that often means no caffeine after roughly early-to-mid afternoon. This calculator personalizes the cutoff to your bedtime and sensitivity. Since metabolism varies a lot between people, use the result as a starting point and adjust based on how your sleep responds.
Yes. You can feel perfectly calm and still have caffeine disrupting your sleep. Research has found that caffeine taken even 6 hours before bed can reduce total sleep, and it can lighten sleep and make it harder to fall asleep without you consciously feeling stimulated. That's because caffeine blocks adenosine, the chemical that builds sleep pressure, behind the scenes. So the absence of a jittery feeling doesn't mean your evening coffee is harmless, the effect on sleep architecture can happen regardless of whether you notice a buzz.
Yes, the cutoff is about caffeine, wherever it comes from. Tea, energy drinks, cola, pre-workout supplements, and even dark chocolate contain caffeine, and it all adds to your total load. The amounts differ: a strong coffee has far more than a cup of tea, so a late tea may matter less than a late espresso, but sensitive people can still be affected. If you're troubled by sleep, it's worth accounting for all caffeine sources in the afternoon and evening, not just coffee, and applying the same cutoff logic to each.
A lot of it comes down to how quickly your liver clears caffeine, which is largely genetic, "fast metabolizers" break it down quickly, while "slow metabolizers" feel effects far longer. Age, pregnancy, certain medications, and smoking status also change how fast you process it. On top of that, regular heavy users build some tolerance to the alertness effect, though that doesn't necessarily protect their sleep. This is why the calculator offers low, average, and high sensitivity settings rather than a single number, pick the one that matches your experience.
Not completely, but it's close. Decaffeinated coffee still contains a small amount of caffeine, typically a fraction of a regular cup, so one decaf in the evening is fine for most people. If you're very sensitive or drink several cups late, even those small amounts can add up, so herbal (naturally caffeine-free) options are the safest late-night choice. The practical rule: after your cutoff, switch to decaf, herbal tea, or water, and if you're still noticing sleep issues, go fully caffeine-free in the evening to rule it out.
A coffee nap, drinking coffee then immediately napping for 15–20 minutes, is a real daytime trick: caffeine takes about 20 minutes to kick in, so you wake just as it hits, feeling doubly alert. But it's an afternoon tool, not an evening one. Doing it late in the day still loads caffeine into your system before bed and works against your cutoff. Keep coffee naps to the early afternoon, well before your cutoff time. See our power nap timer to time the nap itself.