Melatonin works for sleep, but only modestly: a 2013 meta-analysis of 19 placebo-controlled trials found it helped people fall asleep about 7 minutes sooner and sleep about 8 minutes longer than placebo. [ferracioli-oda-2013] A 2022 network meta-analysis of 154 trials found that melatonin did not show overall material benefits for insomnia disorder in adults, [decrescenzo-2022] and a 2023 test of 25 melatonin gummies found that 22 were inaccurately labelled. [cohen-2023] This guide covers what these studies found, what they could not show and what to ask a doctor or pharmacist. Our sleep overview covers the wider picture, and our guide to magnesium for sleep covers the other supplement people most often ask about.
Does melatonin work for sleep?
A little, on average. The 2013 meta-analysis pooled 19 randomised, placebo-controlled trials with 1,683 people who had primary sleep disorders: fourteen trials on insomnia, four on delayed sleep phase syndrome and one on REM sleep behaviour disorder. Melatonin reduced the time to fall asleep by 7.06 minutes (95% confidence interval 4.37 to 9.75) and increased total sleep time by 8.25 minutes (1.74 to 14.75). Overall sleep quality also improved (standardised mean difference 0.22, 0.12 to 0.32). [ferracioli-oda-2013]
The authors called the effects modest and said they did not appear to fade with continued use. They added that the absolute benefit is smaller than that of other drugs for insomnia, though melatonin may have a role because its side-effect profile is relatively benign. [ferracioli-oda-2013]
Weighted mean differences between melatonin and placebo from the meta-analysis by Ferracioli-Oda and colleagues (2013): 19 randomised, placebo-controlled trials, 1,683 people with primary sleep disorders. Sleep latency 7.06 minutes (95% confidence interval 4.37 to 9.75); total sleep time 8.25 minutes (95% confidence interval 1.74 to 14.75).
How reliable is that result?
Reasonably, with caveats the authors state themselves. On objective measures (polysomnography or actigraphy), total sleep time hardly changed, by 0.33 minutes (95% confidence interval from 11.19 minutes shorter to 11.87 minutes longer), while self-reported measures showed 11.93 minutes more sleep. In a sensitivity analysis using a random-effects model, the increase in total sleep time was 8.48 minutes and was no longer statistically significant. [ferracioli-oda-2013]
The searches ran up to March 2012, one trial carried a very large weight in the overall result, and there were too few trials in children to analyse them separately. [ferracioli-oda-2013]
Does a higher dose or a longer course work better?
In the trials pooled, higher doses and longer trials went with larger effects, but that is not a dosing guide. Trials with a longer duration reported greater effects on sleep latency and total sleep time, and trials using higher doses reported greater effects on total sleep time and, at trend level, on sleep latency. Neither dose nor duration made a significant difference to sleep quality. [ferracioli-oda-2013]
The authors read this as no evidence that people develop tolerance to melatonin, unlike with benzodiazepines. [ferracioli-oda-2013] It is a comparison across different trials, so it cannot say what dose is right for you.
Is the melatonin in a gummy the melatonin on the label?
Often it is not. A 2023 JAMA research letter identified 30 gummy brands in a US supplement database, bought those it could and analysed 25 of them. Measured melatonin ranged from 1.3 mg to 13.1 mg per serving, or 74% to 347% of the labelled amount. Twenty-two of the 25 products (88%) were inaccurately labelled, and only 3 (12%) were within 10% of the declared quantity. One product had no detectable melatonin but contained 31.3 mg of CBD. [cohen-2023]
- More than 10% off the labelled amount 88% of the 25 products analysed
- Within 10% of the labelled amount 12% of the 25 products analysed
Table and text of the research letter by Cohen and colleagues (JAMA, 2023): 25 melatonin gummy products sold in the US, one sample of each brand. 22 of 25 (88%) were inaccurately labelled and 3 (12%) were within 10% of the declared melatonin quantity.
The letter is a small test, with one sample of each brand and only gummies analysed, so it is not known whether tablets or capsules behave the same way. In the US, melatonin is sold as a dietary supplement rather than an approved medicine, and the authors report that calls to Poison Control Centers about pediatric melatonin ingestions rose 530% from 2012 to 2021, with 27,795 emergency department and clinic visits, 4,097 hospitalisations, 287 intensive care admissions and 2 deaths. They advise that pediatric use of melatonin gummies may result in unpredictable quantities of melatonin. [cohen-2023] Treat any melatonin product like other medicines in a home with children, and keep it out of reach.
How does melatonin compare with sleeping pills?
Weaker in both analyses. The 2013 authors noted that melatonin’s absolute benefit was smaller than that of other drugs for insomnia. [ferracioli-oda-2013] The 2022 network meta-analysis compared drugs across 154 trials and 44,089 adults, and found benzodiazepines, eszopiclone, zolpidem and zopiclone more efficacious than melatonin, ramelteon and zaleplon. The authors’ overall verdict was that melatonin, ramelteon and non-licensed drugs did not show overall material benefits. [decrescenzo-2022] That is a finding about insomnia disorder in adults, not about body-clock problems such as jet lag. Our guide to sleeping pills covers that analysis in full.
| Question | What the studies found | Caveat |
|---|---|---|
| Fall asleep sooner? | 7.06 minutes sooner than placebo (19 trials) | Modest average effect |
| Sleep longer? | 8.25 minutes longer; 0.33 minutes on objective measures | Not significant in the random-effects analysis |
| Higher dose better? | Greater effects on sleep time in trials with higher doses | Compares trials, not a dosing guide |
| Better than sleeping pills? | No: smaller benefit in 2013, no overall material benefit (2022) | Different questions and populations |
| Is the label accurate? | 22 of 25 gummies inaccurately labelled (74% to 347%) | Small US test, gummies only |
What can this research not show?
It cannot show which product, dose or duration suits you. Five limits matter most:
- The dose is not settled. The meta-analysis compares trials with different doses, and the gummy test shows labelled doses may not match what is inside. [ferracioli-oda-2013] [cohen-2023]
- Objective sleep barely changed. Total sleep time rose by 0.33 minutes on objective measures, against 11.93 minutes on self-reported ones. [ferracioli-oda-2013]
- Children are barely covered. The 2013 review had too few trials in children to analyse them separately. [ferracioli-oda-2013]
- The two big analyses ask different questions. One pooled placebo-controlled trials of primary sleep disorders, and the other compared drugs for insomnia disorder in adults, so they do not simply contradict each other. [ferracioli-oda-2013] [decrescenzo-2022]
- Product quality is a separate problem. The gummy test covered one product type from one market. [cohen-2023]
What should you ask a doctor or pharmacist?
Ask whether melatonin is sensible with your other medicines, which product and dose they would suggest, how long to try it before judging it and what to do if it does not help. This section is our suggestion and is not something the studies tested.
Our guides to sleep hygiene, CBT for insomnia and trazodone for sleep cover other routes. If you want a rough picture of how much sleep is affecting you before an appointment, our insomnia screener, built on the Insomnia Severity Index, is a short self-check. It is not a diagnosis, and it does not tell you whether melatonin is right for you.
When to seek help
Speak to a doctor if poor sleep has lasted three weeks or more, if it is affecting your days or mood, or before giving melatonin to a child. If you feel unable to stay safe, contact your local emergency services or a crisis helpline.
How MyFreud can help
A sleep record helps a doctor more than a description from memory. Daily mood tracking in MyFreud shows how your days run over weeks, and the notepad is somewhere to note when you slept, what you took and how you felt the next day. It does not replace a doctor or a pharmacist.
Download MyFreud and start today: App Store or Google Play.