Sleep Hygiene: What Actually Works

Key takeaways
- Caffeine's average half-life is around 5 hours, with a real range of 1.5 to 9.5 hours between individuals — meaning an afternoon coffee is still meaningfully active in your system at bedtime for a lot of people.
- NHS guidance generally recommends stopping caffeine somewhere between midday and 6 hours before bed, reflecting real individual variation in how quickly people metabolise it.
- Keeping a consistent bedtime and wake time, even on days off, is genuinely one of the most evidence-backed sleep hygiene habits, not just a nice-to-have.
- Stimulus control — getting out of bed if you can't fall asleep within 15-20 minutes, and only returning once sleepy — is one of the single most evidence-backed techniques in CBT-I, the gold-standard insomnia treatment.
- When combined into full CBT-I treatment, these techniques help 70-80% of people with insomnia see real improvement, according to the research.
Sleep hygiene advice tends to get repeated so often it stops registering as anything specific — “cut caffeine,” “keep a routine,” “don’t lie awake” — worth actually unpacking with the real numbers and evidence behind each one.
The caffeine timing that actually matters
Caffeine’s average half-life in the body is around 5 hours, but this varies genuinely widely between people — anywhere from 1.5 to 9.5 hours depending on individual factors like age, genetics, and other habits. This means a mid-afternoon coffee, even one that feels fully “worn off” subjectively, can still have a meaningful amount of caffeine active in your system by bedtime. NHS guidance generally recommends stopping caffeine somewhere between midday and 6 hours before bed — the range itself reflects that genuine individual variation, rather than one single number being definitively correct for everyone.
Why a consistent schedule matters more than people expect
Keeping the same bedtime and wake time, including on days off, is one of the most consistently evidence-backed sleep hygiene recommendations — not a minor habit, but a genuinely significant factor in overall sleep quality. This works on the same underlying principle as a consistent evening wind-down routine: your body learns to associate specific timing and cues with sleep, and inconsistency undermines that learned association.
The technique that’s actually part of clinical insomnia treatment
This is worth knowing specifically, because it’s more concrete and evidence-backed than most generic sleep advice: stimulus control — getting out of bed and going to another room if you haven’t fallen asleep within about 15 to 20 minutes, then only returning to bed once you actually feel sleepy — is one of the single most evidence-backed individual techniques in cognitive behavioral therapy for insomnia (CBT-I), the gold-standard clinical treatment for chronic insomnia. The logic is to strengthen the association between your bed and actual sleep, rather than letting your bed become associated with lying awake, frustrated. When combined into full CBT-I treatment alongside other techniques, this approach helps roughly 70 to 80% of people with primary insomnia see real, measurable improvement.
What this means practically
Rather than treating sleep hygiene as a vague list of good intentions, these three specific pieces — caffeine timing based on your own sensitivity, a genuinely consistent schedule, and getting out of bed rather than lying awake frustrated — are the parts with the strongest actual evidence behind them. Other common advice (dim lighting, a cool room, comfortable bedding) is reasonable too, but these three have the most direct research support specifically, alongside managing stress through non-food, non-screen coping strategies during the day, which reduces how much residual stress carries into the evening in the first place.
When it’s worth seeking more than self-help advice
If sleep difficulty is persistent, significant, and not improving with these kinds of changes, it’s worth talking to a GP or sleep specialist about full CBT-I treatment, rather than continuing to rely on self-directed sleep hygiene changes alone — the clinical version of this approach, delivered properly, has real, substantial success rates that a self-help version alone may not fully replicate. Poor sleep and regular exercise are also connected in both directions — physical activity genuinely supports better sleep, and consistently poor sleep makes maintaining an exercise routine harder.
Frequently asked questions
How long before bed should I actually stop drinking caffeine?
NHS guidance generally suggests somewhere between midday and 6 hours before bed, since individual caffeine metabolism varies significantly — caffeine’s half-life ranges from about 1.5 to 9.5 hours between people.
Does it really matter if my bedtime varies a lot day to day?
Yes — keeping a consistent bedtime and wake time, even on days off, is one of the more strongly evidence-backed sleep hygiene habits, helping your body maintain a reliable sleep-wake association.
What should I actually do if I can’t fall asleep?
Get out of bed and go to another room if you haven’t fallen asleep within about 15-20 minutes, and only return once you feel genuinely sleepy. This is a real, evidence-backed technique (stimulus control) used in clinical insomnia treatment, not just casual advice.
How effective is this approach really, based on research?
When combined into full CBT-I treatment, these techniques help an estimated 70-80% of people with primary insomnia see real improvement — a substantial success rate for a non-medication approach.
When should I see a doctor about sleep problems instead of just trying these tips myself?
If sleep difficulty is persistent and significant, and doesn’t improve with these kinds of changes, it’s worth discussing full CBT-I treatment with a GP or sleep specialist rather than relying solely on self-directed changes.
References
- NHS — Sleep hygiene guidance (multiple NHS Trust patient information leaflets).
- Verreault, M., et al. The effectiveness of stimulus control in cognitive behavioural therapy for insomnia in adults: A systematic review and network meta-analysis. Journal of Sleep Research, 2024. onlinelibrary.wiley.com
Found this helpful?



