Evidence-first health & aging science Newsletter
Live Well News Live Well News
Back to Sleep

verdict · Sleep

Melatonin: uses, evidence, dosing and safety

Melatonin shifts the body clock rather than causing sleep, which is why it works well for jet lag and badly for ordinary insomnia. In adults it cuts time-to-sleep by about five minutes.

A person asleep in bed under warm low light
Credit: Photo: Ron Lach / Pexels

Based on a meta-analysis of prolonged-release melatonin in insomnia, a meta-analysis in delayed sleep phase disorder, an 8-trial pediatric review, and a product-content analysisNCCIH consumer guidance and the NIH LiverTox record for melatonin

Summary
  • It is a timing signal, not a sedative, so it works best when the problem is the clock.
  • For ordinary adult insomnia the effect is small: about five to six minutes off sleep onset.
  • For delayed sleep phase it is much better, advancing sleep onset by around 40 minutes.
  • In children with chronic insomnia it added about 30 minutes of total sleep across 8 trials.
  • Over 71% of products missed their label by more than 10%, and 26% contained serotonin.

Melatonin is sold as a sleeping aid and it is not one. It is a timing signal, and almost everything confusing about it follows from that single fact.

Given at the right moment it will move your body clock. Given at bedtime to someone whose clock is already in the right place, it does very little, which is exactly what the trials show. And then there is a separate problem: the product frequently does not contain what the label says.

What melatonin is

Melatonin is a hormone rather than a nutrient. NCCIH puts it simply: melatonin is a hormone that your brain produces in response to darkness.

The research literature is more precise about the job: melatonin is an important neurohormone, which mediates circadian rhythms and the sleep cycle, circadian meaning the roughly 24-hour cycle the body runs on.

That distinction matters commercially. Most things in the supplement aisle are nutrients or plant extracts. This is a hormone, sold over the counter in doses far above what the body makes.

How melatonin works

The brain releases melatonin as light fades, and the rise is a message rather than a sedative effect. It tells the rest of the body that night has started, and the body then does the things it associates with night, of which falling asleep is one.

Two consequences follow, and they explain most of the evidence below.

Timing matters more than dose. A signal delivered at the wrong hour moves the clock the wrong way, which is why the same product can help one person and leave another wide awake at 3am.

And if your clock is already correct, adding the signal tells the body something it already knows. There is little left to fix.

What the evidence says about melatonin and ordinary insomnia

This is what most buyers want and it is the weakest case.

A meta-analysis of prolonged-release melatonin in insomnia disorder found it efficacious with a small to medium effect size on subjective sleep onset latency, meaning how long people said it took them to fall asleep. That came to a little over six minutes.

Measured objectively rather than by self-report it was smaller still, around five minutes, and sleep efficiency rose by under two percentage points.

Five to six minutes is a real effect. It is also not what someone lying awake at 2am is hoping to buy, and it is worth knowing before spending money on it.

One subgroup did better. For patients aged 55 and over, melatonin was efficacious on sleep efficiency with a large effect size, which fits the fact that natural melatonin production declines with age.

What the evidence says about melatonin and delayed sleep phase

Here the picture changes, because here the problem is the clock.

Delayed sleep phase disorder means the body clock runs genuinely late: sleep does not arrive until the early hours, and waking for work is a daily fight. It is a timing fault, which is what melatonin is for.

Pooling five trials in 91 adults and four trials in 226 children, melatonin treatment advanced mean endogenous melatonin onset by 1.18 hours and the clock hour of sleep onset by 0.67 hours. It also decreased sleep-onset latency by 23.27 minutes.

Then the detail that proves the mechanism. The wake-up time and total sleep time did not change significantly.

It moved the whole night earlier without adding a single minute of sleep. That is a clock being reset, not a sedative working, and the authors conclude that melatonin is effective in advancing sleep-wake rhythm and endogenous melatonin rhythm in delayed sleep phase disorder.

What the evidence says about melatonin and children

Use in children has grown fast, and the evidence is better than the adult insomnia case while the caution is greater.

Pooled trials covered eight RCTs with 419 children and adolescents with idiopathic chronic insomnia, idiopathic meaning no identified underlying cause. Melatonin led to a moderate increase in total sleep time of around 30 minutes.

Thirty minutes is more than adults get, and that is the reason for the growth in use. The pediatric reviewers note that melatonin prescriptions for children and adolescents have increased substantially during the last decade.

Three things sit against it. It is a hormone given to a developing endocrine system, and long-term follow-up does not exist. The product quality problem below applies squarely to children’s gummies. And chronic insomnia in a child usually has a cause worth finding.

Myths about melatonin, and what the evidence says

“It is a natural sleeping pill.” It is a hormone and it is not a sedative. In ordinary insomnia it takes about five minutes off sleep onset.

“More is better.” Signals do not work that way. Trials that succeed generally use small doses, and the retail market sells much larger ones.

“Take it at bedtime.” For a clock problem, bedtime is often too late. Timing relative to your own rhythm is the active ingredient.

“It is harmless because you can buy it anywhere.” Over 71% of products missed their stated content by more than 10%, and a quarter contained serotonin, which nobody chose to buy.

“It works for everyone with sleep trouble.” It works best where the fault is timing. For insomnia driven by pain, anxiety, apnea or a broken routine, it is treating the wrong thing.

Dosing and forms of melatonin

The trials that work sit roughly between 0.5 and 5 mg. Products commonly sell 10 mg, which is far above physiological levels and has no better evidence behind it.

Timing is the part most people get wrong. For shifting a late clock earlier, melatonin is generally taken several hours before the target bedtime, not at it. For jet lag the timing depends on direction of travel. Getting this wrong can push the clock the way you do not want.

Prolonged-release forms are what most of the adult insomnia evidence used, and they are a prescription product in many countries. Immediate-release gummies and tablets are a different product with a different release profile.

Safety, side effects and who should be careful

Short-term use is generally well tolerated. Headache, daytime grogginess and vivid dreams are the common complaints, and grogginess usually signals a dose that is too high or too late. On the liver specifically, despite wide scale use, melatonin has not been convincingly linked to instances of clinically apparent liver injury.

The product itself is the bigger safety story on this page. Melatonin content did not meet label within a 10% margin of the label claim in more than 71% of supplements, and lot-to-lot variability within a particular product varied by as much as 465%. That means the same bottle can behave differently between batches.

Worse, an additional 26% were found to contain serotonin, identified at levels of 1 to 75 μg. Serotonin is a controlled substance in some places and interacts with antidepressants. Nobody is buying melatonin in order to take an unlabeled second compound.

Long-term nightly use in healthy adults is untested. Anyone pregnant or breastfeeding, anyone on sedatives, anticoagulants or blood pressure medication, and any parent considering it for a child should speak to a clinician first.

Interactions

The ones that matter are sedatives, where effects add up, and anticoagulants, where bleeding risk may rise.

Because of the serotonin contamination finding, anyone taking an antidepressant that acts on serotonin has an additional reason to be careful about product choice, quite apart from melatonin itself.

Blood pressure and diabetes medications are also commonly listed, and a pharmacist can settle it in a minute.

Bottom line on melatonin

If your body clock is in the wrong place, from shift work, travel or a genuinely delayed sleep phase, melatonin is a reasonable and well-evidenced tool, and the skill is in when you take it rather than how much.

If you sleep at normal hours and simply sleep badly, expect about five minutes. That may still be worth it to you, but buy it knowing the number.

If it is for a child, that is a medical conversation.

And whatever the use, the product is the weak link. In a category where seven in ten bottles miss their own label and a quarter contain something else entirely, choosing a brand that tests its batches is not fussiness.

People also ask

Does melatonin actually help me fall asleep?

Less than most people expect. Pooling trials of prolonged-release melatonin in insomnia disorder, it shortened subjective time to fall asleep by 6.30 minutes and objectively measured time by 5.05 minutes, with sleep efficiency up 1.91%. Those are real effects and they are small. If you are expecting the effect of a sleeping pill, this is not that.

So when does it work well?

When the problem is timing rather than sleep itself. In delayed sleep phase disorder, where the body clock runs late, melatonin advanced the clock hour of sleep onset by 0.67 hours and decreased sleep-onset latency by 23.27 minutes (95% CI, 4.83 to 41.72). Notably, wake-up time and total sleep time did not change significantly. It moved the clock; it did not add sleep.

What dose should I take?

Lower than most products sell. Melatonin is a signal rather than a dose-dependent sedative, and the trials that work generally use 0.5 to 5 mg, taken a few hours before target bedtime rather than at bedtime. Products commonly sell 10 mg. More does not reliably help and taken at the wrong time it can shift the clock in the direction you do not want.

Is what is on the label actually in the bottle?

Frequently not. An analysis of retail melatonin supplements found content did not meet label within a 10% margin of the label claim in more than 71% of supplements, and lot-to-lot variability within a single product reached 465%. More seriously, an additional 26% were found to contain serotonin, a controlled substance in some jurisdictions and not something anyone is choosing to take.

Is it safe for children?

This is the part to treat carefully. Pediatric prescriptions have risen substantially, and pooled trials in children with chronic insomnia do show benefit, around 30 minutes of extra sleep across eight trials in 419 children. But melatonin is a hormone, long-term effects on development are not established, and the product quality problem above applies to the gummies marketed for children. This is a conversation with a pediatrician, not a purchase.

Can I take it every night indefinitely?

Nobody knows, and that is the honest answer. Trials run weeks to a few months. Because it is a hormone rather than a nutrient, open-ended nightly use in healthy adults sits outside the evidence. If you need it every night to sleep, the underlying problem is worth investigating rather than managing.

Does it interact with anything?

Yes. It can add to the effect of sedatives and of blood-thinning medication, and it may affect blood sugar control and blood pressure medication. Anyone on regular medication, pregnant or breastfeeding should check with a pharmacist first rather than treat it as a food supplement.

References

  1. Erland, L. A. E., Saxena, P. K. Melatonin Natural Health Products and Supplements: Presence of Serotonin and Significant Variability of Melatonin Content. Journal of Clinical Sleep Medicine, 2017.
  2. Efficacy of melatonin and ramelteon for the acute and long-term management of insomnia disorder in adults: a systematic review and meta-analysis. Journal of Sleep Research, 2023.
  3. Use of melatonin in children and adolescents with idiopathic chronic insomnia: a systematic review, meta-analysis, and clinical recommendation. EClinicalMedicine, 2023.
  4. van Geijlswijk, I. M., Korzilius, H. P. L. M., Smits, M. G. The use of exogenous melatonin in delayed sleep phase disorder: a meta-analysis. Sleep, 2010.
  5. National Center for Complementary and Integrative Health. Melatonin: What You Need To Know.
  6. LiverTox: Clinical and Research Information on Drug-Induced Liver Injury. Melatonin. National Institute of Diabetes and Digestive and Kidney Diseases.
Search