Skip to content
MyFreud

Melatonin for Sleep: Does It Work?

Does melatonin work for sleep? What a 19-trial meta-analysis found on falling asleep, sleep time and dose, and what a JAMA test of 25 US gummies found.

6 min read

Flat vector illustration of a person with long dark hair lying in bed seen from above, a dark pillow held over their face with both hands, with a cream duvet to one side and a radiator at the top right.

Key takeaways

  • A 2013 meta-analysis of 19 randomised, placebo-controlled trials and 1,683 people found that melatonin shortened the time to fall asleep by 7.06 minutes and increased total sleep time by 8.25 minutes, a modest effect.
  • Trials with longer duration and higher doses reported greater effects on sleep latency and total sleep time, and the authors saw no sign that the effect faded with continued use, but the analysis cannot tell you what dose to take.
  • A 2022 network meta-analysis of 154 trials concluded that melatonin, ramelteon and non-licensed drugs did not show overall material benefits for insomnia disorder in adults, so the evidence is mixed.
  • In a 2023 JAMA test of 25 melatonin gummies sold in the US, 22 (88%) were inaccurately labelled, with measured melatonin between 74% and 347% of the labelled amount.
  • These are averages from limited studies, none of which tells you which product, dose or duration suits you, and none replaces advice from a doctor or pharmacist who knows your other medicines.

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]

Melatonin shortened the time to fall asleep by about 7 minutes and added about 8 minutes of sleep, a modest average effect Reported figures
0 3 5 8 10 Minutes better than placebo 7.06 Fell asleep sooner 8.25 Slept longer

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]

Only 3 of 25 melatonin gummies contained the labelled amount of melatonin, give or take 10% Reported figures
88% off the label
  • 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.

QuestionWhat the studies foundCaveat
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 measuresNot significant in the random-effects analysis
Higher dose better?Greater effects on sleep time in trials with higher dosesCompares 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.

Frequently asked questions

Does melatonin work for sleep?

A little, on average. A 2013 meta-analysis of 19 placebo-controlled trials found melatonin shortened the time to fall asleep by 7.06 minutes and increased total sleep time by 8.25 minutes. A 2022 network meta-analysis of 154 trials looking at insomnia disorder in adults found melatonin did not show overall material benefits, so how much it helps depends on the sleep problem and the analysis.

How much sleep does melatonin give you?

About 8 minutes of extra sleep on average in the 2013 meta-analysis (95% confidence interval 1.74 to 14.75 minutes). On objective measures such as actigraphy, total sleep time barely changed (0.33 minutes), while self-reported measures showed 11.93 minutes. The effect on falling asleep was larger and clearer, at 7.06 minutes sooner.

What dose of melatonin works best?

The research we could verify does not give a recommended dose. In the 2013 meta-analysis, trials using higher doses reported greater effects on total sleep time, and, at trend level, on how fast people fell asleep, but dose made no significant difference to sleep quality. That is a comparison across trials, so ask a doctor or pharmacist about a dose for you.

Are melatonin gummies accurate?

Often not, in one US test. A 2023 JAMA research letter analysed 25 melatonin gummy products and found 22 (88%) inaccurately labelled, with measured melatonin from 74% to 347% of the labelled quantity. Only 3 (12%) were within 10% of the declared amount, and one contained no detectable melatonin. The sample was small and only gummies were tested.

Is melatonin safe for children?

The sources we could verify do not establish that. The 2023 JAMA letter notes a lack of high-quality evidence for melatonin in healthy children and reports that calls to US Poison Control Centers about pediatric melatonin ingestions rose 530% from 2012 to 2021. Ask your child's doctor before giving any melatonin product.

References

  1. 1.Ferracioli-Oda E, Qawasmi A, Bloch MH ( 2013). Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS ONE. doi.org . doi:10.1371/journal.pone.0063773
  2. 2.De Crescenzo F, et al. ( 2022). Comparative effects of pharmacological interventions for the acute and long-term management of insomnia disorder in adults: a systematic review and network meta-analysis. The Lancet. doi.org . doi:10.1016/S0140-6736(22)00878-9
  3. 3.Cohen PA, Avula B, Wang Y, Katragunta K, Khan I ( 2023). Quantity of melatonin and CBD in melatonin gummies sold in the US. JAMA. doi.org . doi:10.1001/jama.2023.2296