How Long Does Caffeine Stay in Your System? The Complete Guide

You drank a coffee at 2 PM and now it’s midnight — but you’re wide awake. How long does caffeine actually stay in your system? The answer involves a concept called half-life, and understanding it can transform your sleep quality.

Caffeine’s Half-Life: The 5-Hour Rule

Caffeine has an average half-life of 5 hours. This means that 5 hours after drinking a cup of coffee, half the caffeine is still circulating in your bloodstream. After 10 hours, you still have 25%. After 15 hours, 12.5% remains.

Here’s what that looks like for a standard 95mg cup of coffee consumed at 2:00 PM:

  • 2:00 PM — 95mg (peak level)
  • 7:00 PM — 47mg (still above sleep disruption threshold)
  • 12:00 AM — 24mg (may still reduce deep sleep quality)
  • 5:00 AM — 12mg (minimal impact)

Track your exact caffeine levels with our Caffeine Half-Life Calculator.

Factors That Affect Caffeine Metabolism

Not everyone processes caffeine at the same rate. Your half-life could be as short as 3 hours or as long as 9 hours depending on:

  • Genetics — The CYP1A2 gene determines if you’re a fast or slow metabolizer. About 50% of people are slow metabolizers.
  • Age — Caffeine metabolism slows as you age. A 65-year-old processes caffeine 33% slower than a 25-year-old.
  • Pregnancy — Half-life can extend to 15+ hours during pregnancy.
  • Medications — Birth control pills, some antidepressants, and antibiotics can double caffeine’s half-life.
  • Smoking — Smokers metabolize caffeine 50% faster (3-4 hour half-life).
  • Liver health — Liver conditions significantly slow caffeine processing.

The Sleep Disruption Threshold

Research shows that having more than 50mg of caffeine in your system at bedtime significantly disrupts sleep — even if you don’t feel “wired.” Caffeine reduces deep sleep (the most restorative stage) and can fragment your sleep cycles without you being aware of it.

A study published in the Journal of Clinical Sleep Medicine found that caffeine consumed even 6 hours before bed reduced total sleep time by more than 1 hour.

How Much Caffeine Is in Popular Drinks?

  • Coffee (8oz): 95mg
  • Espresso (1 shot): 63mg
  • Large Coffee (16oz): 150mg
  • Cold Brew (16oz): 200mg
  • Black Tea (8oz): 47mg
  • Green Tea (8oz): 28mg
  • Energy Drink (8oz): 80mg
  • Cola (12oz): 36mg
  • Dark Chocolate (1oz): 20mg

When Should You Stop Drinking Coffee?

Based on the 5-hour half-life and 50mg threshold, here’s your caffeine cutoff time based on bedtime:

  • Bedtime 10 PM → Stop caffeine by 12-2 PM
  • Bedtime 11 PM → Stop caffeine by 1-3 PM
  • Bedtime 12 AM → Stop caffeine by 2-4 PM

Want to see exactly when caffeine leaves your system? Use our Caffeine Half-Life Calculator to visualize the decay curve and find your personal cutoff time.

Try Our Free Tools

Caffeine Half-Life Calculator → — Calculate exactly how long caffeine remains in your system.

Coffee Timing Calculator → — Find the best time for your last coffee based on your bedtime.