Good Right Sleep.

Sleep science

Melatonin for sleep timing: evidence and safety

Melatonin helps signal biological night. Supplement use depends on the sleep problem, timing, and product; evidence for routine treatment of chronic insomnia remains limited.

Key point

Before using melatonin, clarify the purpose, timing, product, and review plan with a healthcare professional.

Sleep timing and chronic insomnia

The brain produces melatonin in response to darkness, and the hormone is involved in the timing of circadian rhythms and sleep. That role helps explain why a supplement may be considered for a timing problem such as jet lag or delayed sleep-wake phase disorder. It does not follow that every person who lies awake has too little melatonin. 1

For chronic insomnia, the evidence is not strong enough for major US guidelines to recommend melatonin as a routine treatment. CBT-I is the recommended initial approach. Before choosing a supplement, distinguish difficulty sleeping at an appropriate time from a sleep schedule that is persistently shifted later than required. Those problems can feel similar at bedtime while calling for different care. 1

A trial in delayed sleep-wake phase disorder

A 2018 randomized trial studied 116 people with delayed sleep-wake phase disorder and a confirmed delay in their melatonin rhythm relative to their desired bedtime. Participants received either 0.5 mg of fast-release melatonin or placebo one hour before that bedtime, alongside a behavioral sleep schedule, for four weeks. Sleep onset occurred about 34 minutes earlier with melatonin than with placebo. 2

This is a description of a study, not a dose recommendation for every reader. The participants were selected for a particular timing problem, both groups followed a schedule, and long-term outcomes were not tested. In a subset with follow-up hormone measurements, the groups did not differ significantly in melatonin onset timing. Earlier sleep therefore should not automatically be described as proof that the body clock was reset. 2

Measured amounts can differ from the label

A 2023 laboratory analysis examined 25 US products marketed as melatonin gummies. Twenty-two contained amounts outside a 10% margin around their labeled quantity. Among products with detectable melatonin, measured amounts ranged from 74% to 347% of the label claim; one product had no detectable melatonin. 3

The study tested one sample of each product and only gummies. It cannot tell you the contents of every current brand, batch, tablet, or capsule. The measured dose varied enough that increasing the number of gummies would not reliably produce the expected amount. Bring the exact product to a pharmacist or clinician rather than discussing melatonin as though every preparation were equivalent. 3

How the FDA regulates supplements

In the United States, dietary supplements follow a different regulatory pathway from drugs. The FDA does not approve them for safety and effectiveness before sale. Companies remain responsible for meeting applicable safety, labeling, and quality requirements, and the agency can take enforcement action. 4

For a buying decision, separate three questions: whether the stated ingredient is present, whether the product is suitable for you, and whether evidence supports using it for your particular problem. A quality claim cannot answer all three. Ask a pharmacist what independent testing establishes and what it leaves unknown. FDA advises discussing supplements with a healthcare professional, especially because they can interact with medicines and other supplements. 4

Side effects, interactions, and follow-up

Short-term use appears safe for many adults, but long-term safety is less certain. Possible effects include sleepiness, headache, dizziness, and nausea. People using blood thinners or living with epilepsy need medical supervision, and evidence in pregnancy and breastfeeding is limited. 1

This adult guide should not be used to choose a child's treatment. The AASM advises talking with a healthcare professional before giving children melatonin and keeping it out of their reach. 5

Ask the pharmacist or clinician which problem melatonin would address, why that preparation and timing are suitable, what benefit to expect, and when to review the result. Include the rest of your medicines and supplements. If a trial is appropriate, that plan makes its outcome easier to interpret than changing the dose and bedtime repeatedly without a clear target. 4

Sources & further reading

Numbered citations in the article link to the references below.

  1. NCCIH: Melatonin—What You Need To Know
  2. Sletten et al.: Melatonin with sleep-wake scheduling for delayed sleep-wake phase disorder, PLOS Medicine (2018)
  3. Cohen et al.: Quantity of melatonin and CBD in US melatonin gummies, JAMA (2023)
  4. FDA: Questions and Answers on Dietary Supplements
  5. AASM: Melatonin Use in Children and Adolescents Health Advisory

Written for adult readers. This guide offers general education and does not diagnose a condition or replace individual care. Read our editorial standards.

Found something that needs correcting? Tell us the page and the specific claim.