Caffeine from a cup of coffee has a half-life of 5 to 6 hours in most healthy adults, meaning half the caffeine you consumed is still circulating in your bloodstream up to 6 hours later. The other half takes another 5 to 6 hours to drop by half again, and so on. In practical terms, a single cup of coffee can take well over 12 hours to fully clear your system, even though you stop “feeling” it long before that.
How Caffeine Moves Through Your Body
After you drink coffee, caffeine is absorbed quickly through your stomach and small intestine. Blood concentrations peak anywhere from 15 minutes to two hours after consumption, depending on factors like whether you’ve eaten recently and your individual metabolism. That peak is when you feel the most alert and energized.
From there, your liver does nearly all the work of breaking caffeine down. A single enzyme in the liver is responsible for over 95% of caffeine metabolism. How fast that enzyme works varies dramatically from person to person, which is why your coworker can drink espresso after dinner and sleep fine while you’re staring at the ceiling after an afternoon latte.
Fast vs. Slow Metabolizers
Your genetics play a major role in how quickly you clear caffeine. About 46% of people carry a gene variant that makes them “fast metabolizers,” meaning their liver processes caffeine efficiently and clears it relatively quickly. The other 54% of the population are “slow metabolizers” who maintain higher caffeine levels in their blood after the same dose.
Fast metabolizers tend to drink more coffee overall, likely because the effects wear off sooner and they reach for another cup. Slow metabolizers, on the other hand, often feel wired or jittery from amounts that wouldn’t faze a fast metabolizer. You can’t easily test for this at home, but your own experience with caffeine is a reliable signal. If a single cup keeps you buzzing for hours, you’re likely on the slower end.
What Changes Your Caffeine Half-Life
Beyond genetics, several factors can significantly stretch or shorten how long caffeine lingers.
Pregnancy: Caffeine metabolism slows substantially during pregnancy. By the third trimester, caffeine’s half-life can extend to as long as 15 hours, roughly triple the normal duration. A morning coffee could still be at meaningful levels in the bloodstream well into the next day.
Hormonal birth control: Oral contraceptives nearly double caffeine’s half-life. In one study, women taking oral contraceptives had an average half-life of 10.7 hours compared to 6.2 hours in women not taking them. That means a cup of coffee at noon could still have a quarter of its caffeine active at bedtime for someone on the pill.
Smoking: Tobacco use accelerates caffeine clearance considerably. Smokers process caffeine roughly twice as fast as nonsmokers. This also explains a common experience during quit attempts: people who stop smoking but keep drinking the same amount of coffee often feel unexpectedly anxious or jittery. Research has shown that caffeine levels can rise to 203% of baseline within three weeks of quitting smoking, simply because the liver is no longer clearing it at the same accelerated rate.
Age: Older adults generally metabolize caffeine more slowly than younger adults, though the difference varies by individual.
When Caffeine Actually Stops Affecting Sleep
This is the question behind the question for most people. You want to know whether that afternoon coffee is the reason you can’t fall asleep.
A systematic review and meta-analysis published in Sleep Medicine Reviews found that coffee should be consumed no later than 8.8 hours before bedtime to avoid reductions in total sleep time. For someone who goes to bed at 10 p.m., that means finishing your last cup by around 1:00 p.m. That cutoff is significantly earlier than many people expect, but it accounts for the slow tail end of caffeine clearance that you may not consciously feel but that still interferes with sleep onset and depth.
Keep in mind that the 8.8-hour figure is an average. If you’re a slow metabolizer, are pregnant, or take oral contraceptives, you may need an even wider buffer. If you’ve noticed that even a morning-only coffee habit doesn’t seem to affect your sleep at all, you’re likely a fast metabolizer with more flexibility.
Putting the Timeline Together
Here’s what the full arc looks like for a typical healthy adult who drinks a cup of coffee containing roughly 100 mg of caffeine:
- 15 to 45 minutes: Caffeine takes effect and begins reaching peak levels in the blood.
- 1 to 2 hours: Blood concentration hits its maximum. Alertness and focus are at their strongest.
- 5 to 6 hours: About 50 mg remains. You may still feel mildly stimulated.
- 10 to 12 hours: About 25 mg remains. Most people no longer feel any effect, but the caffeine is still present and can subtly affect sleep quality.
- 15+ hours: Trace amounts remain. For most practical purposes, the caffeine is cleared.
If you’re a slow metabolizer or have any of the factors that extend caffeine’s half-life, shift each of those milestones later. A cup of coffee in the morning is a safe bet for nearly everyone, but anything after lunch is where individual differences start to matter.

