Sleep hygiene, what it means and the habits that matter

What sleep hygiene means, how well it works, and the habits worth starting, in the order of your day.

Cut-paper illustration of a made bed with a teal duvet below a night window with a crescent moon, and a clock on the bedside table

Overview

Sleep hygiene means the daily habits and bedroom set-up that help you sleep well, such as a regular wake-up time, an early last coffee, less alcohol late on and a quiet, dark room. Across 42 trials in adults with insomnia it improved sleep scores, though less than CBT-I.

Key points

  • Sleep hygiene is a set of habits and bedroom changes, first put together for mild to moderate insomnia.
  • In 42 trials of adults with insomnia, sleep hygiene improved insomnia scores, though CBT-I did more.
  • Caffeine cut about 45 minutes of sleep across 24 studies, and the review worked out a coffee should be finished at least 8.8 hours before bed.
  • Alcohol helps you drop off but makes sleep lighter later in the night.
  • See a GP if changing your habits hasn't helped or you've had trouble sleeping for months.

The alarm goes off and it feels as if you've barely slept. By mid-morning, someone tells you to sort out your sleep hygiene. What does that actually mean, and is it worth the effort?

Sleep hygiene is the set of daily habits and bedroom changes that help you sleep well, from the time you get up to the last hour before bed [1][2].

What is sleep hygiene?

It's a list of habits and changes to your surroundings that are meant to help healthy sleep. It was first put together for people with mild to moderate insomnia [2]. The NHS describes it as small changes to habits and routines that help you sleep [1].

Most lists cover similar ground. Keep regular hours, cut back on caffeine, alcohol and nicotine, stay active, and keep your bedroom quiet, dark and comfortable [2][3].

Does sleep hygiene work?

It helps, though less than a full talking therapy. A 2025 review pooled 42 trials with 4,245 adults who had insomnia. Learning sleep hygiene improved their insomnia scores by about 3.4 points on a 28-point scale Moderate [4].

Cognitive behavioural therapy for insomnia (CBT-I) improved scores by more in the same review, and so did exercise [4]. Most of the trials had a high risk of bias.

For people without a sleep problem, there's less direct testing. Each habit is linked with better sleep in lab and population studies, but few trials have tested what happens when people follow the whole list [2]. So think of sleep hygiene as a good base to build on, rather than a cure.

Sleep hygiene tips, from morning to night

By morning, the routine has already started. These habits run in the order of a day, with what the research says about each.

Sleep hygiene habits through the day
When Habit What we found
Morning Get up at the same time every day, even after a bad night NHS advice. A regular wake time is also part of CBT-I [2][3]
Daytime Be active most days Two reviews found a bout of exercise led to a little more sleep and slightly faster sleep onset [2]
Afternoon Have your last coffee early Caffeine cut about 45 minutes of sleep across 24 studies [5]
Daytime Skip long naps Most studies found no link between naps and night sleep. Some found one in older adults who napped for over 30 minutes [2]
Evening Go easy on alcohol and big late meals Alcohol helps you drop off but makes sleep lighter later in the night [2]
Last hour Put screens away Reading on a lit screen delayed sleep compared with a printed book in a lab study [6]
Bedtime Keep the room quiet, dark and cool Night-time noise leads to lighter sleep and more waking [2]

The NHS adds a few timings. It suggests no tea, coffee, alcohol or smoking for at least 6 hours before bed, and no exercise in the 4 hours before bed [3]. Its sleep tips page adds that if exercise late in the day affects you, try being active earlier [1].

So pick the one or two habits that fit your day least well, and start there tonight.

How long before bed should you stop caffeine?

Earlier than you might think. A review of 24 studies worked out that a 107 mg coffee should be finished at least 8.8 hours before bed to avoid losing sleep Strong [5]. That's around 2pm for an 11pm bedtime. The NHS gives 6 hours as its rule [3].

The calculator below works from how quickly the body clears caffeine, so a stronger drink gives an earlier time.

When should you have your last coffee?

I drink and go to bed at .

Finish it by 11:45am. That leaves about 30 mg of caffeine by bedtime. The common six-hour rule would still leave about 61 mg.

Add up your whole day in the caffeine calculator

What should your bedroom be like for sleep?

Quiet, dark and cool. The NHS suggests curtains, blinds, an eye mask or earplugs if you need them, keeping clocks out of view and opening a window if it's safe [1]. A comfortable mattress, pillows and covers matter too [3].

Noise disturbs sleep even when you don't wake fully. Lab studies found people got used to noise within a few days in some ways but not others, and their own sense of sleeping badly didn't settle [2].

What if sleep hygiene isn't enough?

See a GP if changing your sleep habits hasn't helped, you've had trouble sleeping for months, or it's making daily life hard to cope with. A GP may offer CBT, face to face or through an online programme [3].

For a bad night right now, our guide to how to fall asleep fast covers what to do when you can't drop off. Our guide to how much sleep you need covers the hours.

Frequently asked questions

What does sleep hygiene mean?

Sleep hygiene means the habits and bedroom set-up that help you sleep well, such as regular hours, less caffeine and alcohol late in the day, and a quiet, dark room [1][2].

What does the NHS say about sleep hygiene?

The NHS says small changes to habits and routines can make a real difference, and calls this sleep hygiene. Its tips include a regular routine, an hour without screens before bed and a quiet, dark, cool bedroom [1].

What is poor sleep hygiene?

Poor sleep hygiene means habits that get in the way of sleep, such as irregular hours, coffee late in the day, alcohol close to bedtime and screens in bed [3][5].

What are the most important sleep hygiene tips?

A regular wake-up time, an early last coffee and a quiet, dark bedroom are all on the NHS list [1][3]. Caffeine has some of the clearest evidence, with about 45 minutes of sleep lost across 24 studies [5].

How can I sleep better tonight?

Have your last tea or coffee at least 6 hours before bed, put screens away for the last hour, and keep your bedroom quiet, dark and cool [1][3]. Get up at your usual time tomorrow, even after a poor night [3]. If you can't drop off, our guide to how to fall asleep fast covers what to try.

Does sleep hygiene work for insomnia?

It helps a little. Across 42 trials in adults with insomnia, sleep hygiene improved insomnia scores, but CBT-I improved them more [4].

Does sleep hygiene work for shift workers?

The usual rules don't always fit. A review of 16 studies found shift workers often use caffeine and naps to manage tiredness on shift, against standard sleep hygiene advice, and called for shift-work guidelines [7].

How long does sleep hygiene take to work?

There's no fixed time. The NHS says insomnia usually gets better by changing your sleeping habits, and suggests seeing a GP if months have passed without improvement [3].

References

Every study here is listed so you can read it yourself. This guide is for general information and doesn't replace advice from your GP or pharmacist. We check it again at least every six months.

  1. NHS Every Mind Matters. How to fall asleep faster and sleep better. Accessed 26 October 2026. nhs.uk/every-mind-matters
  2. Irish LA, Kline CE, Gunn HE, Buysse DJ, Hall MH (2015). The role of sleep hygiene in promoting public health: a review of empirical evidence. Sleep Medicine Reviews 22: 23–36. PMID 25454674
  3. NHS. Insomnia. Page last reviewed 19 March 2024. Accessed 26 October 2026. nhs.uk/conditions/insomnia
  4. Ruan JY, Liu Q, Chung KF, Ho KY, Yeung WF (2025). Effects of sleep hygiene education for insomnia: a systematic review and meta-analysis. Sleep Medicine Reviews 82: 102109. PMID 40449065
  5. Gardiner C, Weakley J, Burke LM et al. (2023). The effect of caffeine on subsequent sleep: a systematic review and meta-analysis. Sleep Medicine Reviews 69: 101764. PMID 36870101
  6. Chang AM, Aeschbach D, Duffy JF, Czeisler CA (2015). Evening use of light-emitting eReaders negatively affects sleep, circadian timing, and next-morning alertness. Proceedings of the National Academy of Sciences 112(4): 1232–1237. PMID 25535358
  7. Shriane AE, Ferguson SA, Jay SM, Vincent GE (2020). Sleep hygiene in shift workers: a systematic literature review. Sleep Medicine Reviews 53: 101336. PMID 32593135