When to Stop Drinking Coffee for Better Sleep

When to Stop Drinking Coffee for Better Sleep

That 3pm coffee feels harmless. You drink it, you feel fine, you fall asleep later with no problem, so what's the issue? The issue is that caffeine sticks around in your body for a lot longer than most people realize, and it can quietly wreck the quality of your sleep even when it doesn't stop you from falling asleep. Here's the timing that actually matters.

Caffeine lasts way longer than you think

Caffeine has a half-life of about 5 to 6 hours. That means if you drink a coffee at 3pm, roughly half of that caffeine is still in your system around 9pm, and a quarter of it is still floating around at 2 or 3am.

Sit with that for a second. The coffee you had after lunch is still partially active in the middle of the night. That's the whole problem in one sentence.

It wrecks your sleep even when you fall asleep fine

Here's the part people miss. Caffeine doesn't have to keep you lying awake to hurt your sleep. Even if you drop off no problem, caffeine still in your system can reduce your deep sleep, the restorative stage, so you wake up less rested without ever connecting it to that afternoon cup. "I can fall asleep fine after coffee" and "coffee isn't affecting my sleep" are two different things.

So when should you stop?

A good general rule is to have your last caffeine at least 8 hours before bed. So:

  • Bed at 11pm → last coffee around 2 to 3pm.
  • Bed at 10pm → last coffee around 1 to 2pm.

If your sleep is rough, push that cutoff even earlier. Some people are genuinely more sensitive, caffeine metabolism is partly genetic, so if you're a slow metabolizer, even a noon coffee can cost you. (And if you can down an espresso at 9pm and sleep like a rock, you may just be lucky. But most people who think that are sleeping worse than they realize.)

Watch the hidden caffeine

It's not just coffee. Tea, soda, energy drinks, pre-workout, and even dark chocolate all carry caffeine, and some headache meds do too. If you've set a coffee cutoff but you're sipping green tea or a Coke at dinner, you haven't actually cut off.

What to do

  • Pick a cutoff time and stick to it. Early afternoon is a safe default for most people.
  • Switch, don't just stop. Decaf, herbal tea, or just water after your cutoff keeps the ritual without the hit.
  • Experiment. Move your cutoff earlier for a week or two and see if your sleep quality changes. You might be surprised.

For me, I try to cut off coffee by noon on weekdays, since I'm aiming to be asleep by 10. That gives it a good 10 hours to clear before bed, and it's made a real difference, late coffee is one of the fastest ways to wreck my night.

Bottom line

Caffeine isn't the enemy, bad timing is. It lingers for 8 to 10 hours, and it can quietly steal your deep sleep even when you fall asleep fine. Set a cutoff in the early afternoon, watch the hidden sources, and give it a week. For a lot of people this one change does more than any supplement or gadget.


Back to blog