For most adults, the melatonin doses studied for sleep fall between 0.5 and 5 mg, and more is not better. Timing matters more than strength: melatonin is a signal that tells your body clock it is nighttime, not a sedative, so it works best for problems of sleep timing such as jet lag or a delayed body clock, and only modestly for ordinary insomnia.
Key takeaways
- Jet lag trials found 0.5 to 5 mg similarly effective, with no added benefit above 5 mg, so a low dose is a reasonable starting point for adults.
- The American Academy of Sleep Medicine (AASM) advises clinicians against melatonin for chronic insomnia in adults, while supporting strategically timed melatonin for delayed sleep-wake phase disorder.
- Across 19 placebo-controlled trials, melatonin shortened time to fall asleep by about seven minutes on average. That is real but small.
- Independent testing has found melatonin products ranging from 83% below to 478% above the labeled amount, a strong argument for a third-party verified product.
- Children should only use melatonin with pediatric guidance; unsupervised ingestions sent an estimated 10,930 young children to U.S. emergency departments between 2019 and 2022.
What melatonin does, and why timing matters more than dose
Melatonin is a hormone your pineal gland releases in the evening as light fades, telling the rest of your body that the biological night has begun. A supplement adds to that signal, which is why it can nudge your sleep schedule earlier or help you adjust to a new time zone. It does not work like a prescription sleep medication. The National Center for Complementary and Integrative Health (NCCIH) notes that melatonin is sold in the United States as a dietary supplement, while several other countries require a prescription for it.
That distinction explains most of the confusion about dosing. Swallowing a large dose at midnight after an hour of lying awake asks melatonin to do a job it is not suited to; a small dose at a consistent point in the evening is how the research used it. For other sleep and stress supplements, see our Sleep & Stress Support category.
How much melatonin should you take?
There is no official recommended dose for melatonin in the United States, because it is regulated as a supplement rather than a drug. What we have instead is the range used in clinical trials, and it is lower than many store shelves suggest.
What the trials used
A Cochrane review of melatonin for jet lag, summarized by the American Academy of Family Physicians, found that daily doses from 0.5 to 5 mg were similarly effective and that doses above 5 mg showed no added benefit. Travelers did fall asleep faster on 5 mg than on 0.5 mg, so the upper end of the range has a slight edge for sleep onset, but going higher does not help.
Johns Hopkins Medicine gives a simpler rule for everyday use: 1 to 3 mg, taken two hours before bedtime, with the reminder that “less is more.” Products labeled 10 mg or more are common, but nothing in the trial evidence suggests they outperform the low-milligram range, and higher doses are more likely to leave you groggy the next morning.
A practical starting approach
- Begin at the low end, 0.5 to 1 mg, for a few nights.
- If that does nothing, step up gradually toward 3 mg. Most adults have no reason to exceed 5 mg.
- Keep the dose and the timing consistent. Varying both at once makes it impossible to tell what is working.
- Give it one to two weeks. Johns Hopkins suggests stopping if it has not helped by then, and if it has helped, using it for one to two months before pausing to see whether your sleep holds on its own.
Those steps are editorial guidance drawn from the sources above, not a prescription. If you take medications or have a health condition, read the interactions section first.

When to take melatonin: timing by situation
The right time depends on what you are trying to fix. The evidence is strongest for problems of timing and weakest for ordinary trouble falling or staying asleep.
General trouble falling asleep
Take it one to two hours before your intended bedtime, not at the moment you want to be asleep. Johns Hopkins recommends the two-hour mark, which lines up with when your own melatonin normally starts rising. Taking it at lights-out and expecting to be asleep in ten minutes is the most common mistake.
A body clock that runs late (delayed sleep-wake phase disorder)
This is the scenario where melatonin has the best evidence. NCCIH describes a 2018 randomized trial of 307 people in which melatonin taken one hour before the desired bedtime, combined with a fixed bedtime, helped participants fall asleep about 34 minutes earlier over four weeks, with better daytime functioning. The AASM’s 2015 circadian rhythm guideline endorses “strategically timed melatonin” for this disorder. The operative word is strategically: the dose is scheduled relative to the bedtime you want, and the schedule is held steady.
Jet lag
The Cochrane review summarized by the AAFP found melatonin reduced jet lag in nine of ten trials, with benefit clearest on flights crossing five or more time zones. Take it close to your target bedtime at the destination, roughly 10 p.m. to midnight local time. Taking it earlier in the day can make you sleepy at the wrong time and slow your adjustment. Johns Hopkins suggests starting a few days before departure.
Shift work
Here the evidence is thin. NCCIH cites a 2014 review of seven studies and 263 participants in which melatonin users slept about 24 minutes longer during the day, with low-quality evidence and no change in time to fall asleep. If you try it, take it before the sleep period you are trying to protect.
| Situation | Strength of evidence | Doses studied | Timing used in trials |
|---|---|---|---|
| Delayed sleep-wake phase (body clock runs late) | Supported by an AASM guideline; a 307-person trial found sleep onset about 34 minutes earlier | Low-milligram doses | About 1 hour before the desired bedtime, held consistent |
| Jet lag (5+ time zones) | Benefit in 9 of 10 trials in a Cochrane review | 0.5 to 5 mg, similar effect across the range | At destination bedtime, roughly 10 p.m. to midnight local |
| Chronic insomnia in adults | AASM suggests against use; meta-analysis shows about 7 minutes faster sleep onset | Varied widely | 1 to 2 hours before bed when used |
| Shift work | Low-quality evidence; about 24 minutes more daytime sleep in one review | Varied | Before the planned daytime sleep period |
| Children with sleep problems | Short-term benefit in small trials, mostly in autism and ADHD; unknowns about long-term use | Set by a pediatric clinician | Set by a pediatric clinician |
What melatonin can and can’t do for insomnia
If you simply have trouble sleeping, it helps to know how modest the expected benefit is. A 2013 meta-analysis in PLOS ONE pooled 19 randomized, placebo-controlled trials with 1,683 participants and found that melatonin shortened the time to fall asleep by about 7 minutes and lengthened total sleep by about 8 minutes compared with placebo, with a small improvement in sleep quality. The authors called the effects modest but noted they did not fade with continued use.
Clinical guidelines take a cautious view. The AASM’s 2017 guideline on drug treatment of chronic insomnia suggests that clinicians not use melatonin for sleep-onset or sleep-maintenance insomnia in adults. That recommendation is graded “weak,” which the guideline says “should not be construed as an indication of ineffectiveness”; the evidence was simply not strong enough to recommend it over doing nothing. NCCIH adds that the American College of Physicians strongly recommends cognitive behavioral therapy for insomnia (CBT-I) as the first treatment for chronic insomnia, defined as symptoms lasting a month or longer.
Choosing a product: release type and label accuracy
Immediate-release vs. extended-release
Most melatonin supplements are immediate-release, producing a quick peak that fades over a few hours; extended-release versions are marketed for staying asleep. The jet lag evidence favors the quick peak: the Cochrane review summarized by the AAFP found a 2 mg slow-release formulation relatively ineffective, and the reviewers suggested a short-lived, higher peak is what shifts the body clock. If your main problem is waking in the early hours, the evidence for extended-release is not strong enough to recommend it, and that pattern is worth discussing with a clinician.
Why the label may not match the bottle
Because melatonin is a supplement, the amount in the bottle is not independently verified unless the manufacturer opts into a testing program. The data on label accuracy are not reassuring.
- A 2017 study in the Journal of Clinical Sleep Medicine analyzed 31 melatonin supplements and found actual content ranged from 83% below to 478% above the label. Lot-to-lot variation within a single product reached 465%, and more than 71% of products missed their label claim by more than 10%. Eight products (26%) also contained serotonin, which should not be in a supplement.
- NCCIH reports a 2023 analysis of 25 melatonin gummies in which 22 were inaccurately labeled, one contained no detectable melatonin, and the rest contained 74% to 347% of the labeled amount.
The practical defense is a product with an independent verification mark. The USP Verified Mark means the manufacturer voluntarily submitted the finished product for independent testing against USP quality standards and FDA good manufacturing practices. The AASM noted in 2022 that only four melatonin products carried it, all at 3 mg or 5 mg. Our guide to third-party testing seals and what they actually verify covers USP, NSF, and other programs. Prefer plain melatonin over blends: the serotonin contamination in the 2017 study appeared mostly in products that also contained other herbs.
Melatonin for children: proceed only with a pediatric clinician
On the benefit side, NCCIH cites a 2019 review of 18 studies with 1,021 children in which melatonin outperformed placebo for falling asleep and total sleep in the short term, with the clearest effects in children with autism spectrum disorder (about 37 minutes faster sleep onset) and ADHD (about 20 minutes). The reviewers stated that the right dose and timing, the long-term effects, and whether benefits outweigh risks are unknown.
On the harm side, a 2024 CDC report estimated 10,930 emergency department visits for unsupervised melatonin ingestion by children aged five and under between 2019 and 2022. Gummies were the most common form involved, at 47.3% of visits, and melatonin is not required to come in child-resistant packaging. NCCIH also cites a 2022 analysis in which poison control reports involving people 19 and younger rose from 8,337 in 2012 to 52,563 in 2021.
The AASM’s 2022 health advisory on melatonin in children and adolescents gives four recommendations: treat melatonin like any medication and keep it out of reach; talk with a pediatric clinician first, since many childhood sleep problems respond to schedule and routine changes; let that clinician set the dose and timing; and choose a product with the USP Verified Mark.
Side effects, interactions, and who should avoid it
NCCIH’s position is that short-term melatonin use appears safe for most adults, with the most common side effects being headache, dizziness, nausea, and sleepiness. Information on long-term use is lacking. Mayo Clinic advises against driving or operating machinery within five hours of taking it because of daytime drowsiness.
Several groups need medical guidance before using melatonin:
- People taking blood thinners or anti-seizure medication. NCCIH flags both, and the Cochrane jet lag review noted case reports of possible harm in people with epilepsy and in people taking warfarin.
- People on blood pressure, diabetes, or immunosuppressant medications, or fluvoxamine. Mayo Clinic lists these interactions; fluvoxamine can raise melatonin levels, and melatonin may affect blood sugar and blood pressure control.
- Older adults with dementia. The AASM’s 2015 circadian guideline recommends against melatonin in this group, and NCCIH notes melatonin may stay active longer in older people generally.
- People who are pregnant or breastfeeding. There is little research, and Johns Hopkins advises skipping it.
- People with autoimmune conditions. Mayo Clinic advises avoiding melatonin because of its possible effects on immune activity.
If you are weighing melatonin against other sleep-related supplements such as magnesium in its various forms or ashwagandha, note that those act through different mechanisms and have their own evidence and safety profiles; stacking them does not make melatonin work better.
Bottom line
Melatonin is a useful tool for a narrow set of problems. The best-supported uses are resetting a body clock that runs late and easing jet lag across several time zones; in both cases the key is consistent timing with a modest dose. For ordinary insomnia, the average benefit is a few minutes of faster sleep onset, and sleep medicine guidelines do not recommend it as a treatment. If you decide to try it, start at 0.5 to 1 mg, take it one to two hours before bed, hold the schedule steady for a week or two, and choose a USP-verified immediate-release product so the milligrams on the label are the milligrams you get. If sleep does not improve, the next step is a conversation with a clinician rather than a bigger bottle. You can read how we research and source guides like this one in our editorial policy.
Frequently asked questions
Is 10 mg of melatonin too much?
It is more than the research supports. Trials for jet lag found 0.5 to 5 mg similarly effective with no added benefit above 5 mg, and Johns Hopkins recommends 1 to 3 mg. Higher doses mainly raise the chance of next-day grogginess and headache. If a low dose is not working, the issue is usually timing or the nature of the sleep problem, not the milligrams.
How long before bed should I take melatonin?
For general sleep onset, one to two hours before your planned bedtime. For a delayed body clock, the trial that showed the clearest benefit gave it one hour before the desired bedtime along with a fixed sleep schedule. For jet lag, take it close to bedtime at your destination, around 10 p.m. to midnight local time.
Can I take melatonin every night?
Short-term nightly use appears safe for most adults, and Johns Hopkins suggests that if it helps, one to two months of nightly use is reasonable before pausing to reassess. Long-term safety data are limited, so it is better treated as a short-term aid than a permanent habit. Chronic sleep trouble is best addressed with CBT-I and a clinician’s input.
Why doesn’t melatonin work for me?
Common reasons include taking it at lights-out instead of an hour or two earlier, using it for a problem it does not address well (such as waking at 3 a.m. or sleep apnea), or a product whose actual content differs from its label. Melatonin’s average effect on ordinary insomnia is small, roughly seven minutes of faster sleep onset, so it is also possible it is doing what it can and that is simply not enough for your situation.
Is melatonin safe for kids?
Only with a pediatric clinician’s guidance. Short-term trials show benefit for some children, especially those with autism or ADHD, but long-term effects are unknown, and accidental ingestions of flavored gummies sent an estimated 10,930 young children to emergency departments between 2019 and 2022. The AASM advises treating it like medication, storing it out of reach, and choosing a USP-verified product.
Does melatonin interact with medications?
Yes. People taking blood thinners, anti-seizure medications, immunosuppressants, blood pressure or diabetes drugs, sedatives, or fluvoxamine should check with a clinician or pharmacist first. Melatonin can add to sedation, may affect blood sugar and blood pressure, and has been linked in case reports to problems in people with epilepsy and those on warfarin.
Immediate-release or extended-release: which should I buy?
Immediate-release has the better evidence for shifting sleep timing; a 2 mg slow-release formulation was relatively ineffective in the jet lag trials. Extended-release is marketed for staying asleep, but the evidence for that use is not strong. For most people, a low-dose immediate-release product from a verified manufacturer is the sensible choice.
Sources
- Melatonin: What You Need To Know — National Center for Complementary and Integrative Health, NIH, 2024.
- Clinical Practice Guideline for the Pharmacologic Treatment of Chronic Insomnia in Adults: An American Academy of Sleep Medicine Clinical Practice Guideline — Sateia et al., Journal of Clinical Sleep Medicine, 2017.
- Clinical Practice Guideline for the Treatment of Intrinsic Circadian Rhythm Sleep-Wake Disorders: An Update for 2015 — Auger et al., Journal of Clinical Sleep Medicine, 2015.
- Meta-Analysis: Melatonin for the Treatment of Primary Sleep Disorders — Ferracioli-Oda, Qawasmi, and Bloch, PLOS ONE, 2013.
- Can Melatonin Prevent or Treat Jet Lag? — American Family Physician (summary of the Cochrane review by Herxheimer and Petrie), 2002.
- Melatonin for Sleep: Does It Work? — Johns Hopkins Medicine.
- Melatonin Natural Health Products and Supplements: Presence of Serotonin and Significant Variability of Melatonin Content — Erland and Saxena, Journal of Clinical Sleep Medicine, 2017.
- Notes from the Field: Emergency Department Visits for Unsupervised Pediatric Melatonin Ingestion — United States, 2019–2022 — Centers for Disease Control and Prevention, MMWR, 2024.
- Health Advisory: Melatonin Use in Children and Adolescents — American Academy of Sleep Medicine, 2022.
- Melatonin — Mayo Clinic.
- Dietary Supplements Verification Program — U.S. Pharmacopeia.