Guides • 7 min read

Caffeine and Sleep: What NHS Pages Actually Say

SleepBetterHub Editorial Team • Published 30 November 2026 • Last reviewed 30 November 2026
A dim bedroom. This is not a photograph of tea, coffee, or a timed last cup.

NHS pages agree caffeine can make it harder to sleep, but they do not all give the same cut-off. This page attributes those figures and does not invent a third rule. It is about tea, coffee and other caffeine, not about alcohol — that has its own note: alcohol and sleep.

This page has no shop buttons, and it is not medical advice.

Why the cut-off is not one number

Public NHS pages agree that drinks with caffeine can keep you awake. They do not all give the same number of hours. This site does not invent a third rule, and it does not pick a winner between those pages.

NHS Every Mind Matters: how to fall asleep faster and sleep better, re-opened on 30 November 2026, says tea, coffee and some soft drinks contain caffeine, which can make you feel more awake, and suggests a warm milky drink or herbal tea instead. On that page, the 1 to 2 hours figure is for alcohol and nicotine: it says they can also have disruptive effects on sleep, so try to avoid them 1 to 2 hours before bed. It does not attach that 1 to 2 hours figure to tea or coffee.

NHS Every Mind Matters’ sleep problems page, opened on 30 November 2026, says drinks with caffeine, such as tea, coffee, cola or energy drinks, can keep you awake. It also says the NHS recommends that you don’t smoke or drink alcohol, tea or coffee at least 6 hours before going to bed.

The NHS insomnia page, also re-opened on 30 November 2026, sits in the same 6-hour group. In its “don’t” list it says not to smoke or drink alcohol, tea or coffee at least 6 hours before going to bed.

NHS self-help tips to fight tiredness, opened on 30 November 2026 (the page said it was last reviewed on 8 November 2023), says caffeine is a stimulant, that it can disrupt usual sleep rhythms, and that the effects of caffeine on the body can last up to 7 hours, so you may want to avoid it in the evening if you are having trouble sleeping. It lists coffee, tea, fizzy drinks, energy drinks, and some painkillers and herbal remedies. The same page says that if you want to cut caffeine out completely, The Sleep Charity recommends reducing it gradually, because trying to stop suddenly can lead to insomnia and headaches. That last point is The Sleep Charity’s advice, as reported on the NHS page, not a withdrawal protocol this site is setting.

Those figures are different: 6 hours on two NHS pages, “up to 7 hours” for how long the effect can last on another, and a 1 to 2 hours figure on Every Mind Matters that applies to alcohol and nicotine, not to a timed last coffee. Use the page that matches your question, not a number invented here.

Alcohol is a separate, related point

The sleep problems page says alcohol can make you feel sleepy at first, but it can lead to poor sleep later in the night. The tiredness page says that although a couple of glasses of wine in the evening can help you fall asleep, you sleep less deeply after drinking alcohol, and the next day you’ll be tired, even if you sleep a full 8 hours. Neither page is a reason to use a drink as a sleep aid. This site does not recommend alcohol to fall asleep.

What this is not

This is not a treatment for insomnia, and it is not a caffeine “detox” plan. If sleep problems last, or you are worried about medicines that contain caffeine, speak to a GP or a pharmacist. Ordinary starting points already on this site are how much sleep do I need, a simple UK bedtime routine, and the sleep hygiene checklist. Alcohol has its own attributed note: alcohol and sleep.

This is not medical advice.

This guide sits in the Bedroom environment section.

Questions people ask

How long before bed should I stop caffeine?

NHS pages do not all give the same cut-off. The insomnia page, and Every Mind Matters’ sleep problems page, say not to drink tea or coffee at least 6 hours before bed. A separate NHS tiredness page says the effects of caffeine can last up to 7 hours, so you may want to avoid it in the evening if you are having trouble sleeping. This site does not invent a third rule.

Does Every Mind Matters say to stop caffeine 1 to 2 hours before bed?

On the “how to fall asleep faster” page, the 1 to 2 hours figure is for alcohol and nicotine, not for a timed last coffee. That page does say tea, coffee and some soft drinks contain caffeine, which can make you feel more awake.

Does alcohol help you sleep?

The dedicated note is [alcohol and sleep](/blog/alcohol-and-sleep). NHS pages say it can make you feel sleepy at first, but can lead to poorer or less deep sleep later in the night. This site does not recommend alcohol as a sleep aid.

Is this a treatment for insomnia?

No. If sleep problems last, or you are worried about medicines that contain caffeine, speak to a GP or a pharmacist.

Keep reading

Get a short note when a new guide goes up

SleepBetterHub
Stay Informed

Weekly Sleep Insights

Guides and product notes. No lab-test emails. Ask to be removed any time.

We store the address only if the mailing list is set up. Read the privacy page.

This article is for information, not medical advice. Talk to a clinician about snoring with pauses, choking, or daytime sleepiness.