How Long Till Caffeine Leaves Your System?

For most healthy adults, caffeine takes about 25 to 30 hours to fully clear from your system. That timeline is based on caffeine’s average half-life of 5 hours, meaning every 5 hours, your body eliminates roughly half of what’s left. After five or six half-lives, the amount remaining is negligible. But individual variation is enormous: the half-life can range from 1.5 hours to 9.5 hours depending on your genetics, medications, and lifestyle.

How Caffeine Clears Your Body

Caffeine is absorbed quickly after you drink it, typically reaching peak levels in your blood within about 30 to 60 minutes. From there, your liver does most of the work breaking it down using a specific enzyme system. The process follows a predictable pattern: every half-life cycle, the concentration drops by half.

Here’s what that looks like in practice. Say you drink a cup of coffee containing 200 mg of caffeine at 8 a.m., and your personal half-life is the average 5 hours:

  • 1 p.m. (5 hours): ~100 mg remaining
  • 6 p.m. (10 hours): ~50 mg remaining
  • 11 p.m. (15 hours): ~25 mg remaining
  • 4 a.m. (20 hours): ~12 mg remaining

Even 25 mg at 11 p.m. is enough to interfere with sleep for many people, which is why the clearance timeline matters so much for anyone sensitive to caffeine’s effects.

Why Your Timeline May Be Different

That 5-hour average hides a wide range. Your genetics play a major role. A variation in the gene that controls your primary caffeine-processing enzyme (CYP1A2) determines whether you’re a fast or slow metabolizer. People with certain versions of this gene clear caffeine sluggishly, while others burn through it quickly. You can’t easily test for this at home, but if caffeine keeps you wired for hours while your friend sleeps fine after an evening espresso, genetics are the likely explanation.

Smoking tobacco dramatically speeds up caffeine metabolism. Smokers have an average caffeine half-life of about 3.5 hours compared to 6 hours in nonsmokers, nearly cutting clearance time in half. This is because compounds in tobacco smoke activate the same liver enzyme system responsible for breaking down caffeine. If you quit smoking, expect caffeine to hit harder and last longer than you’re used to.

Hormones and Medications That Slow Things Down

Oral contraceptives nearly double caffeine’s half-life. In one study, women taking birth control pills had an average caffeine half-life of 10.7 hours compared to 6.2 hours in women not using them. That means a morning coffee could still have meaningful levels circulating well into the evening, and a second cup at lunch could accumulate to uncomfortable levels.

Pregnancy extends caffeine clearance even further, particularly in the third trimester, when the half-life can stretch significantly beyond normal. Liver disease also impairs caffeine processing. People with advanced cirrhosis may experience side effects like nervousness, insomnia, and headaches at doses that wouldn’t bother someone with a healthy liver, because the caffeine simply lingers much longer in their system.

Caffeine in Newborns and Infants

Newborns process caffeine extraordinarily slowly. While adults clear half of it in about 4 to 5 hours, a newborn’s half-life can be as long as 100 hours. Caffeine stays in an infant’s system for weeks, not hours. As babies mature over the first months of life, their liver enzyme systems develop and they begin metabolizing it more quickly. This is relevant for breastfeeding: caffeine appears in breast milk with peak levels about 1 hour after a dose, and the half-life of caffeine in milk averages 6 to 7 hours. Moderate intake is generally well-tolerated by older infants, but very young newborns can accumulate caffeine from repeated maternal doses.

The Sleep Cutoff

The most practical reason people search this question is sleep. Research published in the Journal of Clinical Sleep Medicine found that caffeine consumed 6 hours before bedtime still significantly reduced total sleep time. In the study, participants who had caffeine at that 6-hour mark lost meaningful sleep, even when they didn’t perceive the disruption themselves.

Because individual half-lives vary so widely, expert recommendations for a caffeine cutoff range from 4 to 11 hours before bed. Six hours is considered the minimum for most people. If you’re someone who metabolizes caffeine slowly, whether due to genetics, birth control, or other factors, you may need a cutoff closer to 8 or even 10 hours. A reasonable rule of thumb: if you go to bed at 10 p.m., your last substantial caffeine should be before 2 p.m. at the latest, and ideally before noon if you’re a slow metabolizer.

Keep in mind that “substantial” matters here. A small piece of dark chocolate at 4 p.m. (roughly 20 mg of caffeine) is very different from a large premium coffee (which can contain 300 mg or more). The dose you start with determines how much is still circulating hours later.

Full Elimination vs. Noticeable Effects

There’s an important distinction between when caffeine stops affecting you and when it’s completely gone. Most people stop noticing caffeine’s stimulating effects well before it fully clears. You might feel “back to normal” after 6 or 8 hours, but measurable caffeine is still present in your bloodstream. Those residual levels, while low, can still interfere with sleep quality even when you don’t feel alert.

For complete elimination to less than 1% of the original dose, multiply your personal half-life by roughly 6.5. At the average 5-hour half-life, that’s about 33 hours. For a fast metabolizer with a 2-hour half-life, it’s closer to 13 hours. For someone on oral contraceptives with a 10-hour half-life, full clearance could take nearly three days.