Melatonin: What It Does, Where the Evidence Is Good, and Why Gummy Labels Can't Be Trusted

Melatonin has become one of the best-selling sleep aids in the US, sold in tablets, sprays and fruit-flavoured gummies next to the vitamins. It is easy to assume it works like a gentle sleeping pill. It does not. Melatonin is a timing signal for the body clock, and the evidence for it is good in a few specific situations and thin in the one most people buy it for: ordinary, long-running insomnia. Here is what the research and the official guidance actually say, and why the dose on the label is not always the dose in the bottle.
What melatonin does in the body
Melatonin is a hormone made by the pineal gland in the brain. Its release rises in the evening as light fades, stays high through the night and falls towards morning; light at night suppresses it. In effect it tells the rest of the body that biological night has started. That is why it matters for the timing of sleep rather than its depth: it does not knock you out, it nudges the internal clock. Our guide to daylight and the body clock explains how light exposure through the day shifts the same system.
Supplements are mostly synthetic. How they are regulated depends on where you live. In the US, melatonin is a dietary supplement, which the FDA oversees far less strictly than medicines: products do not have to prove they work or contain exactly what they claim before they go on sale. In the UK and several other countries it is a prescription medicine, used for a limited set of problems and usually for short periods.
Where the evidence is reasonable
The US National Center for Complementary and Integrative Health (NCCIH) summarises the research in a fact sheet last updated in May 2024. The clearest benefits are in conditions where the body clock is out of step with the clock on the wall.
- Jet lag. Reviews from 2010 and 2014 found that melatonin may ease overall jet lag symptoms after flights eastward, the direction that is usually harder, compared with a placebo. The studies were small, and the evidence for better sleep quality was rated low.
- A delayed body clock. In delayed sleep–wake phase disorder, people cannot fall asleep until very late and struggle to wake. A 2018 trial in 307 people found that melatonin taken one hour before the desired bedtime, combined with a fixed bedtime, helped them fall asleep about 34 minutes earlier, with better sleep and daytime functioning. The American Academy of Sleep Medicine (AASM) gave timed melatonin a weak recommendation for this condition in 2015.
- Anxiety before surgery. A 2015 review of 12 studies found that melatonin reduced anxiety before an operation better than a placebo.
Notice what these have in common: the dose is timed to move the clock. Taken at the wrong time of day, melatonin can shift it in the wrong direction.
Where it barely helps: chronic insomnia and shift work
For insomnia that has lasted a month or longer, the picture is disappointing. Both the AASM, in its 2017 guideline, and the American College of Physicians, in 2016, found the evidence too weak to recommend melatonin. The American College of Physicians instead strongly recommends cognitive behavioural therapy for insomnia (CBT-I) as the first treatment, and the NHS takes the same approach: look at sleep habits first, then see a GP if they do not help.
Shift work is another common reason people reach for melatonin. Two reviews published in 2014 found the studies small or inconclusive. One suggested about 24 minutes of extra daytime sleep, on low-quality evidence; the other made no recommendation at all. Light management, a dark and quiet bedroom and careful use of caffeine, covered in caffeine and sleep, are better-supported starting points.
| Situation | What the evidence suggests |
|---|---|
| Jet lag after eastward flights | May help overall symptoms; small studies |
| Delayed body clock (night owls who cannot fall asleep) | Helps when timed before the target bedtime |
| Chronic insomnia in adults | Not recommended by US sleep and physician guidelines; CBT-I comes first |
| Shift work | Small or inconclusive results |
| Older adults with dementia | The AASM recommends against it |
The label problem
If you buy melatonin as a supplement, the amount on the label is an estimate at best. In a study published in JAMA in 2023, researchers tested 25 melatonin gummy products sold in the US. Twenty-two were mislabelled. One contained no detectable melatonin at all. The others held between 74% and 347% of the labelled amount, and most contained 1.2 to 1.7 times what the label said. An earlier study, from 2017, tested 31 supplements bought in shops and pharmacies: most did not match their labels, and about a quarter contained serotonin, a related substance that was not declared.
The practical consequences are simple. A product's stated strength tells you less than you might think, switching brands can change the real dose, and buying the highest strength on the shelf makes little sense when even a low-dose product may contain more than it says. In countries where melatonin is a medicine, a pharmacy-dispensed product avoids most of this uncertainty. Our guide to reading supplement labels explains what independent quality marks can and cannot tell you.
Safety: short term, children and older adults
- Adults, short term. Short-term use appears safe for most people. The side effects reported in studies are usually mild: headache, dizziness, nausea and sleepiness. Long-term safety, especially at doses well above what the body makes, has not been well studied.
- Interactions. NCCIH advises medical supervision for people with epilepsy and people taking blood thinners. Anyone on regular medicines should ask a pharmacist first.
- Pregnancy and breastfeeding. There is little research, so talk to a doctor or midwife before using it.
- Older adults. Melatonin may stay active longer and cause daytime drowsiness. The AASM recommends against it for people with dementia.
- Children. Short studies show some benefit for falling asleep in specific conditions, but the right dose, timing and long-term effects are uncertain. Ask a doctor before giving melatonin to a child, and store gummies like medicine: US poison centre reports of melatonin ingestion in children and teenagers rose sharply between 2012 and 2021, most of them accidental swallowing by children aged five and under.
Before you try it
If you sleep badly, start with the basics that have the best evidence: a regular wake time, bright light in the morning, dimmer light in the evening, no caffeine late in the day and enough time in bed. How much sleep adults need sets out the targets. If you are planning a long eastward flight, or your clock seems stuck several hours late, melatonin is a reasonable thing to discuss with a pharmacist or doctor, who can advise on timing. For insomnia that has lasted weeks, the evidence points to CBT-I rather than a supplement.
In short
- Melatonin is a body-clock signal, not a sedative; it works best when timed to shift the clock.
- The evidence is reasonable for jet lag and a delayed sleep phase, and weak for chronic insomnia and shift work.
- US guidelines do not recommend it for chronic insomnia; CBT-I is the first-line treatment.
- Testing in 2023 found most US gummies mislabelled, from none at all to about 3.5 times the stated dose.
- Ask a professional first for children, in pregnancy, with epilepsy or blood thinners, and in older age.
This page is general information, not medical advice. If poor sleep is affecting your daytime life, or you snore loudly or stop breathing at night, see a GP or doctor rather than self-treating.
Sources
- National Center for Complementary and Integrative Health, Melatonin: What You Need To Know, last updated May 2024 (summaries of the reviews, trials and guidelines cited above).
- Cohen PA, Avula B, Wang YH, Katragunta K, Khan I. Quantity of melatonin and CBD in melatonin gummies sold in the US. JAMA 2023;329(16):1401–1402.
- Lelak KA, Vohra V, Neuman MI, Toce MS, Sethuraman U. "Pediatric melatonin ingestions — United States, 2012–2021". MMWR 2022;71(22):725–729.
SleepDaylight and your body clock
Bright days, dim evenings, dark nights: lighting a home for the circadian rhythm.
SleepHow much sleep adults need
Not one magic number but a range: what sleep societies, the CDC and the NHS recommend.
SleepCaffeine and sleep: how late is too late?
Trials show caffeine can cut sleep even when taken six hours before bed. What that means for your last coffee.