When to Stop Drinking Caffeine Before Bed
How to work a caffeine stopping time back from your own bedtime, using caffeine's half-life and an honest account of individual variation.
Published 2026-10-26
Expert review: pending — this line is filled in only after the review pass is complete.
What this guide answers
There is no single hour that works for everyone as a caffeine stopping time, and this guide will not pretend otherwise. What you can do is work a stopping time back from your own bedtime, using one simple idea: caffeine does not leave your body the moment you finish the cup. It fades gradually, and a meaningful amount can still be present hours later, at the very time you are trying to fall asleep.
The key fact is caffeine’s half-life. The US Food and Drug Administration (FDA), as quoted by Houston Methodist, describes caffeine’s half-life — the time it takes for the amount in your body to reduce by half — as typically four to six hours. In other words, if you drink a caffeinated drink, roughly half of that caffeine is still present four to six hours later, and roughly a quarter is still present after two half-lives, around eight to twelve hours later. That is why a coffee at dinner can still be keeping you awake at bedtime, even if you no longer feel particularly wired. The FDA’s own summary of this point, as reported in the same article, is blunt: a cup of coffee at dinner may keep you awake at bedtime.
The NHS sleep guidance fits with this. It lists avoiding caffeine late in the day among the simple things you can try for better sleep, alongside keeping a regular routine and putting your phone away before bed. It does not name a specific cutoff hour, and neither does this guide as a prescription. Instead, this guide shows you how to do the working-back yourself, so you can test a stopping time against your own evenings and notice what changes.
One more honest caveat before the method. Caffeine sensitivity varies a great deal from person to person. Houston Methodist’s article stresses exactly this: some people are more sensitive than others, and tolerance, bedtimes and work schedules all differ. Medicines, pregnancy and other health factors can also change how quickly caffeine is cleared, so anyone in those situations should talk to a healthcare professional rather than relying on a general guide. What follows is general habit information, not personal advice, and not a rule for any individual reader.
How to start / the plan
Step 1: Pick your bedtime, then count back
Start with the bedtime you actually keep most nights, not the one you wish you kept. Write it down. Then count back in hours, using the half-life idea as your guide.
A useful way to think about it is in two stages. After one half-life — roughly four to six hours — about half the caffeine from a drink remains. After two half-lives — roughly eight to twelve hours — about a quarter remains. So if your bedtime is 11 pm, counting back one half-life lands you around 5 to 7 pm, and counting back two half-lives lands you around 11 am to 3 pm. That range is wide, and that is the point: it shows why “stop at 2 pm” can be a reasonable starting experiment for one person and far too early or far too late for another.
The keyword research behind this blog suggested a worked example of counting back around eight hours from bedtime for a standard coffee, with longer for larger or stronger doses. Treat that as an example of the arithmetic, not as a prescription. If your bedtime is 10 pm, eight hours back is 2 pm. If your bedtime is midnight, eight hours back is 4 pm. The method is the same; the answer moves with your bedtime, your dose, and your sensitivity.
Try this as an experiment, not a verdict. Pick a stopping time, keep it for a week or so of ordinary evenings, and notice — without over-analysing each night — whether falling asleep feels easier, whether you wake less in the night, and whether you feel less tempted to reach for another late drink. Then, if you like, move the stopping time earlier by an hour and compare. You are looking for a pattern across several nights, not a result from a single evening, because any one night can be affected by stress, a late meal, a hot room, or a dozen other things.
Step 2: Audit the caffeine you forget about
Coffee is the obvious source, but it is far from the only one. Tea, chocolate, energy drinks and some fizzy drinks all contain caffeine, and so do some over-the-counter pain relievers and other medicines — check their labels if you take them. A person who stops coffee at lunchtime but drinks strong tea all afternoon, eats chocolate in the evening, and takes a caffeine-containing pain reliever after dinner has not really stopped caffeine at all. They have just moved it to different containers.
Do a one-day audit. For a single ordinary day, jot down every caffeinated drink and any relevant medicine, with the time you had it. You do not need exact amounts — the point is the pattern, especially the late-afternoon and evening entries. Most people who do this find at least one surprise: the “harmless” evening tea, the chocolate after dinner, or the energy drink bought on the way home. Once you can see the pattern, you can decide which late item to move earlier or swap for a caffeine-free alternative, rather than trying to change everything at once.
Step 3: Move it earlier, don’t just cut it out
Stopping caffeine abruptly can leave you with headaches and a groggy day, and a miserable day makes the whole experiment feel like a punishment. A gentler approach is to move your last caffeinated drink earlier in the day, step by step, rather than removing it entirely. If your last coffee is currently at 6 pm, try 4 pm for a while, then 3 pm if you want to go further. Keep your morning drinks as they are at first; the experiment is about the evening, not about giving up something you enjoy.
It also helps to have a replacement ready for the ritual itself. Much of an evening coffee is habit — the warmth, the pause, the taste, the moment of sitting down. A caffeine-free herbal drink, a glass of water, or simply a different evening ritual, such as the wind-down routine described in our companion guide, can fill that slot without the caffeine that comes with it. The ritual is worth keeping; the timing is what you are adjusting.
Step 4: Notice what else is in the evening
Caffeine is only one part of the evening. A large, heavy meal close to bedtime, alcohol late in the evening, a bright screen in bed, and a hot, stuffy room can all make falling asleep harder, and they can easily be mistaken for a caffeine problem — or can mask one. If you move your caffeine earlier and nothing changes, look at those other pieces before concluding that caffeine timing does not matter for you. And if you move it earlier and evenings do feel calmer, you have learned something useful about your own pattern, even though this guide cannot promise the same result for anyone else.
Common questions
What exactly is a half-life, in plain language?
It is the time it takes for half of a substance to be cleared from your body. For caffeine, the FDA figure quoted by Houston Methodist is typically four to six hours. So after that time, about half remains; after another four to six hours, about a quarter of the original amount remains; and so on. The amount does not drop to zero suddenly — it halves, then halves again. That slow fade is why timing matters more than most people expect.
Does decaf coffee count?
Decaffeinated drinks still contain a small amount of caffeine, though much less than regular coffee. For most people that small amount late in the evening is unlikely to be the main issue, but if you are very sensitive to caffeine, it is worth knowing it is not zero. Check labels if this matters to you.
I drink coffee late and fall asleep fine. Does timing not matter for me?
It may matter less for you, and sensitivity genuinely varies. But falling asleep is not the whole story. In a small randomised trial (Drake et al., 2013, Journal of Clinical Sleep Medicine), 400 mg of caffeine taken at bedtime, 3 hours before bed, or 6 hours before bed each significantly disrupted sleep compared with placebo, and the authors concluded that caffeine taken 6 hours before bedtime has important disruptive effects — the study Houston Methodist summarises as the small study behind the six-hour point. That is a finding about a substantial 400 mg dose, not a universal cut-off for every cup. So “I fell asleep” and “my sleep was undisturbed” are not quite the same thing. If you are curious, try the earlier stopping time for a week and see whether you notice any difference in how rested you feel, rather than only in how quickly you drop off.
What about tea? Is it gentler than coffee?
Tea generally contains less caffeine per cup than coffee, but it still contains caffeine, and strong tea or several cups add up. The same counting-back method applies: note the time of your last tea, not just your last coffee, when you do your one-day audit.
Should I stop caffeine completely?
This guide does not recommend that. It describes how to move caffeine earlier in the day and how to notice its timing. Whether you keep drinking caffeine, and how much, is a personal decision, and anyone with a health condition, anyone who is pregnant, or anyone taking regular medication should discuss caffeine with a healthcare professional rather than taking a general guide as personal advice.
When to talk to a healthcare professional
Talk to a healthcare professional if sleep problems persist despite trying the habits in this guide and our wind-down routine, if you regularly struggle to fall asleep or stay asleep, or if poor sleep is affecting your daytime life. The NHS insomnia page has information about treatments available from a GP or pharmacist.
Also talk to a clinician if you take regular medication and are unsure whether caffeine interacts with it, if you are pregnant and unsure about caffeine, or if you experience symptoms that worry you, such as a racing heart, persistent headaches, or severe anxiety. Do not stop or change prescribed medicine because of anything you read here. This article is general information about a habit — timing a drink — not medical advice about your health, and it is not a substitute for a conversation with a qualified healthcare professional.
Sources
- Houston Methodist — Caffeine & Sleep: How Long Does Caffeine Last & Keep You Awake? (quoting FDA half-life) — accessed 2026-10-26
- Drake et al. (2013) — Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed, J Clin Sleep Med (PubMed) — accessed 2026-10-26
- NHS Every Mind Matters — Sleep problems — accessed 2026-10-26
- NHS Every Mind Matters — How to fall asleep faster and sleep better — accessed 2026-10-26