Key facts
- The NHS advises getting out of bed at the same time every day and going to bed only when sleepy. 2
- The NHS suggests avoiding phones, tablets and computers for an hour before bed. 1
- The NHS insomnia page says not to smoke or drink alcohol, tea or coffee for at least 6 hours before bed. 2
- The Royal College of Psychiatrists advises stopping tea, coffee and anything with caffeine by 2pm. 4
- The Sleep Charity gives an ideal bedroom temperature of around 16 to 18 °C. 3
What do we mean by sleep quality?
The Sleep Charity says there is no magic number of hours that works for everyone, and that the quality of sleep matters as much as the quantity.6 Its description of good quality sleep includes falling asleep within 15 to 20 minutes.6
The Royal College of Psychiatrists gives a plainer test: judge your sleep by how you feel in the day, not by the number of hours you slept.4 If you feel rested and can do what you need to, the hours on the clock matter less.
You will often see the habits in this guide called “sleep hygiene”. The NHS describes sleep hygiene as small changes to habits and routines that help you sleep.1 This guide mostly says habits, meaning the everyday things you do and the conditions in your bedroom that affect sleep.
The habits UK sources list, side by side
Most of the advice is common to the NHS, the Royal College of Psychiatrists and The Sleep Charity. Where they differ, the table shows each one. The pages read are information for the public, so none of them rates the strength of evidence for each habit, and this guide does not either.
| Habit | What the sources say | Type of source |
|---|---|---|
| Fixed get-up time | Get out of bed at the same time every day;2 keep to similar times each day, including days off.1 | NHS information |
| Bed only when sleepy | Go to bed only when you feel sleepy.24 | NHS and Royal College of Psychiatrists |
| Winding down | Relax at least 1 hour before bed, for example with a bath or a book;2 the Royal College suggests 30 minutes to a couple of hours without work or study.4 | Information that differs in length |
| Screens | Try not to use phones, tablets or computers for an hour before bed, because blue light makes you more awake.12 | NHS information |
| The bedroom | Quiet, dark and cool;1 The Sleep Charity gives around 16 to 18 °C.3 | NHS advice, charity figure |
| Caffeine | NHS: no tea or coffee within 6 hours of bed.2 Royal College: stop caffeine by 2pm.4 The Sleep Charity: half life of five to seven hours.5 | Three sources that differ |
| Alcohol | NHS insomnia page: 6 hours.2 Every Mind Matters: avoid alcohol and nicotine 1 to 2 hours before bed.1 The Sleep Charity: it can stop deep, restful sleep.8 | Sources that differ |
| Late meals | Do not eat a big meal late at night.2 | NHS information |
| Exercise | Be active earlier in the day;1 the insomnia page says not to exercise in the 4 hours before bed.2 | NHS information |
| Lying awake | If still awake after around 20 minutes, get up, sit somewhere comfortable and go back to bed when sleepy.1 | NHS information |
| Daytime naps | Avoid daytime naps if you have insomnia.24 | NHS and Royal College |
Read on 2026-10-16. The NHS pages give no bedroom temperature in degrees; the 16 to 18 °C figure is The Sleep Charity’s. The timings for caffeine and alcohol differ between pages and are shown as written, not blended.
The bedroom: dark, quiet and cool
The NHS says sleep may come more easily in a room that is quiet, dark and cool. It suggests earplugs, closed curtains, an eye mask or opening a window, and gives no temperature figure.1
The Sleep Charity does give numbers. An ideal bedroom temperature is around 16 to 18 °C. Above 24 °C is likely to cause restlessness, and about 12 °C makes it hard to drop off.3 The charity adds that hot, cold or draughty rooms can affect sleep, in particular REM sleep.3
Alcohol, caffeine and meals: the timings
This is where the UK sources differ most, so it is worth setting them out without picking a winner.
- NHS insomnia page: do not smoke or drink alcohol, tea or coffee at least 6 hours before bed.2
- NHS Every Mind Matters: alcohol and nicotine can disrupt sleep, and it suggests avoiding them 1 to 2 hours before bed.1
- Royal College of Psychiatrists: stop tea, coffee and anything else with caffeine by 2pm.4
- The Sleep Charity: caffeine has an average half life of five to seven hours, so a coffee at 8pm is still 50% present at 2am. It adds that tolerance varies between people.5
The differences are real. The first source ties the cut-off to bedtime, the third to a fixed hour of the afternoon, and the second asks for a shorter gap but names only alcohol and nicotine. If you want to test your own response, you can pick the cut-off you find most workable and keep it for a fortnight.
A worked calendar for a 23:00 bedtime
Using the NHS insomnia page for someone who goes to bed at 23:00: the last tea, coffee, alcohol or cigarette is 23:00 minus 6 hours, which is 17:00. Exercise should finish 4 hours before bed, at 19:00. Wind-down starts at 22:00, an hour before bed, and screens go off at 22:00.21
On the Every Mind Matters timing, alcohol and nicotine would stop between 21:00 and 22:00 for the same bedtime.1 On the Royal College’s advice, the last caffeine is 14:00 whatever your bedtime.4 For a bedtime of 22:30, a 6 hour gap puts the cut-off at 16:30. These are arithmetic from the stated gaps, not extra advice.
On meals, the NHS says not to eat a big meal late at night.2 The pages read do not link late meals to deep sleep or give a time.
Light, screens and the hour before bed
The NHS says to try not to use phones, tablets or computers for an hour before bed, because blue light can make it harder to fall asleep.1 Its insomnia page also says not to watch television or use devices such as smartphones right before bed, because the blue light makes you more awake.2
For the wind-down itself, the NHS suggests relaxing for at least an hour, for example with a bath or a book.2 If worries keep you awake, it suggests writing a list of things you need to do the next day before you go to sleep.1 The Royal College of Psychiatrists suggests setting aside 30 minutes to a couple of hours before bed with no work or study.4
The Royal College adds a simple rule about the bed itself: go to bed only when you are feeling sleepy.4
A 14-night experiment: change one thing, track the trend
This protocol is our own suggestion. It is not from the NHS or any other source read, and no source read says that tracking sleep improves it. It is simply a tidy way to find out what works for you.
- Choose one habit from the table, for example a 17:00 cut-off for caffeine.
- Keep your get-up time fixed for 14 nights, as the NHS advises.2
- Each morning, note the time you went to bed, the time you woke, roughly how long it took to fall asleep, and how you feel on a simple 1 to 5 scale.
- After 14 nights, compare the middle value (median) of the first seven nights with that of the last seven. A median is steadier than an average when one night goes badly.
- Keep the habit if you feel better in the day. Judging by how you feel in the day follows the Royal College of Psychiatrists.4
A wearable can make the record easier, but it is not needed. A notebook does the same job.
What if habits do not help?
The Royal College of Psychiatrists describes cognitive behavioural therapy for insomnia (CBT-I) as using psychological and behavioural techniques to help you sleep.4 The NHS says a GP may offer cognitive behavioural therapy (CBT), face to face or through an online self-help programme, and that GPs now rarely prescribe sleeping pills.2
For short spells of poor sleep, the NHS says that pharmacy sleeping aids may help you sleep better for 1 to 2 weeks and should not be taken for any longer.2
When poor sleep is a reason to get checked
This guide lists everyday habits. It cannot tell you why you are sleeping badly. The NHS suggests seeing a GP if:
Frequently asked questions
How can I improve my sleep quality naturally?
The UK sources list everyday habits: get up at the same time every day, go to bed only when sleepy, relax for an hour before bed, keep the room quiet, dark and cool, and cut back on caffeine and alcohol. See a GP if changing habits has not helped.
What is sleep hygiene?
The NHS describes sleep hygiene as small changes to habits and routines that help you sleep.1 It lists the habits themselves, such as a regular routine and a cool, dark room.
How long before bed should I stop using my phone?
The NHS suggests avoiding phones, tablets and computers for an hour before bed, because blue light can make it harder to fall asleep.
What time should I stop drinking coffee?
The sources differ. The NHS insomnia page says not to drink tea or coffee for at least 6 hours before bed. The Royal College of Psychiatrists says stop caffeine by 2pm. For a 23:00 bedtime, those are 17:00 and 14:00.
How do I know if my sleep quality is poor?
The Royal College of Psychiatrists says to judge your sleep by how you feel in the day. The Sleep Charity describes good quality sleep as including falling asleep within 15 to 20 minutes.
Can a sleep tracker improve my sleep?
No source read says that tracking improves sleep. A tracker can show a trend over time, which may help you see whether a change is working, but the habits are what the NHS advises.
What is the best bedroom temperature for sleep?
The Sleep Charity gives an ideal of around 16 to 18 °C. The NHS says only that the room should be quiet, dark and cool.
When should I see a GP about my sleep?
The NHS says to see a GP if changing your sleeping habits has not helped, you have had trouble sleeping for months, or it is making daily life hard to cope with. Loud snoring, gasping or breathing that stops and starts are also reasons to see one.
Sources
- NHS Every Mind Matters, How to fall asleep faster and sleep better, NHS. Retrieved 16 October 2026
- NHS, Insomnia (last reviewed 19 March 2024), NHS. Retrieved 16 October 2026
- The Sleep Charity, Sleep environment, The Sleep Charity. Retrieved 16 October 2026
- Royal College of Psychiatrists, Sleeping well (published November 2025), Royal College of Psychiatrists. Retrieved 16 October 2026
- The Sleep Charity, Caffeine and sleep, The Sleep Charity. Retrieved 16 October 2026
- The Sleep Charity, Sleep quality, The Sleep Charity. Retrieved 16 October 2026
- NHS, Sleep apnoea (last reviewed 11 May 2026), NHS. Retrieved 16 October 2026
- The Sleep Charity, Alcohol and sleep, The Sleep Charity. Retrieved 16 October 2026