Illustration of a steaming mug of coffee beside a wall clock and a window shifting from bright afternoon sun to a starry night sky, with coffee beans on a wooden counter.

How Long Does Caffeine Last? Half-Life, Sleep and Your Coffee Cutoff

Key takeaway: Caffeine typically peaks in your blood 30 to 60 minutes after a cup, and its half-life averages about 4 hours, though it varies a lot from person to person. Sleep studies found caffeine can still trim sleep when taken 6 hours before bed, and a 2023 meta-analysis put the cutoff for a cup of coffee at about 8.8 hours.

It's the first Monday after the clocks fell back. Your body clock is still catching up, it gets dark before dinner, and that 3 PM cup is calling your name. So here's the question we hear a lot: how long does that caffeine actually stick around?

Short answer: longer than most people think. Let's walk through what the research measured.

How fast does caffeine kick in?

Pretty fast. After you drink it, caffeine is absorbed almost completely from your gut, mostly in the small intestine, and blood levels typically peak within 30 to 60 minutes (Liu & Xu, Hereditas 2026). That's why the second half of your morning mug often feels like the "on" switch.

What is caffeine's half-life?

A half-life is the time it takes your body to clear half of something. For caffeine, a 2026 review lists a typical half-life of about 4 hours (Liu & Xu, Hereditas 2026).

Here's a rough illustration using round numbers (not a prediction for you personally). Say your afternoon cup has about 100 mg of caffeine:

Time Caffeine still in your system (approx.)
2 PM: you finish the cup 100 mg
6 PM 50 mg
10 PM: bedtime 25 mg
2 AM 12 mg

A quarter of that afternoon cup can still be on board when you turn out the lights.

Why does caffeine last longer for some people?

Because "about 4 hours" is an average, and real people vary a lot. Your liver does most of the work: an enzyme called CYP1A2 handles about 95% of the caffeine you drink, and common gene variants make some people fast processors and others slow ones (Nehlig, Pharmacol Rev 2018).

Everyday factors shift it too. The 2026 review summarized studies finding that:

  • Smoking speeds caffeine clearance, with half-life dropping from about 6 hours to 3.5 hours in one comparison.
  • Combination birth control pills with ethinylestradiol cut caffeine clearance by about 55% after one cycle.
  • Pregnancy slows it way down, from an average of about 3 hours to as long as 10.5 hours in the final weeks.
  • Some medications that share the same liver enzyme can slow caffeine clearance a lot.

(Liu & Xu, Hereditas 2026) If any of these apply to you, your doctor or pharmacist is the right person to ask about timing.

Does afternoon coffee affect your sleep?

This is where it gets interesting. Researchers have tested it directly:

  • The 6-hour study: At Henry Ford Hospital in Detroit, 12 healthy sleepers took 400 mg of caffeine (a big dose, about 4 cups' worth) at bedtime, 3 hours before, or 6 hours before, or a placebo, then slept at home with a sleep monitor. All three caffeine timings disrupted sleep compared with placebo. Even at 6 hours, the monitor recorded about 41 fewer minutes of sleep, a result that came close to but didn't reach statistical significance, and the authors recommended skipping substantial caffeine for at least 6 hours before bed (Drake et al., J Clin Sleep Med 2013).
  • The big-picture review: A 2023 meta-analysis pooled 24 studies and found caffeine reduced total sleep by 45 minutes on average and cut deep sleep by about 11 minutes. To avoid losing sleep, the authors calculated that a cup of coffee (107 mg per 250 mL) should be finished at least 8.8 hours before bedtime (Gardiner et al., Sleep Med Rev 2023).
  • Even a morning cup? In a small Swiss study of 9 healthy men, 200 mg of caffeine at 7:10 AM still showed up in saliva at bedtime, and sleep efficiency and total sleep time that night were lower than with placebo (Landolt et al., Brain Res 1995). Small study, but a fun reminder that caffeine has a long tail.

So when should you stop drinking coffee?

There's no single magic hour, but the studies give a useful starting point:

If your bedtime is... 6-hour cutoff (Drake 2013) 8.8-hour cutoff (Gardiner 2023)
9:30 PM 3:30 PM about 12:40 PM
10:30 PM 4:30 PM about 1:40 PM
11:30 PM 5:30 PM about 2:40 PM

A few friendly tips:

  1. Front-load your coffee. Enjoy your cups in the morning and early afternoon, when you want the lift.
  2. Watch the dose. Bigger drinks and pre-workout products carry more caffeine. Gardiner's team put the cutoff for a 217.5 mg pre-workout serving at 13.2 hours. Curious how your brew stacks up? See espresso vs drip caffeine and does dark roast have more caffeine.
  3. Mind your total. The FDA cites 400 mg a day as an amount not generally associated with negative effects for most healthy adults. More on that in how many cups of coffee a day.
  4. Craving an evening mug? Decaf keeps the ritual without most of the caffeine. We compare options in decaf, instant or ground.

Is it a myth that coffee "wears off" after a couple of hours?

Mostly, yes. The buzz you feel may fade, but the caffeine is still being cleared on that roughly 4-hour half-life. Feeling fine at 9 PM doesn't mean your 3 PM latte is fully gone, which is exactly why the sleep studies measured sleep instead of asking people how wired they felt.

Make the morning cup the one that counts

If your coffee window is shrinking to the morning, make that cup a great one. That's why we started Edge in St. Paul in 2020. Pure Health Coffee is a Peruvian single-origin Arabica, medium roasted for notes of chocolate, caramel and roasted nuts. Every lot is tested by Eurofins, and our posted sample reports showed no detectable mycotoxins, including ochratoxin A below 1 ppb. See them on our lab results page, and learn what we test for on our mold-free coffee page. Results apply to the samples tested.

Need a better morning brew to go with your new cutoff? Try our coffee to water ratio cheat sheet or the French press guide. Shipping is free on every order, always.

FAQ

How long does caffeine last? Caffeine usually peaks in your blood 30 to 60 minutes after drinking it, and its half-life averages about 4 hours. Some of it can remain in your system for many hours after that, and the timing varies widely between people.

What is the half-life of caffeine? A 2026 review lists a typical half-life of about 4 hours. It can be shorter in smokers and much longer during pregnancy, with some birth control pills, or with certain medications.

How long before bed should I stop drinking coffee? A 2013 study found caffeine taken 6 hours before bed still disrupted sleep, and a 2023 meta-analysis calculated that a cup of coffee should be finished at least 8.8 hours before bedtime to avoid losing sleep.

Can morning coffee affect sleep at night? In a small 1995 study, 200 mg of caffeine taken just after 7 AM was still detectable at bedtime and was linked to slightly less sleep that night compared with placebo. Most people tolerate morning coffee well, but sensitivity varies.

Why does caffeine affect some people more than others? Most caffeine is processed by a liver enzyme called CYP1A2, and common gene variants make some people faster or slower processors. Smoking, pregnancy, some birth control pills and certain medications also change how quickly caffeine clears.

Does decaf have caffeine? Decaf has much less caffeine than regular coffee, but usually not zero. It's a popular way to keep an evening coffee ritual while cutting most of the caffeine.

This article is general information about coffee and caffeine research. Results from individual studies apply to the people and conditions they tested. It isn't medical advice; if you're pregnant, take medication or have a health condition, ask your doctor about caffeine.

Sources

  1. Liu X, Xu S. Unraveling the complexities of caffeine: metabolism, genetics, evolution, and health. Hereditas. 2026. doi:10.1186/s41065-026-00648-z. https://pubmed.ncbi.nlm.nih.gov/41622288/
  2. Nehlig A. Interindividual differences in caffeine metabolism and factors driving caffeine consumption. Pharmacol Rev. 2018;70(2):384-411. https://pubmed.ncbi.nlm.nih.gov/29514871/
  3. Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med. 2013;9(11):1195-1200. https://pubmed.ncbi.nlm.nih.gov/24235903/
  4. Gardiner C, Weakley J, Burke LM, et al. The effect of caffeine on subsequent sleep: a systematic review and meta-analysis. Sleep Med Rev. 2023;69:101764. https://pubmed.ncbi.nlm.nih.gov/36870101/
  5. Landolt HP, Werth E, Borbély AA, Dijk DJ. Caffeine intake (200 mg) in the morning affects human sleep and EEG power spectra at night. Brain Res. 1995;675(1-2):67-74. https://pubmed.ncbi.nlm.nih.gov/7796154/
  6. U.S. Food and Drug Administration. Spilling the Beans: How Much Caffeine Is Too Much? https://www.fda.gov/consumers/consumer-updates/spilling-beans-how-much-caffeine-too-much
  7. Edge Coffee sample Eurofins report AR-24-JF-015481-01 (Pure Health Coffee green beans, Mar 2024), via /pages/lab-results
Back to blog

Leave a comment

Please note, comments need to be approved before they are published.