How Long Does Caffeine Stay in Your System?
Caffeine can remain in your system for many hours after you consume it.
In healthy adults, caffeine has an average half-life of about 5 hours, although research shows substantial variation from person to person. A half-life is the amount of time it takes your body to eliminate approximately half of the caffeine you consumed.
That means if you consume 200 mg of caffeine at 2:00 PM, you could still have roughly 100 mg remaining around 7:00 PM and about 50 mg around midnight, assuming a five-hour half-life.
This is one reason an afternoon coffee, energy drink or pre-workout can sometimes interfere with sleep long after you stop feeling its obvious stimulating effects.
Key Takeaways
- Caffeine's average half-life is approximately 5 hours, but it varies considerably between people.
- After one half-life, roughly 50% of the caffeine you consumed may remain in your body.
- Your genetics, medications, pregnancy, smoking status, liver function and other factors can affect caffeine metabolism.
- Caffeine is metabolized primarily by a liver enzyme called CYP1A2.
- You may stop noticing caffeine's stimulating effects before your body has finished metabolizing it.
- Caffeine consumed in the afternoon can still be present in your system at bedtime.
What Does "Caffeine Half-Life" Mean?
The easiest way to understand how long caffeine stays in your system is through its half-life.
If caffeine has a five-hour half-life for you, the amount remaining decreases approximately like this:
| Time Since Consuming Caffeine | Approximate Caffeine Remaining |
|---|---|
| Immediately | 100% |
| 5 hours | 50% |
| 10 hours | 25% |
| 15 hours | 12.5% |
| 20 hours | 6.25% |
These numbers are only an illustration. Caffeine metabolism can be significantly faster or slower depending on the individual.
What does that look like with actual caffeine?
Using a five-hour half-life as a simple example:
| Starting Caffeine | After 5 Hours | After 10 Hours | After 15 Hours |
| 100 mg | ~50 mg | ~25 mg | ~12.5 mg |
| 200 mg | ~100 mg | ~50 mg | ~25 mg |
| 300 mg | ~150 mg | ~75 mg | ~37.5 mg |
So if you consume a 300 mg energy drink or pre-workout in the afternoon, a meaningful amount of caffeine could theoretically remain in your system late into the evening.
Your actual caffeine levels may differ because caffeine clearance varies substantially among individuals.
Why Does Caffeine Stay in Some People's Systems Longer?
You've probably met someone who can drink espresso after dinner and fall asleep without a problem.
Someone else might have a coffee at 2:00 PM and still feel wired at 10:00 PM.
There are biological reasons for this difference.
Genetics
One of the biggest factors is your body's ability to metabolize caffeine.
Caffeine is primarily metabolized in the liver by an enzyme called cytochrome P450 1A2, or CYP1A2.
Genetic differences can influence the activity of this enzyme, contributing to differences in how quickly people metabolize caffeine.
This is why there is no universal caffeine cutoff time that works perfectly for everyone.
Medications and Hormones
Certain medications and hormonal changes can affect caffeine metabolism.
For example, caffeine clearance can be slower during pregnancy and can also be affected by oral contraceptives and some medications.
If you take medication and are concerned about caffeine interactions, speak with your healthcare professional or pharmacist.
Smoking
Smoking can increase CYP1A2 activity and accelerate caffeine metabolism. When someone stops smoking, caffeine may therefore affect them differently than it did previously.
This does not make smoking a strategy for metabolizing caffeine and should not be interpreted as a health benefit.
Liver Function
Because caffeine is primarily metabolized in the liver, impaired liver function can affect how quickly caffeine is cleared.
How Quickly Does Caffeine Start Working?
Although caffeine can stay in your body for many hours, you usually begin feeling its effects much sooner.
Caffeine is rapidly absorbed after consumption, with blood concentrations generally peaking within roughly 15 to 120 minutes.
That cup of coffee can therefore make you feel more alert relatively quickly while continuing to circulate in your body for hours afterward.
How Long Does Coffee Stay in Your System?
Your body doesn't metabolize "coffee" separately from caffeine.
What matters primarily is how much caffeine the drink contains.
For example, if your coffee contains approximately 200 mg of caffeine and your caffeine half-life is around five hours:
- 8:00 AM: ~200 mg
- 1:00 PM: ~100 mg
- 6:00 PM: ~50 mg
- 11:00 PM: ~25 mg
Again, this is a simplified example rather than a measurement of what is actually in your bloodstream.
Different coffees can also contain dramatically different amounts of caffeine depending on the serving size, beans and preparation method.
Can Afternoon Caffeine Affect Your Sleep?
Yes.
One randomized controlled study examined 400 mg of caffeine consumed either 0, 3 or 6 hours before bedtime.
Researchers found significant sleep disruption even when caffeine was consumed six hours before bed.
That doesn't mean everyone needs to stop drinking caffeine exactly six hours before sleeping. Individual sensitivity varies considerably.
But it demonstrates an important point:
Not feeling "wired" doesn't necessarily mean caffeine is gone from your system.
If you regularly have difficulty falling asleep, one useful experiment is moving your final caffeinated drink earlier in the day and observing whether your sleep improves.
Why Am I Still Wired Hours After Drinking Caffeine?
If caffeine seems to affect you for an unusually long time, several factors could be involved:
- You consumed more caffeine than you realized.
- You metabolize caffeine more slowly.
- You consumed caffeine later than usual.
- You combined several sources of caffeine throughout the day.
- You are particularly sensitive to caffeine's effects.
- A medication or other physiological factor may be affecting caffeine metabolism.
Remember that caffeine doesn't only come from coffee.
Energy drinks, tea, soda, pre-workout supplements, chocolate, certain medications and other products can all contribute to your daily caffeine intake.
Can You Get Caffeine Out of Your System Faster?
There is no proven instant method for removing caffeine from your bloodstream after you've consumed it.
Your body needs time to metabolize caffeine, primarily through CYP1A2 in the liver.
Drinking water can help you stay hydrated, but it shouldn't be thought of as a way to simply "flush" caffeine out of your system.
This question is interesting scientifically because researchers have investigated compounds that may influence the enzymes involved in caffeine metabolism.
One such compound is rutaecarpine, a naturally occurring alkaloid that has been studied for its effects on caffeine metabolism.
Importantly, much of the research examining rutaecarpine and caffeine pharmacokinetics has been preclinical, including animal research. Those results should not automatically be assumed to occur in humans.
We'll explore the research behind rutaecarpine in greater detail in our Rutaecarpine and Caffeine guide.
The Decaffeinator
The Decaffeinator was created for people who love caffeine but don't always love how long its effects can linger.
Our formula combines ingredients selected with the relationship between caffeine, relaxation and rest in mind.
The Decaffeinator is not a substitute for responsible caffeine consumption or healthy sleep habits, and we don't believe caffeine needs to be the enemy.
Sometimes it's simply about understanding your caffeine intake, your individual sensitivity and your timing.
Goodbye Energy. Hello Rest.
Learn More About The Decaffeinator
Frequently Asked Questions
How long does 200 mg of caffeine stay in your system?
Using a five-hour half-life as a simplified example, approximately 100 mg could remain after five hours, 50 mg after ten hours and 25 mg after fifteen hours.
Actual caffeine clearance varies considerably from person to person.
How long does caffeine keep you awake?
There is no single answer. How long you feel stimulated depends on your caffeine dose, sensitivity, metabolism and when you consumed it.
Caffeine may also still be present in your body even after you no longer consciously feel its effects.
Is caffeine still in your system after 12 hours?
It can be.
Using a five-hour half-life, more than 20% of an original caffeine dose would theoretically remain after 12 hours. People who metabolize caffeine more slowly could have even more remaining.
What enzyme breaks down caffeine?
Caffeine is metabolized primarily by the liver enzyme CYP1A2.
Does drinking water flush caffeine out?
Drinking water is useful for maintaining hydration, but water does not instantly remove caffeine from your bloodstream. Your body primarily relies on metabolism in the liver to clear caffeine.
Why can I drink coffee at night and still sleep?
Caffeine sensitivity varies significantly between individuals. Genetics, habitual caffeine consumption, metabolism and other physiological factors can influence how strongly caffeine affects you.
Being able to fall asleep after coffee also doesn't necessarily mean caffeine has completely left your body.
What time should I stop drinking caffeine?
There is no perfect cutoff time for everyone.
Research has demonstrated sleep disruption from a substantial caffeine dose consumed as long as six hours before bedtime. People who are particularly sensitive to caffeine may benefit from an even earlier cutoff.
The Bottom Line
Caffeine lasts longer than many people realize.
Although the average caffeine half-life is around five hours, individual metabolism varies widely. That means caffeine from an afternoon coffee, energy drink or pre-workout could still be circulating in your body when it's time for bed.
Understanding your caffeine dose, timing and personal sensitivity can help you enjoy the benefits of caffeine while reducing its potential impact on your sleep.
Sources & Further Reading
- Drake C, Roehrs T, Shambroom J, Roth T. Caffeine Effects on Sleep Taken 0, 3, or 6 Hours Before Going to Bed. Journal of Clinical Sleep Medicine. 2013.
- Temple JL, et al. The Safety of Ingested Caffeine: A Comprehensive Review. Frontiers in Psychiatry. 2017.
- Willson C. The Clinical Toxicology of Caffeine: A Review and Case Study. Toxicology Reports. 2018.
- Guest NS, et al. Common Questions and Misconceptions About Caffeine Supplementation: What Does the Scientific Evidence Really Show? Journal of the International Society of Sports Nutrition. 2024.