How to Sleep Better: What the Evidence Says

A woman in a grey T-shirt sits on the edge of a white bed with one hand resting on a yellow notebook, looking out of a window at a city skyline at dusk, a navy cushion behind her.

The way to sleep better with the strongest evidence is a course of therapy that NICE makes first line: cognitive behavioural therapy for insomnia (CBT-I), which across 20 trials of 1,162 adults brought sleep onset forward by 19 minutes and cut time awake in the night by 26 minutes, with the gains holding after treatment ended. Next come the habits the NHS lists and a fixed wake time. Among ingredients, the trials measure their gains in minutes: melatonin, a prescription-only medicine in the UK, about 7 minutes sooner to sleep across 19 trials; magnesium about 17 minutes in three small trials of older adults; the others smaller, or measured by questionnaire.1,2,3,4 This page is the Wellgard sleep guide: it separates a bad patch from insomnia from a sign that needs a GP, in NHS and NICE wording, grades the common ingredients in the same units, and routes every sleep question to the page that answers it.

Is this a bad patch, insomnia, or something to get checked?

The NHS definition: "Insomnia means you regularly have problems sleeping. It usually gets better by changing your sleeping habits." You have it if you regularly "find it hard to go to sleep", "wake up several times during the night", "wake up early and cannot go back to sleep" or "still feel tired after waking up". Under 3 months it is short-term; "insomnia that lasts 3 months or longer is called long-term insomnia".5 NICE's Clinical Knowledge Summary (CKS) adds the test that separates a bad patch from a disorder: insomnia "results in impaired daytime functioning", and "sleep disturbance in the absence of daytime impairment is not considered to be insomnia disorder". Short-term insomnia "is common and can occur in association with stressful events or changes in sleeping patterns".6

  • A bad patch is a run of poor nights around a stressor, with days you still get through. It usually has an ordinary cause: Why Do I Wake Up at 3am? Causes and Getting Back to Sleep and Tired but Wired: Why You Are Exhausted but Cannot Sleep work through the checklists.
  • Insomnia is the regular pattern with a daytime cost. The NHS says to see a GP if "changing your sleeping habits has not helped your insomnia", "you've had trouble sleeping for months" or "your insomnia is affecting your daily life in a way that makes it hard for you to cope".5
  • A red flag is a sign the NHS lists separately: "snoring or interrupted breathing while sleeping (sleep apnoea)", "suddenly falling asleep anywhere (narcolepsy)", "restless legs syndrome", "nightmares or night terrors", or insomnia with "stress, anxiety or depression".5 CKS asks that "other sleep disorders (such as obstructive sleep apnoea, restless legs syndrome, and parasomnias) should be considered".6 Each is a GP matter on its own; chest pain or severe breathlessness on waking is a 999 call. When to See a GP About Sleep: Red Flags, 111 and 999 quotes every threshold.

What does the NHS say to try first?

The NHS list. Do: "only go to bed when you're sleepy"; "wake up and get out of bed at the same time every day"; "relax at least 1 hour before bed"; "make sure your bedroom is dark and quiet"; "exercise regularly during the day". Don't: "smoke or drink alcohol, tea or coffee at least 6 hours before going to bed"; "eat a big meal late at night"; "exercise at least 4 hours before bed"; use devices right before bed, "because the blue light makes you more awake"; nap during the day; or "sleep in after a bad night's sleep".5 Each item is linked to sleep in population and laboratory studies, though its direct effect on its own "remains largely untested in the general population"; CKS asks that sleep hygiene "be considered in all people with insomnia" and names CBT-I as the treatment when the problem persists.6,7 A Bedtime Routine for Adults That Works, Step by Step builds the hour before bed; How to Switch Off Your Mind at Night: Racing Thoughts and Overthinking handles the racing mind; Foods That Help You Sleep: What to Eat Before Bed, in UK Portions and What to Drink Before Bed: Sleep Drinks Ranked by Evidence cover the late meal and the bedtime drink; Viral Sleep Rules and Tricks: What the Evidence Says tests the 3-3-3 rule and the military method.

What is the best-evidenced treatment for insomnia?

CKS: "Cognitive behavioural therapy for insomnia (CBTi) is recommended for the treatment of both short- and chronic insomnia in adults of all ages — unlike medication, benefits associated with CBTi persist after completion of treatment." For chronic insomnia it "should be offered as the first-line treatment in adults of any age", and "hypnotic medication should be avoided if possible due to the potential for significant adverse effects".6 The NHS: you may be offered CBT "face-to-face with a therapist, or through an online self-help programme", and "GPs now rarely prescribe sleeping pills to treat insomnia".5 In 20 randomised trials of 1,162 adults with chronic insomnia, CBT-I shortened sleep onset by 19.03 minutes, cut wake after sleep onset by 26.00 minutes and raised sleep efficiency by 9.91 percentage points; total sleep time rose by 7.61 minutes, which did not reach statistical significance; no adverse outcomes were reported and the changes "seemed to be sustained".1 Melatonin, the sleep medicine many readers expect to buy, "is available on prescription only" and is "mainly used to treat short-term sleep problems in people aged 55 and over".3 Why Is Melatonin Prescription-Only in the UK? What It Does explains the classification.

Which everyday habits have the largest measured effect?

A fixed wake time. In 60,977 UK Biobank participants wearing wrist monitors, higher sleep regularity was associated with a 20% to 48% lower risk of all-cause mortality across the top four regularity quintiles compared with the least regular, and regularity predicted mortality more strongly than sleep duration. It is observational, and the strongest evidence any single habit has.8 The night the whole country breaks the rule: The Clocks Go Back on 25 October: What It Does to Your Sleep.

Caffeine timing. Across 24 studies, caffeine cut total sleep time by 45 minutes and sleep efficiency by 7%, and added 9 minutes to falling asleep and 12 minutes to time awake in the night; to avoid losing total sleep, a 107 mg coffee should be taken "at least 8.8 h prior to bedtime".9 The NHS's 6-hour rule is the floor.5 Caffeine and Sleep: When to Stop and How Long It Lasts has the half-life arithmetic.

Alcohol. The review of the laboratory studies in healthy volunteers: "At all dosages, alcohol causes a reduction in sleep onset latency, a more consolidated first half sleep and an increase in sleep disruption in the second half of sleep".10 That is why a nightcap so often ends at 3am; see "Could it be alcohol, or eating late?" on the 3am page and "Does a nightcap help you sleep?" on the drinks page.

Which sleep supplements have evidence, and how large is it?

Sleep trials measure minutes to fall asleep, minutes awake in the night, total sleep and questionnaire scores. The table describes the size of the literature, not a verdict on the ingredient.

Ingredient Trials and people What the trials found Full page
Melatonin (prescription-only medicine in the UK) 19 trials, 1,683 people 7.06 minutes sooner to sleep; 8.25 minutes more total sleep; effects did not fade with continued use2 Why is melatonin prescription-only in the UK?
Magnesium 3 trials, 151 older adults 17.36 minutes sooner to sleep; 16.06 minutes more sleep, not statistically significant; the reviewers graded the evidence low to very low quality4 Does Magnesium Help You Sleep? What the Trials Show
Ashwagandha root extract 5 trials, 400 people; one trial of 60 Small effect on overall sleep (SMD -0.59), larger with diagnosed insomnia, 600 mg a day or more and 8 weeks or more; in the 60-person trial, sleep onset 29.0 against 33.9 minutes after 10 weeks11,12 Does ashwagandha help you sleep?
L-theanine 18 trials, 897 people Questionnaire outcomes: overall sleep quality SMD 0.43, sleep onset SMD 0.15; the authors note the lack of studies of "pure" theanine13 Does L-theanine help you sleep?
L-tryptophan 4 pooled trials Less time awake after falling asleep at 1 g or more (28.9 against 56.6 minutes under 1 g); no effect on other sleep measures. A UK supplement's daily dose may not exceed 220 mg14,15 Does Tryptophan Help You Sleep? Foods, Dose and the UK Limit
Glycine, 3 g One sleep-restriction trial; 2024 review Less daytime fatigue and better psychomotor vigilance after three nights of restricted sleep; the review found the sleep studies "had small sample sizes with a high risk of bias"16,17 What did the glycine sleep trials find?
Chamomile 12 trials reviewed; one insomnia trial of 34 Sleep quality SMD -0.73 across the pooled trials; the one double-blind insomnia trial found no significant difference on any sleep-diary measure over 28 days18,19 What did the chamomile sleep trials find?
Lemon balm Small trials; one of 80 3 g a day for 8 weeks lowered depression, anxiety, stress and sleep-disturbance scores against placebo in 80 people with angina20 Did lemon balm help sleep in trials?
Tart (sour) cherry 3 crossover trials of 20, 15 and 8 people More total sleep and sleep efficiency over 7 days; less time awake in the night in 15 older adults with insomnia; 84 more minutes by polysomnography in 8 completers21,22,23 Do Sour Cherries Help You Sleep? What Three Trials Found
Valerian 16 studies, 1,093 people 1.8 times as likely to report improved sleep, with evidence of publication bias; the NHS says pharmacy sleep aids containing valerian or lavender "may help you sleep better for 1 to 2 weeks"24,5 How to Choose a Melatonin-Free Sleep Supplement in the UK
Vitamin D 3 pooled trials Sleep quality score (PSQI) 2.33 points better than placebo, moderate certainty, in a review prompted by the deficiency link25 Does low vitamin D affect sleep?

The ingredient-by-ingredient grading, including "What is the strongest natural sleep aid?", is Which Sleep Supplements Have Evidence Behind Them? A UK Guide. Magnesium has three more pages: Which Magnesium Is Best? Glycinate, Citrate, Oxide and Malate Compared, What Is Magnesium Glycinate? Dose, Side Effects, Who Should Avoid and Is It OK to Take Magnesium Every Day? Dose, Signs of Too Much. Tart cherry's wider evidence is in What Is Tart Cherry Good For? The Montmorency Evidence by Outcome. Sleep Powders, Gummies, Capsules, Teas and Drops Compared shows what each format carries per serving.

What may a UK label say about sleep?

"Only authorised claims in the Great Britain NHC register may be used in Great Britain."26 The register carries authorised wording for magnesium ("contributes to a reduction of tiredness and fatigue", "normal functioning of the nervous system", "normal psychological function", "normal muscle function") and for pantothenic acid ("the reduction of tiredness and fatigue"), each for a product supplying at least 15% of the reference intake.26 Glycine, L-theanine, L-tryptophan, chamomile, lemon balm, tart cherry and ashwagandha have no authorised claim, so a UK label states their amounts and nothing about sleep. Melatonin cannot be a supplement ingredient here, because it is a medicine; "melatonin-free" on a pack describes the formula.3 Two label lines matter: L-tryptophan is permitted in a food supplement only if "the recommended daily dose for that food supplement does not exceed 220 mg", while the pooled trials found their effect at 1 g or more14,15; and "green tea leaf extract providing L-theanine" states the weight of the extract, not of the theanine. How to Choose a Melatonin-Free Sleep Supplement in the UK goes line by line, including why a registered herbal remedy may say "to aid sleep" when a supplement cannot.

Who should ask a pharmacist or GP before taking anything for sleep?

The NHS line is "check with your doctor before taking anything for your sleep problems", and on its melatonin page: "do not take any herbal remedies which may affect sleep at the same time. This may make you very drowsy."3,5 The groups that should ask first: anyone taking an antidepressant or another medicine that acts on serotonin (Can You Take Sleep Supplements With Antidepressants?); anyone on a sleeping tablet, sedative or strong painkiller; anyone pregnant or breastfeeding; anyone with thyroid or liver disease, for whom Who Should Not Take Ashwagandha? Liver, Thyroid and Medicines and Is Ashwagandha Safe to Take Daily? How Long, When and How to Stop set out the cautions; anyone with kidney disease, for whom the magnesium every-day page covers dose and the signs of too much; and anyone on antibiotics or bisphosphonates, which need spacing from magnesium ("Medicines to separate from magnesium glycinate" on the glycinate page). Tart Cherry Juice Warnings: Who Should Not Take It covers the juice. If the problem began with a new medicine, the NHS notes that "many medicines can also cause insomnia"; raise it with the prescriber.5 Does Mounjaro Cause Insomnia or Vivid Dreams? covers the one medicine the blog follows in depth.

Does the answer change at perimenopause or with a deficiency?

The NHS lists menopause, an overactive thyroid and restless legs syndrome among the conditions that can cause insomnia.5 Perimenopausal waking is the largest single pattern in readers' questions: Perimenopause Sleep Problems: What Actually Helps covers it, and Which Menopause Supplements Have Evidence? An Honest Review grades the supplements in the same units. "What vitamin am I lacking?" is the other recurring question: the vitamin D result in the table comes from a review of the deficiency link, and Which Vitamin Deficiency Affects Sleep? What to Test First explains which deficiencies are tested for.25

Frequently asked questions

How long should it take to fall asleep?

CKS: "The normal time taken to fall asleep (sleep-onset latency) is usually considered to be less than 20 minutes. The average mean sleep latency has been measured to be 11.7 minutes." Adults are generally advised 7 to 9 hours, and "with ageing the number of awakenings increases and total sleep time decreases".6

Do sleep supplements work?

The trials in the table report gains measured in minutes or questionnaire points, in groups from 8 to 1,683 people; the largest measured effects belong to CBT-I and to moving caffeine out of the afternoon. Read the row for what was measured, then the page for who was studied and at what dose.1,9

Can I catch up on sleep at the weekend?

The NHS advice is not to: "do not sleep in after a bad night's sleep – stick to your regular sleeping hours instead".5 The UK Biobank finding that regularity predicted mortality more strongly than duration points the same way.8

Sources

  1. Trauer JM et al. CBT for chronic insomnia: meta-analysis. Ann Intern Med 2015. PubMed 26054060.
  2. Ferracioli-Oda E et al. Melatonin for primary sleep disorders: meta-analysis. PLoS One 2013. PubMed 23691095.
  3. NHS. About melatonin (reviewed 13 February 2023). nhs.uk.
  4. Mah J, Pitre T. Oral magnesium for insomnia in older adults. BMC Complement Med Ther 2021. PubMed 33865376.
  5. NHS. Insomnia (reviewed 19 March 2024). nhs.uk/conditions/insomnia.
  6. NICE CKS. Insomnia (June 2026): summary, normal sleep patterns, assessment.
  7. Irish LA et al. Sleep hygiene in promoting public health. Sleep Med Rev 2015. PubMed 25454674.
  8. Windred DP et al. Sleep regularity and mortality risk. Sleep 2024. PubMed 37738616.
  9. Gardiner C et al. Caffeine and subsequent sleep: meta-analysis. Sleep Med Rev 2023. PubMed 36870101.
  10. Ebrahim IO et al. Alcohol and sleep I: effects on normal sleep. Alcohol Clin Exp Res 2013. PubMed 23347102.
  11. Cheah KL et al. Ashwagandha extract and sleep: meta-analysis. PLoS One 2021. PubMed 34559859.
  12. Langade D et al. Ashwagandha root extract in insomnia and anxiety: randomised trial. Cureus 2019. PubMed 31728244.
  13. Bulman A et al. L-theanine and sleep outcomes: meta-analysis. Sleep Med Rev 2025. PubMed 40056718.
  14. Sutanto CN et al. Tryptophan supplementation and sleep quality: meta-analysis. Nutr Rev 2022. PubMed 33942088.
  15. The Tryptophan in Food (England) Regulations 2005, regulation 5. legislation.gov.uk.
  16. Bannai M et al. Glycine and daytime performance in sleep-restricted volunteers. Front Neurol 2012. PubMed 22529837.
  17. Soh J et al. Glycine administration in human adults: systematic review. Geroscience 2024. PubMed 37851316.
  18. Hieu TH et al. Chamomile for anxiety, insomnia and sleep quality: meta-analysis. Phytother Res 2019. PubMed 31006899.
  19. Zick SM et al. Chamomile extract for chronic primary insomnia: randomised pilot trial. BMC Complement Altern Med 2011. PubMed 21939549.
  20. Haybar H et al. Melissa officinalis in chronic stable angina. Clin Nutr ESPEN 2018. PubMed 29908682.
  21. Howatson G et al. Tart cherry juice, melatonin and sleep quality. Eur J Nutr 2012. PubMed 22038497.
  22. Pigeon WR et al. Tart cherry juice and sleep in older adults with insomnia. J Med Food 2010. PubMed 20438325.
  23. Losso JN et al. Tart cherry juice for insomnia: pilot study. Am J Ther 2018. PubMed 28901958.
  24. Bent S et al. Valerian for sleep: meta-analysis. Am J Med 2006. PubMed 17145239.
  25. Abboud M. Vitamin D supplementation and sleep: meta-analysis. Nutrients 2022. PubMed 35268051.
  26. Department of Health and Social Care. Great Britain nutrition and health claims (NHC) register. gov.uk.