The short version
- A 2018 meta-analysis of 15 studies found sleep hygiene education improved sleep-diary sleep efficiency by about 5% but was significantly less effective than CBT-I, with the gap between them averaging about 8%.
- None of the 15 sleep hygiene studies compared it against sham or no treatment, and only the subjective outcome measures reached statistical significance.
- A controlled trial found 400 mg of caffeine significantly disturbed sleep even when taken six hours before bedtime, supporting a minimum six-hour cutoff.
- A meta-analysis of 66 studies found regular exercise produced small-to-medium improvements in time to fall asleep and moderate improvements in sleep quality.
- A 2018 review of sleep environments concluded that research on sleeping thermal microclimates and their effect on sleep quality is scarce, so bedroom-temperature advice rests on mechanism rather than trial data.
There is a strange result sitting at the centre of the sleep literature, and almost nobody selling a sleep product will mention it. Every individual piece of sleep hygiene advice has some evidence behind it. Bundle those pieces together and hand them to a person with insomnia, and the bundle underperforms.
The number that should recalibrate you
Chung and colleagues pooled 15 studies of sleep hygiene education in Family Practice in 2018. Twelve of them compared it against cognitive behavioural therapy for insomnia. There were real pre- to post-treatment improvements, with small to medium effect sizes. But sleep hygiene education was significantly less efficacious than CBT-I, with the difference in effect size ranging from medium to large. In plain numbers: pre- to post improvement averaged about 5% in sleep-diary sleep efficiency, the gap to CBT-I averaged about 8%, and about two points on the Pittsburgh Sleep Quality Index.
Two further details in that review deserve your attention. Only the subjective measures reached significance. And not one of the 15 studies compared sleep hygiene education against sham or no treatment at all — so the honest reading is that we do not know how much of that 5% is the advice and how much is the ordinary drift of a bad sleep patch back toward normal.
Irish and colleagues framed the paradox precisely in Sleep Medicine Reviews: if each specific component is related to sleep, why does addressing multiple components fail to improve it? Their review found that epidemiological and experimental research generally supported an association between the individual recommendations and nocturnal sleep, while the direct effects of those recommendations remain largely untested in the general population. That is a very different sentence from the one on the back of a sleep-aid box.
The pieces that survive contact with a trial
Caffeine timing. This one is not folklore. Drake and colleagues gave 400 mg of caffeine at bedtime, three hours before bed, and six hours before bed, against placebo, and monitored sleep at home. All three timings produced significant sleep disturbance relative to placebo — including the six-hour condition. Their conclusion is the rare case of a hygiene rule earning its own evidence: refrain from substantial caffeine for a minimum of six hours before bed. If your last coffee is at four and you go to bed at ten, that is inside the window.
Exercise. Kredlow and colleagues meta-analysed 66 studies. Acute exercise produced small beneficial effects on total sleep time, sleep onset latency, sleep efficiency and slow wave sleep, and a moderate benefit on wake time after sleep onset. Regular exercise produced small-to-medium benefits on sleep onset latency and moderate benefits on sleep quality. Small and moderate are the operative words, but this is one of the few interventions that moves both how fast you fall asleep and how much of the night you stay asleep.
Alcohol. The rule about a nightcap is one of the best-supported items on the list, and it does something more specific than "disrupt sleep" — it buys you the first half of the night at the price of the second. That is its own article.
Bedroom temperature. Here we have to disappoint you slightly. Temperature is physiologically plausible and universally recommended, but a 2018 review of sleep environments in the Journal of Thermal Biology concluded that research on sleeping thermal microclimates and their effect on sleep quality is scarce. Keep your room cool. Just know you are acting on mechanism rather than on trial data.
The pieces that are shakier than their reputation
Two items get repeated with a confidence the evidence does not carry. Blue-light blocking glasses have a Cochrane review behind them, and it did not find what the marketing implies. And the advice to avoid daytime napping is stated as a flat rule, when the trials show nap length changes the outcome far more than whether you nap at all — a ten-minute nap and a thirty-minute nap are not the same intervention.
There is also a group for whom this entire list is close to useless. If you work rotating or night shifts, you are not failing at discipline; you are asking a circadian system to run against its own clock, and general hygiene advice is not built for that problem.
Where supplements actually sit in this hierarchy
Below all of it. That is an odd thing for us to write on a supplement site, so let us be exact about what we mean. CBT-I beats sleep hygiene. Sleep hygiene, at roughly 5% on sleep efficiency, beats nothing. The best-studied supplement effects in this category are in the same size range or smaller. Nothing on our shelf outranks fixing a 4pm coffee habit, and if you have not fixed the 4pm coffee habit, buying a capsule first is spending money to avoid a free change.
If you have done the free things and still want a tool, magnesium glycinate and a melatonin-containing formula are the two we would point at, for reasons we have written about honestly elsewhere, including the parts that argue against us. And if you have tried something before and found that sleep supplements stop working after a couple of weeks, that pattern has an explanation, and it is usually not the one people assume.
What we'd actually tell you
Treat sleep hygiene as maintenance, not as treatment. It is the thing that keeps ordinary sleep ordinary. It is not the thing that fixes clinical insomnia, and the evidence says so plainly.
Pick the two rules with the strongest individual data — caffeine at least six hours out, and regular exercise — and actually hold them for a month before adding anything else. If sleep is still broken after that, the next step is a clinician and a conversation about CBT-I, which is the intervention with the best evidence in this whole field and is not sold in a bottle. And if you snore heavily or wake unrefreshed no matter how long you were in bed, get assessed. We would rather lose the sale than sell you a capsule for an airway problem.
Good questions
Does sleep hygiene actually work?
Partly, and less than it is credited with. A meta-analysis of 15 studies found sleep hygiene education improved sleep-diary sleep efficiency by about 5%, but it lost to CBT-I by a medium-to-large effect size. It is a reasonable maintenance habit for ordinary sleep and a weak treatment for clinical insomnia. Those are two different jobs.
How many hours before bed should I stop drinking coffee?
At least six. In a controlled trial, 400 mg of caffeine caused significant sleep disturbance versus placebo when taken at bedtime, three hours before bed, and six hours before bed. Six hours was still disruptive, which is why that is the floor rather than the target. If you go to bed at ten, your last coffee should be no later than four.
Is exercise or a supplement the better first move for sleep?
Exercise, comfortably. A meta-analysis of 66 studies found regular exercise produced small-to-medium improvements in how long it takes to fall asleep and moderate improvements in sleep quality. That is at or above the size of the best-supported supplement effects in this category, and it costs nothing. Buying a capsule before doing this is paying to skip the free step.
Do I really need to keep the bedroom cold?
Probably, but the evidence is thinner than the advice sounds. A 2018 review of sleep environments concluded that research on sleeping thermal microclimates and their effect on sleep quality is scarce. Skin temperature and sweating do measurably reduce sleep quality, so a cool room is a sensible bet on mechanism. It is not a finding from a large trial.
If sleep hygiene is weak, what is actually the strongest treatment?
Cognitive behavioural therapy for insomnia. It beat sleep hygiene education by a medium-to-large effect size in the pooled data, and it is not sold in a bottle. If a month of caffeine timing and regular exercise has not moved anything, asking a clinician about CBT-I is a better next step than adding another supplement to the pile.
Should I buy a sleep supplement at all?
Only after the free changes, and with realistic expectations. The best-studied supplement effects in this category are the same size as or smaller than sleep hygiene itself, which is about 5% on sleep efficiency. If you have done caffeine timing, exercise and alcohol and still want a tool, magnesium glycinate or a melatonin-containing formula are reasonable. Neither is a sedative.
Sources
- Chung KF, Lee CT, Yeung WF, Chan MS, Chung EW, Lin WL. Sleep hygiene education as a treatment of insomnia: a systematic review and meta-analysis. Fam Pract, 2018. View study
- Irish LA, Kline CE, Gunn HE, Buysse DJ, Hall MH. The role of sleep hygiene in promoting public health: A review of empirical evidence. Sleep Med Rev, 2015. View study
- Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med, 2013. View study
- Kredlow MA, Capozzoli MC, Hearon BA, Calkins AW, Otto MW. The effects of physical activity on sleep: a meta-analytic review. J Behav Med, 2015. View study
- Troynikov O, Watson CG, Nawaz N. Sleep environments and sleep physiology: A review. J Therm Biol, 2018. View study
These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.