Caffeine science

How Long Does Caffeine Last? Half-Life, Timeline and What Changes It

Caffeine peaks in under an hour but takes 5 hours to drop by half, and much longer if you're on the pill or pregnant. Here's the hour-by-hour timeline for a cup of coffee.

The short answer

  • You feel caffeine within 15–20 minutes, and it peaks around 45–60 minutes after you drink it.
  • Its half-life is about 5 hours in a healthy adult: after 5 hours, roughly half of it is still in you.
  • A regular cup of coffee takes around 24 hours to clear almost completely.
  • Half-life ranges from about 2.5 hours (smokers) to 15 hours (late pregnancy), so "how long" is personal.

The buzz from a coffee fades in a few hours, so it's easy to assume the caffeine is gone. It isn't. Caffeine keeps working on your brain long after you stop noticing it, and that's why an afternoon latte can still be shaping your sleep at midnight.

Here's what happens to caffeine from the first sip to the next morning, and the things that make it last longer or shorter for you.

What "half-life" means for your coffee

Almost all the caffeine you drink gets into your bloodstream: its oral bioavailability is close to 100%. Your liver then breaks it down, mostly with a single enzyme called CYP1A2, into paraxanthine, theobromine and theophylline, which leave in your urine.

The speed of that clean-up is described by the elimination half-life: the time it takes for the amount in your body to fall by half. For the average adult, it's about 5 hours. Each half-life halves what's left, so caffeine fades on a curve, not a straight line:

Hour by hour: one cup of coffee

Take an 8 oz (240 ml) cup of drip coffee with about 95 mg of caffeine, a 5.5-hour half-life, and the same absorption model we use in our app. Here's how much is active in your body afterwards:

Time after drinkingActive caffeineWhat you notice
15 minutes~60 mgThe first lift in alertness
50 minutes~85 mg (peak)Peak focus; the jitters, if you get them
3 hours~67 mgStill clearly working
6 hours~46 mgThe buzz is gone, but not the caffeine
9 hours~32 mgEnough to nudge sleep in sensitive people
12 hours~22 mgA quarter of the peak
24 hours~5 mgPractically cleared

The peak is a little lower than the 95 mg in the cup because your body starts clearing caffeine while it's still being absorbed. If you have a second cup before the first one clears, the two stack, which is how a morning coffee plus a lunchtime latte can leave you with more caffeine at bedtime than either drink alone.

Why caffeine lasts longer for some people

The 5-hour figure is an average. The real range is huge, because anything that speeds up or slows down CYP1A2 changes how long caffeine lasts:

The same 95 mg coffee with three half-lives: a smoker (3.5 h), a typical adult (5.5 h) and someone on the pill or slower at clearing caffeine (10 h). The dashed line is 50 mg, a sensible bedtime ceiling.020406080100Sleep line · 50 mg0 h3 h6 h9 h12 h15 h18 h21 h24 h3.5 h half-life10 h half-life5.5 h half-life
The same 95 mg coffee with three half-lives: a smoker (3.5 h), a typical adult (5.5 h) and someone on the pill or slower at clearing caffeine (10 h). The dashed line is 50 mg, a sensible bedtime ceiling.
Show as a table
Half-life1 h3 h6 h9 h12 h24 h
3.5 h8055301791
5.5 h85674632225
10 h897864524218

mg of active caffeine, hours after one 95 mg drink.

Newborns are the extreme case: premature babies can take up to 100 hours to halve a dose, which matters if you're breastfeeding.

How long does caffeine keep you awake?

Caffeine works by blocking adenosine, the chemical that builds up while you're awake and makes you feel sleepy. It doesn't remove the adenosine; it just stops you feeling it. When the caffeine wears off, the backlog hits, which is the "crash".

The problem is that caffeine can disturb sleep at levels too low to feel. In a well-known study, 400 mg of caffeine taken 6 hours before bed still cut sleep significantly, even though people weren't aware of it. A 2023 meta-analysis of 24 studies found caffeine reduced total sleep by 45 minutes on average, and cut deep sleep. So the useful question isn't "when will I stop feeling it?" but "how much will be left at bedtime?". We answer that one in when to stop drinking coffee before bed.

Can you flush caffeine out faster?

Not really. Water, exercise, and more coffee don't speed up your liver. Drinking water helps you feel better if you're jittery and keeps you hydrated, but the half-life stays the same. The only reliable tools are dose (drink less) and timing (drink it earlier). Swapping an afternoon coffee for a decaf, which has about 2–15 mg, is the easiest win.

Try it with your own drink

Pick a drink, when you'll have it, and your bedtime. This runs the same model as the app:

0mg

Active caffeine from this one drink, with a one-compartment model (absorption half-life 10 min). The app adds up every drink in your day. General wellness information, not medical advice.

Frequently asked questions

How long does caffeine stay in your system?

For most adults, caffeine's half-life is about 5 hours, so half of a coffee is still in you 5 hours later and it takes around 24 hours to clear almost completely. On the pill, in pregnancy or with a slow metabolism it can take much longer.

When does caffeine peak?

Caffeine is usually felt within 15–20 minutes and peaks in your blood about 45–60 minutes after you drink it. Food can delay absorption a little.

How long does the caffeine from one cup of coffee last?

A 95 mg cup of drip coffee still leaves about 46 mg in your body after 6 hours and about 22 mg after 12 hours, with a typical 5.5-hour half-life.

Does caffeine last longer in women?

Not by sex alone, but hormonal contraceptives and pregnancy both slow caffeine clearance. One study found a 7.9-hour half-life in women on low-dose estrogen pills versus 5.4 hours without.

Can drinking water flush out caffeine?

No. Your liver clears caffeine at a fixed rate. Water helps you stay hydrated and may ease jitters, but it does not shorten caffeine's half-life.

Sources

  1. Evans J, et al. Caffeine. StatPearls, NCBI Bookshelf (pharmacokinetics, half-life, smoking, pregnancy).
  2. Abernethy DR, Todd EL. Impairment of caffeine clearance by chronic use of low-dose oestrogen-containing oral contraceptives. Eur J Clin Pharmacol, 1985.
  3. Drake C, et al. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med, 2013.
  4. Gardiner C, et al. The effect of caffeine on subsequent sleep: a systematic review and meta-analysis. Sleep Med Rev, 2023.
  5. U.S. FDA. Spilling the Beans: How Much Caffeine is Too Much? (decaf content).

General wellness information, not medical advice. If you're pregnant, have a heart condition, or take medication that affects caffeine, check your limits with a doctor.

Caffeine vs Water app icon

Know before you drink.

Caffeine vs Water shows what your next coffee will do to your sleep, and keeps your water on pace. For iPhone and Apple Watch. No account, no ads.

Coming soon to the App Store