How we gradeThe app
Sleep

How to Sleep Better After 40, Ranked by the Evidence

December 1, 2026
A woman in her fifties opens her bedroom curtains to morning light beside an unmade bed.

The short answer

  • If you have slept badly for months, the best-proven fix is cognitive behavioral therapy for insomnia (CBT-I). Guidelines put it ahead of any pill.
  • Get up at the same time every day, get daylight and movement, and finish your coffee by early afternoon. All three are free and low risk.
  • Melatonin, magnesium and "PM" pills do less than their labels suggest. Loud snoring with daytime sleepiness calls for a sleep apnea check.

You lie awake for an hour, or you fall asleep fine and are wide awake long before the alarm. Meanwhile every pharmacy shelf and social feed has a fix to sell you. We read the trials and the guidelines and graded ten common answers. Here they are, strongest first.

What works, ranked by evidence

A · Strong Cognitive behavioral therapy for insomnia (CBT-I)

CBT-I is a structured program built from techniques such as stimulus control, sleep restriction (a deliberately shorter time in bed) and relaxation training.1 The American College of Physicians recommends it as the first treatment for all adults with chronic insomnia.2 In a meta-analysis of 20 trials (1,162 people, average age 56), people fell asleep about 19 minutes faster and spent 26 fewer minutes awake in the night, and the gains appeared to last.3 Fully automated app versions also work (a moderate to large effect across 29 trials), though programs with a therapist did better.4 The catch is that it takes effort for several weeks. Ask your doctor about a referral, or start with Insomnia Coach, a free five-week self-guided app from the US Department of Veterans Affairs. It has been tested in one small pilot trial of 50 veterans so far.56

B · Promising The same wake-up time every day

Pick a wake-up time you can keep seven days a week, and let bedtime follow. In a study of 60,977 UK adults who wore motion trackers, the more regular sleepers had a 20% to 48% lower risk of death from any cause than the least regular fifth, and regularity predicted that risk better than sleep duration did.7 This is observational, so it cannot prove cause. A National Sleep Foundation expert panel reviewed the wider research and also concluded that consistent sleep and wake times matter for health.8

B · Promising Daylight and daily movement

Get outside in daylight and move your body most days. Across 22 randomized trials, regular exercise improved scores on a standard sleep-quality questionnaire by about 2 points, although sleep measured by motion sensors barely changed.9 Among about 500,000 UK adults, each extra hour a day spent outdoors went with slightly lower odds of insomnia symptoms and with finding it easier to get up.10 A meta-analysis of 53 light therapy studies found small to medium benefits, with signs of publication bias.11 Morning is a sensible time for your light, though the studies we read measured daytime light in general.

B · Promising Caffeine early, alcohol light

Across 24 studies, caffeine cut total sleep by about 45 minutes and sleep efficiency by 7%. The authors estimate that a cup of coffee (107 mg of caffeine) needs to be finished at least 8.8 hours before bed to avoid losing sleep, which means shortly after 2 p.m. for an 11 p.m. bedtime.12 Alcohol is a poor sleep aid. In a meta-analysis of 27 studies, even about two standard drinks delayed and shortened REM sleep, and the disruption grew with the dose. About five drinks did bring sleep on faster, which the authors say likely makes the later REM loss worse.13 These were studies of healthy adults.

B · Promising A sleep apnea check, if you have the signs

If you snore loudly, gasp or stop breathing in your sleep (a bed partner often notices first), or you drag through the day, ask about a sleep study.14 Sleep apnea is common. The US Preventive Services Task Force cites estimates that 13% of men and 6% of women aged 30 to 70 have a moderate to severe form.15 For people with apnea and daytime sleepiness, the American Academy of Sleep Medicine strongly recommends positive airway pressure (CPAP) treatment.16 The catch: the Task Force found too little evidence to recommend screening adults who have no symptoms.15

C · Early A cool, dark, quiet bedroom

This is sensible and cheap, but thinly tested. In older adults monitored at home, sleep was most efficient when the bedroom was 20 to 25 °C (68 to 77 °F), and efficiency fell 5% to 10% as rooms warmed toward 30 °C (86 °F), with wide differences between people.17 In a lab study, one night of sleeping in moderate room light raised heart rate and next-morning insulin resistance compared with a dim room.18 White noise is less certain: a review of 38 studies rated the evidence that continuous noise helps sleep as very low quality.19 The American Academy of Sleep Medicine also suggests against relying on sleep hygiene tips alone to treat chronic insomnia.1

What doesn't earn its hype

C · Early Melatonin as a nightly sleeping pill

Melatonin is a hormone your brain makes in response to darkness. It helps set the timing of your body clock, and it may help with jet lag.20 For ordinary insomnia the benefit is small: in a meta-analysis of 19 trials (1,683 people), it shortened the time to fall asleep by about 7 minutes and added about 8 minutes of sleep.21 The American Academy of Sleep Medicine suggests against using it for chronic insomnia.22 Labels are a second problem. In one analysis of 31 supplements, the melatonin content ranged from 83% below to 478% above the label, and 26% contained serotonin.23 In another, 22 of 25 gummies were inaccurately labeled.24 It can stay active longer in older adults and cause daytime drowsiness, and people with epilepsy or on blood thinners need medical supervision.20 It earns a C because the effect is real but small.

C · Early Magnesium and sleep supplement blends

A meta-analysis found only three trials of magnesium for insomnia in older adults, with 151 people in total. Those taking it fell asleep about 17 minutes faster than those on placebo, total sleep did not clearly improve, and the authors rated the evidence low to very low quality.25 The NIH upper limit for magnesium from supplements is 350 mg a day for adults. More can cause diarrhea and cramping, and magnesium can interact with some antibiotics and osteoporosis drugs. Your kidneys regulate magnesium, so ask a clinician first if you have kidney disease.26 As for herbal blends, the NIH says the value of valerian for insomnia has not been demonstrated and there is no conclusive trial evidence for chamomile.27 A pricey blend of these ingredients has no stronger evidence than the ingredients themselves.

D · Hype Antihistamine "PM" sleep aids, especially after 65

Diphenhydramine and doxylamine are sedating antihistamines sold as over-the-counter sleep aids. The American Geriatrics Society Beers Criteria tell adults 65 and older to avoid them, a strong recommendation. They are highly anticholinergic, the body clears them more slowly with age, tolerance develops when they are used for sleep, and they carry a risk of confusion, dry mouth and constipation. Cumulative exposure to drugs of this type is associated with falls, delirium and dementia.28 The American Academy of Sleep Medicine also suggests against diphenhydramine for chronic insomnia in adults.22

D · Hype Mouth taping

A 2025 systematic review found 10 studies of taping the mouth shut at night. Two showed a statistically significant improvement in sleep apnea measures, and four raised the risk of asphyxiation when the nose is blocked. The authors concluded there is a potentially serious risk of harm for people who do it indiscriminately.29

When to see a doctor

  • You have trouble sleeping three or more nights a week and it has lasted more than three months. That is the definition of chronic insomnia.30
  • Someone notices loud snoring, gasping, or pauses in your breathing during sleep.14
  • Daytime drowsiness is affecting your concentration or reaction time.14
  • You also have headaches, a dry mouth, or frequent night-time trips to the bathroom along with tiredness.14
  • You want to try a sleep program or supplement and you have restless legs, epilepsy, bipolar disorder, a risk of falls at night, or you take blood thinners.520
  • You are pregnant or breastfeeding and considering melatonin. Its safety there has not been studied enough.20

Your first step today

Choose one wake-up time you can keep all seven days of the week. Set a repeating alarm for it on your phone now. When it goes off tomorrow, get up and open the curtains.

If you are thinking of measuring your sleep with a ring or a watch, read our research review first: Oura, Whoop, Apple Watch and a free alternative, compared.

Sources

  1. Edinger JD, Arnedt JT, Bertisch SM, et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine, 2021. PubMed
  2. Qaseem A, Kansagara D, Forciea MA, Cooke M, Denberg TD; American College of Physicians. Management of chronic insomnia disorder in adults: a clinical practice guideline. Annals of Internal Medicine, 2016. PubMed
  3. Trauer JM, Qian MY, Doyle JS, Rajaratnam SM, Cunnington D. Cognitive behavioral therapy for chronic insomnia: a systematic review and meta-analysis. Annals of Internal Medicine, 2015. PubMed
  4. Hwang JW, Lee GE, Woo JH, Kim SM, Kwon JY. Systematic review and meta-analysis on fully automated digital cognitive behavioral therapy for insomnia. npj Digital Medicine, 2025. Full text
  5. US Department of Veterans Affairs. Insomnia Coach. VA Mobile and App Store listing, checked December 1, 2026. VA page App Store
  6. Kuhn E, Miller KE, Puran D, et al. A pilot randomized controlled trial of the Insomnia Coach mobile app to assess its feasibility, acceptability, and potential efficacy. Behavior Therapy, 2022. PubMed
  7. Windred DP, Burns AC, Lane JM, et al. Sleep regularity is a stronger predictor of mortality risk than sleep duration: a prospective cohort study. Sleep, 2024. PubMed
  8. Sletten TL, Weaver MD, Foster RG, et al. The importance of sleep regularity: a consensus statement of the National Sleep Foundation sleep timing and variability panel. Sleep Health, 2023. PubMed
  9. Xie Y, Liu S, Chen XJ, Yu HH, Yang Y, Wang W. Effects of exercise on sleep quality and insomnia in adults: a systematic review and meta-analysis of randomized controlled trials. Frontiers in Psychiatry, 2021. PubMed
  10. Burns AC, Saxena R, Vetter C, Phillips AJK, Lane JM, Cain SW. Time spent in outdoor light is associated with mood, sleep, and circadian rhythm-related outcomes: a cross-sectional and longitudinal study in over 400,000 UK Biobank participants. Journal of Affective Disorders, 2021. PubMed
  11. van Maanen A, Meijer AM, van der Heijden KB, Oort FJ. The effects of light therapy on sleep problems: a systematic review and meta-analysis. Sleep Medicine Reviews, 2016. PubMed
  12. Gardiner C, Weakley J, Burke LM, et al. The effect of caffeine on subsequent sleep: a systematic review and meta-analysis. Sleep Medicine Reviews, 2023. PubMed
  13. Gardiner C, Weakley J, Burke LM, et al. The effect of alcohol on subsequent sleep in healthy adults: a systematic review and meta-analysis. Sleep Medicine Reviews, 2025. Monash University record
  14. National Heart, Lung, and Blood Institute. Sleep apnea: symptoms. NIH, updated January 2025. Link
  15. US Preventive Services Task Force. Screening for obstructive sleep apnea in adults: recommendation statement. JAMA, 2022. PubMed
  16. Patil SP, Ayappa IA, Caples SM, Kimoff RJ, Patel SR, Harrod CG. Treatment of adult obstructive sleep apnea with positive airway pressure: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine, 2019. PubMed
  17. Baniassadi A, Manor B, Yu W, Travison T, Lipsitz L. Nighttime ambient temperature and sleep in community-dwelling older adults. Science of the Total Environment, 2023. PubMed
  18. Mason IC, Grimaldi D, Reid KJ, et al. Light exposure during sleep impairs cardiometabolic function. Proceedings of the National Academy of Sciences, 2022. PubMed
  19. Riedy SM, Smith MG, Rocha S, Basner M. Noise as a sleep aid: a systematic review. Sleep Medicine Reviews, 2021. PubMed
  20. National Center for Complementary and Integrative Health. Melatonin: what you need to know. NIH, updated May 2024. Link
  21. Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One, 2013. PubMed
  22. Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine, 2017. PubMed
  23. Erland LA, Saxena PK. Melatonin natural health products and supplements: presence of serotonin and significant variability of melatonin content. Journal of Clinical Sleep Medicine, 2017. PubMed
  24. Cohen PA, Avula B, Wang YH, Katragunta K, Khan I. Quantity of melatonin and CBD in melatonin gummies sold in the US. JAMA, 2023. Link
  25. Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complementary Medicine and Therapies, 2021. PubMed
  26. NIH Office of Dietary Supplements. Magnesium: fact sheet for health professionals. Updated January 6, 2026. Link
  27. National Center for Complementary and Integrative Health. Sleep disorders and complementary health approaches. NIH, updated May 2024. Link
  28. 2023 American Geriatrics Society Beers Criteria Update Expert Panel. American Geriatrics Society 2023 updated AGS Beers Criteria for potentially inappropriate medication use in older adults. Journal of the American Geriatrics Society, 2023. Full text
  29. Rhee J, Iansavitchene A, Mannala S, Graham ME, Rotenberg B. Breaking social media fads and uncovering the safety and efficacy of mouth taping in patients with mouth breathing, sleep disordered breathing, or obstructive sleep apnea: a systematic review. PLOS One, 2025. Link
  30. National Heart, Lung, and Blood Institute. What is insomnia? NIH, updated March 2022. Link

This article is education, not medical advice. Talk with your clinician before starting or stopping any treatment or supplement, especially if you take prescription medication, are pregnant, or have a medical condition.

Healthier Daily provides health education, not medical advice. Talk with your clinician before changing any treatment. In an emergency call 911 (US).