Caffeine half-life calculator
The short answer: caffeine has a half-life of about 5 hours in most adults - so half of your 2 pm coffee is still working on you at 7 pm, and a quarter at midnight. Dial in your day below to see your bedtime number.
How long does caffeine stay in your system?
Caffeine's half-life in healthy adults ranges from 3 to 7 hours, averaging about 5. Every half-life, the amount in your blood halves - it doesn't just "wear off" when the buzz fades. A 95 mg cup at 2 pm leaves ~48 mg at 7 pm, ~24 mg at midnight, and ~12 mg at 5 am. Full clearance of a morning coffee takes roughly a day.
Your personal half-life is largely genetic (the CYP1A2 enzyme), and it stretches with pregnancy, some medications, and liver load - and shrinks for smokers. That's why the same latte wrecks one person's sleep and doesn't touch another's.
What's a good caffeine cutoff time for sleep?
Research on 100 mg+ doses shows measurable sleep disruption when caffeine is taken up to 6 hours before bed - for an 11 pm bedtime, that's a 5 pm hard stop, and 2 pm is the safer line for average metabolizers. But that's a population average, not your number. Slow metabolizers may need a noon cutoff; fast ones can genuinely handle an after-dinner espresso.
This calculator shows the average. You aren't average.
The honest way to find your cutoff: log your caffeine timing and sleep for two weeks, then compare the numbers. Claritips does exactly that - one 60-second check-in a day, and a verdict like "sleep during the experiment: 4.1★ vs 2.9★ before." No AI, just your own arithmetic.
Run the 14-night caffeine test →