Caffeine takes about 4 to 5 hours to lose half its strength in your body, and roughly 10 to 12 hours to clear almost completely. That timeline, though, varies dramatically depending on your genetics, medications, and other lifestyle factors. Some people process caffeine in as little as 3.5 hours, while others carry it for 10 or more.
How Caffeine Moves Through Your Body
After you drink coffee, tea, or an energy drink, caffeine hits your bloodstream fast. Plasma levels peak somewhere between 15 and 120 minutes after you swallow it, which is why you can feel a cup of coffee working within minutes. From that peak, the clock starts on what pharmacologists call the “half-life”: the time it takes your liver to break down half the caffeine in your system.
For a healthy adult, that half-life averages 4 to 5 hours. So if you drink 200 mg of caffeine (a typical medium coffee) at 8 a.m., you still have roughly 100 mg circulating at noon and about 50 mg at 4 or 5 p.m. By late evening, you’re down to around 25 mg. That’s not zero, and for sensitive individuals, even that residual amount can interfere with sleep.
Why Caffeine Lasts Longer for Some People
Your liver does most of the work breaking down caffeine, and the speed of that process depends on several things you may not expect.
Smoking speeds caffeine metabolism significantly. Smokers clear caffeine with an average half-life of just 3.5 hours compared to 6 hours in nonsmokers. Compounds in cigarette smoke ramp up the liver enzyme responsible for processing caffeine, which means smokers who quit often find that their usual coffee intake suddenly feels much stronger.
Hormonal birth control has the opposite effect. Women taking oral contraceptives process caffeine nearly twice as slowly, with an average half-life of about 10.7 hours compared to 6.2 hours for women not on the pill. That means a morning coffee could still be at half strength by dinnertime.
Pregnancy slows caffeine clearance even more dramatically. As pregnancy progresses, the liver enzyme that breaks down caffeine becomes less active. By the third trimester, caffeine’s half-life can stretch to around 15 hours. A single cup of coffee in the morning could linger well into the next day.
Genetics also play a role. People inherit different versions of the gene that controls the main caffeine-processing enzyme, making some individuals naturally fast metabolizers and others slow ones. If you’ve always felt like caffeine hits you harder than it hits your friends, this is likely why.
How Caffeine Disrupts Sleep
Caffeine works by blocking adenosine, a chemical your brain builds up throughout the day to make you feel sleepy. When caffeine occupies those receptors, adenosine can’t do its job, and you stay alert. The problem is that caffeine doesn’t stop adenosine from accumulating. It just masks the signal. Once caffeine finally clears, all that built-up adenosine hits at once, which is part of why you feel a “crash.”
Even moderate amounts of caffeine consumed hours before bed measurably degrade sleep quality. A study published in the Journal of Clinical Sleep Medicine found that a standard dose of caffeine taken 6 hours before bedtime still reduced total sleep time significantly. The researchers concluded that 6 hours is the bare minimum cutoff, and that larger doses could disrupt sleep even during daytime hours. Evening caffeine also delays your body’s melatonin release by about 40 minutes, roughly half the delay caused by bright light exposure at bedtime. This shifts your internal clock later, making it harder to fall asleep and wake up on time.
Beyond just making it harder to fall asleep, caffeine reduces the depth of your sleep. Studies using brain wave monitoring show that caffeine suppresses slow-wave activity, the electrical signature of deep, restorative sleep. It also alters sleep spindle activity in ways that suggest lighter, less refreshing sleep overall. You might sleep for 7 or 8 hours and still wake up feeling unrested.
The Withdrawal Timeline
If you stop consuming caffeine abruptly, withdrawal symptoms typically begin within 12 to 24 hours after your last dose. That’s when headaches, fatigue, irritability, and difficulty concentrating tend to show up. Symptoms peak between 20 and 51 hours, so days two and three are usually the worst. Most people feel back to normal within 2 to 9 days.
This timeline explains why many people feel terrible on weekend mornings if they drink less coffee than they do on workdays. The 12-to-24-hour onset window lines up almost perfectly with skipping your usual morning cup.
Practical Timing Guidelines
The FDA considers up to 400 mg of caffeine per day safe for most healthy adults. That’s roughly two to three 12-ounce cups of brewed coffee. But how much you drink matters less for sleep than when you drink it.
If you go to bed at 10 p.m., the research suggests your last substantial caffeine intake should be no later than 4 p.m., and earlier is better. For people who metabolize caffeine slowly, whether because of genetics, birth control, or pregnancy, a noon cutoff is more realistic. If you take hormonal contraceptives and your half-life is closer to 11 hours, a coffee at 2 p.m. is still at half strength at 1 a.m.
A simple way to estimate your own sensitivity: pay attention to how long after your last coffee you start feeling the alertness fade. If you still feel wired 6 or 7 hours later, you’re likely a slower metabolizer and should shift your cutoff earlier. If the buzz fades within 3 to 4 hours, you have more flexibility, but the 6-hour minimum before bed is still a good baseline.

