We take no money from the companies we review: no ads, no affiliate links, no sponsorships. Our editorial independence

HomeSleep › Melatonin and OTC sleep aids after 50: what the evidence shows

Sleep · 8 min read

Melatonin and OTC sleep aids after 50: what the evidence shows

Melatonin has a small, real effect on falling asleep and a bigger role in circadian problems like jet lag. Antihistamine pills carry particular risks after 50. Here is what controlled trials and guidelines report, and where the evidence runs thin.

Key takeaways

  • Across meta-analyses, melatonin shortens the time to fall asleep by only a few minutes on average, a statistically real but small effect for ordinary insomnia.
  • Melatonin’s stronger evidence is for circadian problems: jet lag and delayed sleep-wake phase disorder, where timing of the dose matters more than the amount.
  • Commercial melatonin products are poorly regulated: independent lab analyses found actual content ranging from far below to several times the labeled dose.
  • Diphenhydramine and doxylamine (the antihistamines in most PM sleep pills) have thin efficacy evidence, tolerance within days, and are flagged as potentially inappropriate for adults 65 and older in the AGS Beers Criteria.
  • Valerian, magnesium and CBD each have limited, low-quality evidence; guidelines treat none of them as established insomnia treatments.

Walk down any pharmacy aisle and the shelves promise sleep in a bottle: melatonin gummies, PM pain relievers, valerian root, magnesium powders, CBD drops. Very little of it is regulated the way a prescription drug is, and the marketing rarely matches what controlled trials found. This is an evidence check, not advice. Here is what randomized trials, systematic reviews and clinical guidelines report, with attention to what changes after age 50.

Melatonin: a small effect for insomnia, a clearer role for the body clock

Melatonin is a hormone your body makes in the evening to signal that night is coming. Taken as a supplement, it does something measurable, but the size of that effect is easy to overstate. A widely cited meta-analysis of 19 randomized trials found that melatonin shortened the time to fall asleep by roughly 7 minutes compared with placebo, and added about 8 minutes of total sleep (Ferracioli-Oda, PLOS ONE, 2013). Those are real, statistically significant numbers, and they are modest.

A 2024 dose-response analysis of randomized trials reported that the sleep-promoting effect tends to peak near a 4 mg dose rather than climbing with ever-larger amounts, which pushes back on the idea that more is better (Journal of Pineal Research, 2024). Where melatonin looks more useful is not ordinary insomnia but circadian problems, meaning your internal clock is out of sync with the clock on the wall. A Cochrane review concluded that melatonin, taken close to the target bedtime at the destination, is effective for preventing and reducing jet lag (Herxheimer & Petrie, Cochrane, 2002). The American Academy of Sleep Medicine’s guideline on circadian rhythm disorders supports appropriately timed melatonin for delayed sleep-wake phase disorder, where a person’s natural sleep window has drifted late (AASM, JCSM, 2015). For these uses, when you take it matters more than how much.

For chronic insomnia, guidelines are cautious. The AASM’s pharmacologic treatment guideline issued a weak recommendation against using melatonin for sleep onset or maintenance insomnia, citing insufficient evidence of benefit (AASM, JCSM, 2017). The American College of Physicians reached a broader conclusion: cognitive behavioral therapy for insomnia (CBT-I), a structured non-drug approach, should be the first-line treatment for chronic insomnia in all adults (ACP, Annals of Internal Medicine, 2016).

The label problem

A separate issue is that melatonin sold in the United States is a dietary supplement, so its contents are not verified before sale. When independent labs have checked, the results were poor. One analysis of 30 commercial products found melatonin content ranging from 83% below to 478% above the labeled amount, with more than 71% of products missing their own label by more than 10%, and lot-to-lot variation within a single product as high as 465%. Eight products also contained serotonin (Erland & Saxena, JCSM, 2017). A 2023 analysis of 25 melatonin gummies found 22 were inaccurately labeled, with actual melatonin ranging from 74% to 347% of the stated dose; one product contained no detectable melatonin but 31.3 mg of CBD (Cohen, JAMA, 2023). In plain terms, the number on the bottle is not a reliable guide to what is inside.

Antihistamine sleep aids: thin evidence and specific risks after 50

The “PM” and “nighttime” versions of common pain and cold products rely on sedating first-generation antihistamines, usually diphenhydramine (the ingredient in Benadryl) or doxylamine. They make many people drowsy, but drowsiness is not the same as good, sustained sleep, and the trial evidence for treating insomnia is weak. The AASM guideline issued a weak recommendation against using diphenhydramine for insomnia (AASM, JCSM, 2017).

Two problems stand out. First, tolerance develops fast. In a controlled study, the daytime sedation from diphenhydramine was no different from placebo by the fourth day of continuous use, meaning the effect fades within days even as the drug keeps circulating (Richardson, Journal of Clinical Psychopharmacology, 2002). Second, these drugs are anticholinergic, meaning they block a signaling chemical called acetylcholine. That mechanism produces next-day grogginess, dry mouth, constipation, blurred vision and confusion, and it clears more slowly with age.

Because of this, the American Geriatrics Society’s Beers Criteria, the standard reference for medication safety in older adults, lists first-generation antihistamines including diphenhydramine among medications that adults 65 and older should generally avoid, specifically flagging their use as sleep aids (AGS Beers Criteria, 2023). A large prospective cohort study added a longer-term concern: the heaviest cumulative use of strong anticholinergic drugs, a group that includes diphenhydramine, was associated with a 54% higher risk of dementia compared with minimal use, following a dose-response pattern (Gray, JAMA Internal Medicine, 2015). This is an observational finding, so it shows association rather than proof of cause, but the size and consistency of the signal are why geriatricians treat these drugs seriously. Falls and next-day impairment are the more immediate concerns.

Valerian, magnesium, CBD and the rest

Valerian. This herb has been studied for decades with mixed and generally disappointing results. An older meta-analysis suggested people were more likely to report improved sleep, but the authors flagged serious methodological weaknesses (Bent, American Journal of Medicine, 2006), and a more recent umbrella review of the accumulated evidence concluded that valerian does not show reliable efficacy for insomnia. The AASM guideline recommends against it.

Magnesium. Interest is high and the mineral is cheap, but the evidence is thin. A systematic review of three small randomized trials in 151 older adults found sleep onset latency about 17 minutes shorter with magnesium than placebo, while the change in total sleep time was not statistically significant. The authors rated the overall quality of evidence as low to very low and said it is not strong enough for firm clinical recommendations (Mah & Pitre, BMC Complementary Medicine and Therapies, 2021).

CBD. Clinical evidence for cannabidiol as a stand-alone sleep treatment remains limited and preliminary. Several of the more positive trials tested CBD combined with THC or with other compounds rather than CBD alone, which makes it hard to attribute any benefit to CBD itself, and reviewers consistently call for more rigorous studies. CBD is not an established insomnia treatment on the current record.

The through-line across all of these is the same: the products with the loudest marketing tend to have the quietest evidence. Melatonin has a genuine but small effect for insomnia and a clearer role for jet lag and body-clock problems. Antihistamine pills carry particular risks after 50. Valerian, magnesium and CBD sit in the “limited and low-quality evidence” category. And behavioral therapy, not a supplement, is what guidelines put first.

This article reports what the published evidence shows and is not medical advice. Supplements and over-the-counter drugs can interact with prescription medicines and existing conditions. Talk with a clinician or pharmacist about your own situation before starting or stopping anything.

Common questions

Does melatonin help you sleep?

In pooled randomized trials it helps a little for ordinary insomnia, shortening the time to fall asleep by roughly 7 minutes on average and adding a few minutes of total sleep. The effect is statistically real but small. Melatonin has clearer evidence for circadian problems such as jet lag and delayed sleep-wake phase disorder, where the timing of the dose matters more than the amount.

Is the melatonin in the bottle the same as what the label says?

Often no. Because melatonin is sold as a dietary supplement in the US, contents are not verified before sale. Independent lab analyses found actual melatonin ranging from far below to several times the labeled amount, and one 2023 study of gummies found 22 of 25 products were inaccurately labeled. One gummy contained no melatonin at all but did contain CBD.

Are Benadryl and other PM sleep pills safe for older adults?

The American Geriatrics Society Beers Criteria lists first-generation antihistamines such as diphenhydramine among medications that adults 65 and older should generally avoid, including as sleep aids. They are anticholinergic, which can cause next-day grogginess, confusion, dry mouth and falls, and tolerance to the sedating effect develops within days. This is evidence reporting, not a recommendation for your situation.

Do magnesium or valerian work for sleep?

The evidence is limited. A review of three small trials in older adults found magnesium shortened time to fall asleep by about 17 minutes, but the quality of evidence was rated low to very low. Valerian has been studied for years with mixed and largely disappointing results, and recent reviews find no reliable benefit. Neither is an established insomnia treatment.

What do sleep guidelines recommend first for chronic insomnia?

The American College of Physicians recommends cognitive behavioral therapy for insomnia (CBT-I), a structured non-drug program, as the first-line treatment for chronic insomnia in all adults. Medications are generally considered only when CBT-I is unavailable or insufficient. Discuss options with a clinician.

Sources & methodology
  1. Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLOS ONE. 2013.
  2. Givler D, et al. Optimizing the time and dose of melatonin as a sleep-promoting drug: a systematic review and dose-response meta-analysis of randomized controlled trials. Journal of Pineal Research. 2024.
  3. Herxheimer A, Petrie KJ. Melatonin for the prevention and treatment of jet lag. Cochrane Database of Systematic Reviews. 2002.
  4. Auger RR, et al. Clinical practice guideline for the treatment of intrinsic circadian rhythm sleep-wake disorders. AASM. Journal of Clinical Sleep Medicine. 2015.
  5. Sateia MJ, et al. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults. AASM. Journal of Clinical Sleep Medicine. 2017.
  6. Qaseem A, et al. Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Annals of Internal Medicine. 2016.
  7. Erland LAE, Saxena PK. Melatonin natural health products and supplements: presence of serotonin and significant variability of melatonin content. Journal of Clinical Sleep Medicine. 2017.
  8. Cohen PA, et al. Quantity of melatonin and CBD in melatonin gummies sold in the US. JAMA. 2023.
  9. Richardson GS, et al. Tolerance to daytime sedative effects of H1 antihistamines. Journal of Clinical Psychopharmacology. 2002.
  10. Gray SL, et al. Cumulative use of strong anticholinergics and incident dementia: a prospective cohort study. JAMA Internal Medicine. 2015.
  11. American Geriatrics Society 2023 updated AGS Beers Criteria for potentially inappropriate medication use in older adults. Journal of the American Geriatrics Society. 2023.
  12. Bent S, et al. Valerian for sleep: a systematic review and meta-analysis. The American Journal of Medicine. 2006.
  13. Does valerian work for insomnia? An umbrella review of the evidence. European Neuropsychopharmacology. 2024.
  14. Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complementary Medicine and Therapies. 2021.
  15. Effects of a cannabidiol/terpene formulation on sleep in individuals with insomnia: a double-blind, placebo-controlled, randomized, crossover study. Journal of Clinical Sleep Medicine. 2023.

This article was produced using our 31-point scoring methodology; every primary source we cite across the site is collected in our consolidated bibliography. We analyze published research and consumer reviews; we do not personally test medical products. This is not medical advice. Consult a licensed clinician.

Get the monthly research digest

One plain-English email a month: new study findings, price changes, and safety updates. No spam, ever.