Melatonin alternatives: what actually has evidence

Reviewed 27 sourcesPublished by PepVault

Melatonin alternatives by their trials: magnesium, glycine, L-theanine, valerian, ashwagandha, tart cherry, chamomile, OTC antihistamines and CBT-I.

Silver-haired woman in a saffron top laughs, arms flung wide, on a green hilltop
Last reviewed
Sources
27
Questions
5
Compounds
4

The short answer

The best-tested alternative is not a pill: CBT-I, a short course of sleep training, cut the time to fall asleep by 19 minutes in pooled trials, against about 7 for melatonin. Among supplements, magnesium, glycine and ashwagandha have small positive trials, while valerian and chamomile mostly missed. Melatonin is sold over the counter in the US but needs a prescription in the UK.

Every number checked at its primary source · · 27 sources · How we research

Evidence: Randomized trials and meta-analyses in people: strong for CBT-I (20 trials, 1,162 adults); small trials of 8 to 405 people, mostly short, for each supplement; thin for the antihistamine sleep aids.

Silver-haired woman in a saffron top laughs, arms flung wide, on a green hilltop

What works better than melatonin for sleep?

Cognitive behavioural therapy for insomnia, CBT-I, beats every product on the shelf in the trials. It is a structured course, with a therapist, a program or an app, that retrains the habits keeping insomnia going: going to bed only when sleepy, getting up when you cannot sleep, and shrinking time in bed to the hours you actually sleep before widening it again.

A meta-analysis (a study that pools trials, see pepvault.app/glossary/meta-analysis) of 20 randomized trials of face-to-face CBT-I in 1,162 adults with chronic insomnia found CBT-I got people to sleep 19 minutes sooner, cut time awake in the night by 26 minutes and raised sleep efficiency, the share of time in bed spent asleep, by about 10 percentage points; the gains held at later follow-up1. The same kind of pooled analysis for melatonin found sleep came 7 minutes sooner5.

Both US guideline bodies put CBT-I first. The American College of Physicians recommends it as the initial treatment for every adult with chronic insomnia, a strong recommendation2, and the American Academy of Sleep Medicine gives multicomponent CBT-I its strong grade3. The same academy's medicine guideline makes weak suggestions against melatonin, valerian and diphenhydramine for chronic insomnia4. Why melatonin fails some people in the first place is covered in pepvault.app/guides/melatonin-not-working.

A smiling woman in a blue top leaning on her kitchen counter with her phone and a notebook

PepVault for iPhone

Keep your protocol in PepVault

Add the supplement you are testing to your plan in PepVault as an oral item with an evening time, switch on its reminder, and each night you take it is one tap to log.

Download on the App Store

7 days free on the yearly plan for new subscribers.

Which natural sleep aids have real trial evidence?

Most supplements sold as melatonin alternatives have been tested in only a handful of trials, many small and short. The table gives each one's largest or best-measured human trial, so the sizes can be compared directly. A crossover trial (pepvault.app/glossary/crossover-trial) gives each person both the product and a placebo, a dummy pill, at different times.

AlternativeBest trialWhat it foundRead
Magnesium (bisglycinate)155 adults with poor sleep, 250 mg elemental magnesium a day for 4 weeks6Insomnia score fell 3.9 points against 2.3 on placebo; a small effect (d = 0.2)6; an earlier trial in 46 older adults also lowered insomnia scores7Small, positive
Glycine11 adults with poor sleep, 3 g before bed, sleep recorded in a lab, crossover8Faster to fall asleep and to reach deep sleep, with the rest of sleep unchanged; less sleepy next morning8Small, positive
L-theanine30 healthy adults, 200 mg a day for 4 weeks, crossover9; 98 boys with ADHD, 400 mg a day for 6 weeks10Better sleep-questionnaire scores in adults9; higher sleep efficiency on a wrist tracker in the boys, with no change in time to fall asleep10Small, mixed groups
Valerian405 adults with insomnia, 2 weeks, run over the internet12; review of 16 trials, 1,093 people1129% against 21% reported better sleep, not a significant difference12; pooled benefit with signs that negative trials went unpublished11Mostly missed
Ashwagandha60 adults with insomnia, 300 mg root extract twice a day for 10 weeks14; review of 5 trials, 400 people13Fell asleep in 29 minutes against 34 on placebo14; small pooled gain, larger at 600 mg a day or more and after 8 weeks13Small, positive
Tart cherry juice15 older adults with insomnia, 2 weeks, crossover15; 8 adults over 50, sleep recorded in a lab16Less time awake in the night, no change in time to fall asleep15; 84 more minutes of sleep in the lab16Pilot only
Chamomile34 adults with chronic insomnia, 270 mg twice a day for 28 days17No significant change in any sleep-diary measure17; a review found better sleep quality, but the one insomnia trial showed no gain18Missed for insomnia
Melatonin, for comparisonReview of 19 trials, 1,683 people5Asleep 7 minutes sooner and 8 minutes more sleep5Modest

Read across and a pattern shows: where a trial timed falling asleep, the gain was a few minutes (ashwagandha's was 514), about melatonin's 75, and none came near CBT-I's 191. Tart cherry's 84 extra minutes comes from a pilot of 8 people16. Each has its own guide with the full trial record: glycine at pepvault.app/guides/glycine-for-sleep, the magnesium forms at pepvault.app/guides/magnesium-glycinate-vs-citrate, ashwagandha's timing at pepvault.app/guides/when-to-take-ashwagandha and L-theanine at pepvault.app/guides/l-theanine-and-caffeine. Their library pages are pepvault.app/peptides/magnesium, pepvault.app/peptides/glycine and pepvault.app/peptides/ashwagandha, and every sleep compound ranked by evidence is at pepvault.app/peptides/for/sleep.

Two side notes from the sources. The L-theanine trial's tablets came from the company that makes them, and two of its authors work there9. Ashwagandha has a small case series of liver injury: five people developed jaundice 2 to 12 weeks after starting it, and none had liver failure27.

Add the supplement you are testing to your plan in PepVault as an oral item with an evening time, switch on its reminder, and each night you take it is one tap to log. Set reminders in PepVault

Do over-the-counter sleep aids like ZzzQuil and Unisom work?

The drugstore sleep aids are old antihistamines whose side effect is drowsiness. ZzzQuil Nighttime and Unisom SleepGels hold diphenhydramine, the drug in Benadryl; ZzzQuil Ultra and Unisom SleepTabs hold doxylamine. Their labels make a narrow promise: diphenhydramine "for the relief of occasional sleeplessness"23, doxylamine "helps to reduce difficulty in falling asleep"22.

The trials are thin. In 184 adults with mild insomnia, 50 mg of diphenhydramine for 14 days raised sleep efficiency on sleep diaries against placebo, but the overnight lab recordings showed no difference19. The sleepiness itself fades fast: in 15 healthy men given diphenhydramine twice a day, it was gone by day 4, indistinguishable from placebo20. A review of over-the-counter sleep aids from 2003 to 2014 found three qualifying trials, all of diphenhydramine and none of doxylamine, and concluded that the common sleep aids, diphenhydramine above all, lack robust evidence21.

The label lineDiphenhydramine23Doxylamine22
Amount in each unit25 mg a capsule, 2 at bedtime25 mg a tablet, 1 tablet 30 minutes before bed
Not forChildren under 12; with any other diphenhydramine product, even one used on skinChildren under 12
Ask a doctor first if you haveEmphysema or chronic bronchitis, glaucoma, trouble urinating from an enlarged prostateAsthma, emphysema or chronic bronchitis, glaucoma, trouble urinating from an enlarged prostate
While using itAvoid alcohol; ask first if you take sedatives or tranquilizersAvoid alcohol; ask first if you take any other drugs
Pregnant or breastfeedingAsk a health professional before useAsk a health professional before use

Commonly reported: a groggy, dry-mouthed morning after an antihistamine sleep aid, and that the same tablet seems to do less after a few nights in a row, which matches the tolerance trial20.

When to get help Both labels give the same line: stop and ask a doctor if sleeplessness lasts more than two weeks, because insomnia can be a sign of another medical illness2223.

Is melatonin over the counter?

In the US, yes: melatonin is a dietary supplement, sold off the shelf with no prescription24. In the UK, no: the NHS states it is "only available with a prescription"25, and Switzerland treats it as a prescription medicine too26.

In the European Union it depends on the country. Apart from Poland, the prolonged-release form is a prescription medicine everywhere; the immediate-release form, where sold, is either prescription or over the counter; and many countries allow small amounts in food supplements, each with its own ceiling26. Belgium caps a supplement at 0.3 mg a day and France at 2 mg, the highest in the EU, while Italy allows 1 mg26. A supplement under 1 mg may not carry a sleep claim for its melatonin under EU rules26.

Labels miss their numbers on both sides of the Atlantic: in a Belgian lab's test of 25 supplements from legal shops, 24% held less than 80% of the melatonin on the label, and 12% broke the rules, by unauthorized health claims or at least three times Belgium's limit26. How far US gummies stray from their label, and why a smaller amount is often enough, is in pepvault.app/guides/melatonin-less-is-more; mixing it with drinks is in pepvault.app/guides/melatonin-and-alcohol.

How do you test a sleep aid on yourself?

The trials above measured change against a baseline, and a single good night proves little: in the ashwagandha trial, the placebo group fell asleep faster too14. A personal test copies the same structure.

  1. Write down, each morning for a week, how long you took to fall asleep, how often you woke and how rested you feel. This is your baseline.
  2. Pick one product and note the amount and the length of its best trial in the table above (from a few nights to 10 weeks): that is what the evidence covers. Change nothing else at bedtime.
  3. Keep the same morning notes on every night, including the nights you forget or skip it.
  4. Compare the two stretches. A gain of a few minutes is the size the trials found, so judge the weeks as a whole, not single nights.
  5. If the label says to ask a doctor first because of a condition you have or a medicine you take, do that before you start.

Today's daily check-in in PepVault rates your sleep and records the hours you slept, so the baseline week and the weeks on the supplement sit in one record you can compare. Log it in PepVault

More on insomnia itself, and the older peptide trials in it, is at pepvault.app/conditions/insomnia.

Track it in the app

Sources

  1. Trauer JM et al. Cognitive behavioral therapy for chronic insomnia: a systematic review and meta-analysis. Ann Intern Med. 2015. PubMed 26054060
  2. Qaseem A et al. Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Ann Intern Med. 2016. PubMed 27136449
  3. Edinger JD et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med. 2021. PubMed 33164742
  4. Sateia MJ et al. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: an American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med. 2017. PubMed 27998379
  5. Ferracioli-Oda E et al. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One. 2013. PubMed 23691095
  6. Schuster J et al. Magnesium bisglycinate supplementation in healthy adults reporting poor sleep: a randomized, placebo-controlled trial. Nat Sci Sleep. 2025. PubMed 40918053
  7. Abbasi B et al. The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial. J Res Med Sci. 2012. PubMed 23853635
  8. Bannai M, Kawai N. New therapeutic strategy for amino acid medicine: glycine improves the quality of sleep. J Pharmacol Sci. 2012. PubMed 22293292
  9. Hidese S et al. Effects of L-theanine administration on stress-related symptoms and cognitive functions in healthy adults: a randomized controlled trial. Nutrients. 2019. PubMed 31623400
  10. Lyon MR et al. The effects of L-theanine (Suntheanine) on objective sleep quality in boys with attention deficit hyperactivity disorder (ADHD): a randomized, double-blind, placebo-controlled clinical trial. Altern Med Rev. 2011. PubMed 22214254
  11. Bent S et al. Valerian for sleep: a systematic review and meta-analysis. Am J Med. 2006. PubMed 17145239
  12. Oxman AD et al. A televised, web-based randomised trial of an herbal remedy (valerian) for insomnia. PLoS One. 2007. PubMed 17940604
  13. Cheah KL et al. Effect of ashwagandha (Withania somnifera) extract on sleep: a systematic review and meta-analysis. PLoS One. 2021. PubMed 34559859
  14. Langade D et al. Efficacy and safety of ashwagandha (Withania somnifera) root extract in insomnia and anxiety: a double-blind, randomized, placebo-controlled study. Cureus. 2019. PubMed 31728244
  15. Pigeon WR et al. Effects of a tart cherry juice beverage on the sleep of older adults with insomnia: a pilot study. J Med Food. 2010. PubMed 20438325
  16. Losso JN et al. Pilot study of the tart cherry juice for the treatment of insomnia and investigation of mechanisms. Am J Ther. 2018. PubMed 28901958
  17. Zick SM et al. Preliminary examination of the efficacy and safety of a standardized chamomile extract for chronic primary insomnia: a randomized placebo-controlled pilot study. BMC Complement Altern Med. 2011. PubMed 21939549
  18. Hieu TH et al. Therapeutic efficacy and safety of chamomile for state anxiety, generalized anxiety disorder, insomnia, and sleep quality: a systematic review and meta-analysis. Phytother Res. 2019. PubMed 31006899
  19. Morin CM et al. Valerian-hops combination and diphenhydramine for treating insomnia: a randomized placebo-controlled clinical trial. Sleep. 2005. PubMed 16335333
  20. Richardson GS et al. Tolerance to daytime sedative effects of H1 antihistamines. J Clin Psychopharmacol. 2002. PubMed 12352276
  21. Culpepper L, Wingertzahn MA. Over-the-counter agents for the treatment of occasional disturbed sleep or transient insomnia: a systematic review of efficacy and safety. Prim Care Companion CNS Disord. 2015. PubMed 27057416
  22. Vicks ZzzQuil Ultra (doxylamine succinate 25 mg) tablet, Drug Facts label. DailyMed, setid c29f6f9a-7b55-30c3-e053-2995a90a9de7. dailymed.nlm.nih.gov
  23. ZzzQuil Nighttime Sleep-Aid (diphenhydramine HCl 25 mg) LiquiCaps, Drug Facts label. DailyMed, setid ad4babdb-d98d-420e-b8b0-9a5368c89a44. dailymed.nlm.nih.gov
  24. National Center for Complementary and Integrative Health (NIH). Melatonin: what you need to know. Last updated May 2024. nccih.nih.gov
  25. NHS. Melatonin (medicines A to Z). nhs.uk
  26. Vanhee C et al. Validated UHPLC methods for melatonin quantification reveal regulatory violations in EU online dietary supplements commerce. Molecules. 2025. PubMed 40572610
  27. Björnsson HK et al. Ashwagandha-induced liver injury: a case series from Iceland and the US Drug-Induced Liver Injury Network. Liver Int. 2020. PubMed 31991029

Newsletter · Weekly

The weekly peptide briefing.

New guides, the week’s peptide news, one tool. Free, one email a week, unsubscribe anytime.

We’ll email you a link to confirm. Your address is used for the briefing only. Privacy

PepVault for iPhone

Keep your protocol in PepVault

Log every dose, track every vial, and see your protocol come together.

Download on the App Store

7 days free on the yearly plan for new subscribers.

Explore the live demo