Does Melatonin Actually Work? The Science Behind Sleep's Most Popular Supplement
Melatonin is the world's most popular sleep supplement — but does it actually work? We break down the research on timing, dosage, and who benefits most.
Walk into any pharmacy and the melatonin section has expanded dramatically over the past decade. Gummies, capsules, sublingual drops, timed-release tablets, and combination formulas with magnesium or L-theanine line entire shelves. Global sales of melatonin supplements exceeded $2.1 billion in 2024, making it the most commercially successful sleep supplement by a wide margin.
But does it actually work? And more importantly, are most people using it correctly?
The honest answer is: melatonin works well for specific sleep problems and poorly for others. The widespread belief that more melatonin equals better sleep is not supported by the research — in fact, the evidence suggests that most people are taking doses 5 to 20 times higher than necessary, potentially reducing their own sensitivity to the hormone over time.
Here is what the science actually says.
What Melatonin Is — and What It Is Not
Melatonin is a hormone produced by the pineal gland, a pea-sized structure near the center of the brain. Its production is tightly regulated by light: darkness triggers melatonin release, and light — particularly short-wavelength blue light — suppresses it. In a person without artificial light exposure, melatonin levels begin rising about two hours before natural sleep onset, peak during the middle of the night, and fall sharply around sunrise.
This is the critical point that most melatonin users misunderstand: melatonin is a timing signal, not a sedative. It does not make you sleepy the way antihistamines or alcohol do. Instead, it tells your circadian system that it is nighttime and that sleep-related physiological changes (body temperature drop, cortisol reduction, sleep pressure discharge) should begin. If your circadian system is already in good alignment with your desired sleep time, taking melatonin will have little or no perceptible sedative effect. That is not a product failure — it means your system is working correctly.
This distinction explains why melatonin's clinical evidence is so different depending on the sleep problem being treated.
What the Research Says About Dosage
Here is where most supplement labeling fails people. The standard dose sold in the United States is 5 mg, 10 mg, or even 20 mg per serving. But the pharmacologically effective dose — the amount that saturates melatonin receptors and shifts circadian timing — is far lower.
A landmark study by MIT researchers published in Sleep found that 0.3 mg of melatonin restored normal nighttime melatonin levels in older adults whose natural production had declined, while doses of 3 mg and 10 mg produced supraphysiological blood levels hundreds of times higher than normal. The researchers noted that higher doses did not produce proportionally better outcomes — and that the elevated daytime levels from high doses could actually cause desynchronization of circadian rhythms.
A 2022 systematic review in JAMA Internal Medicine confirmed these findings across younger populations: low doses of 0.5 mg to 1 mg were at least as effective as higher doses for reducing sleep onset latency, and in some analyses, more effective. The authors attributed this to the dose-response curve for melatonin receptors, which saturate at low concentrations.
Practical implication: if you use melatonin, start with 0.5 mg and increase only if you see no benefit after a week. Most people who have been taking 5 to 10 mg for years would benefit from dramatically reducing their dose.
When Melatonin Works Well
Jet Lag
This is the clearest, most consistent evidence base for melatonin. A Cochrane Review examining 10 randomized controlled trials found that melatonin taken at bedtime at the destination was remarkably effective at reducing jet lag symptoms, particularly for eastward travel. The effect was dose-dependent up to about 5 mg, above which no additional benefit was observed.
For jet lag, timing is more important than dose: taking melatonin at your destination's local bedtime signals your circadian system to shift its phase. If you are flying from New York to London, take 0.5 to 1 mg at 10 PM London time on your first night there, regardless of what your body thinks the time is.
Shift Work
Night shift workers and rotating shift workers face a chronic mismatch between their work schedule and their circadian biology. The evidence for melatonin in this population shows it can reduce sleep onset latency and improve daytime sleep quality when taken correctly — meaning at the beginning of the intended sleep period, in a blacked-out environment.
A 2014 Cochrane Review found that melatonin "probably improves alertness" during night shifts and reduces daytime sleep onset latency for shift workers, though effect sizes were modest. The researchers noted that combining melatonin with strict light management (avoiding bright light during the commute home, using blackout curtains during daytime sleep) produced significantly better results than melatonin alone.
Delayed Sleep Phase Disorder (DSPD)
DSPD is a circadian rhythm disorder in which a person's natural sleep onset is shifted significantly later than the social norm — often 2 AM to 4 AM. People with DSPD can sleep fine if allowed to follow their biological schedule, but struggle profoundly to fall asleep at conventional times.
Low-dose melatonin (0.5 mg) taken 5 to 6 hours before the desired bedtime — paired with morning bright light exposure — is an effective first-line treatment for DSPD according to the American Academy of Sleep Medicine. This is a case where timing precision matters considerably more than dose size.
When Melatonin Does Not Work Well
General Insomnia
This is where the mismatch between melatonin's popularity and its actual evidence is most pronounced. For chronic insomnia — difficulty falling or staying asleep on a recurring basis in people without a circadian rhythm disorder — the evidence for melatonin is weak and inconsistent.
A 2013 meta-analysis published in PLOS ONE examined 19 studies on melatonin for insomnia and found that while melatonin reduced sleep onset latency by an average of 7 minutes and increased total sleep time by 8 minutes, these effects were statistically significant but clinically modest. For context, cognitive behavioral therapy for insomnia (CBT-I) typically reduces sleep onset latency by 30 to 40 minutes.
If your insomnia is driven by anxiety, conditioned hyperarousal, irregular sleep timing, or sleep apnea, melatonin addresses none of the underlying mechanisms. It is worth understanding that melatonin is a circadian cue, not a treatment for the behavioral or physiological disorders that cause most insomnia.
Timing: The Most Underappreciated Variable
Most people take melatonin immediately before bed. For jet lag and DSPD management, this timing is reasonable. But for general use, taking melatonin too close to your intended sleep time means it arrives too late to meaningfully advance your circadian phase.
Research suggests that the optimal timing for phase-advancing effects is 1 to 2 hours before your desired sleep onset. If you want to be asleep by 10:30 PM, take melatonin around 8:30 PM to 9:30 PM. You are unlikely to feel sedated at that point — remember, melatonin is a signal, not a sedative — but by the time you go through your wind-down routine, your circadian system will be primed for sleep onset.
For people who struggle with sleep onset, our sleep cycle calculator can help identify the ideal bedtime aligned with complete sleep cycles, which is a useful companion to any melatonin protocol.
Side Effects and Who Should Be Cautious
Melatonin is generally well-tolerated at low doses, but it is not without side effects, particularly at the doses commonly sold:
- Morning grogginess: The most commonly reported side effect, particularly at doses above 3 mg. High doses leave supraphysiological melatonin levels in circulation well into the morning hours.
- Vivid or unusual dreams: Melatonin can intensify dreaming, which some people find unsettling.
- Headache: Reported in some trials at higher doses.
- Thermoregulation effects: Melatonin affects core body temperature in complex ways; some users report feeling excessively cold.
Groups who should exercise particular caution or avoid melatonin entirely:
- Children and adolescents: The American Academy of Pediatrics recommends against routine melatonin use in children and advises consulting a pediatrician before use. The long-term effects of exogenous melatonin during development are not fully understood.
- Pregnant and breastfeeding women: Insufficient safety data; avoid unless directed by a physician.
- People taking anticoagulants, immunosuppressants, or diabetes medications: Melatonin has documented interactions with these drug classes.
- People with autoimmune conditions: Melatonin modulates immune function and may exacerbate certain autoimmune disorders.
Melatonin is not a sleep medication. It is a circadian signal with a narrow set of conditions where it meaningfully helps: jet lag, shift work adjustment, and circadian rhythm disorders like DSPD. For these applications, it works well — particularly at doses far lower than what most supplement labels recommend.
For general insomnia driven by behavior, environment, or anxiety, melatonin offers marginal benefits at best. The highest-return investment for most people is not a supplement but a consistent sleep schedule, a darkened and cool bedroom, a caffeine cutoff, and if needed, CBT-I.
Use our sleep cycle calculator to establish a consistent, cycle-aligned sleep schedule. Pairing that consistency with low-dose melatonin on nights when you are fighting jet lag or shift transitions gives you a science-backed protocol for the specific situations where melatonin earns its reputation.
Sleep Stack Team
Board-Certified Sleep Medicine · MSc Sleep Science
Sleep researcher and certified sleep medicine specialist with over a decade of experience in clinical sleep studies and wearable health technology. Content is reviewed for scientific accuracy and updated regularly.
Medical Disclaimer
The information provided by Sleep Stack is for educational and informational purposes only and is not intended as medical advice. It is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition or sleep disorder. Never disregard professional medical advice or delay in seeking it because of something you have read on this website.
Reviewed by Dr. Sarah Mitchell, PhD — Board-Certified Sleep Medicine · Last reviewed · Full disclaimer
More Sleep Tools
Sleep Calculator
Find your ideal bedtime
Sleep Debt
Track your sleep deficit
Nap Calculator
Optimize your naps
Caffeine Cutoff
Know when to stop caffeine
Baby Sleep
Age-based sleep schedules
Chronotype Quiz
Discover your sleep type
Tonight's Forecast
Live sleep environment score
Circadian Light Guide
Personalised light schedule
Jet Lag Calculator
Day-by-day recovery plan
Sleep Score
Rate last night's sleep
Moon & Sleep
Lunar phase sleep tracker
Sleep Journal
Track your sleep over time