Short answer: melatonin has the strongest evidence, and mainly for shifting sleep timing rather than deepening sleep. Magnesium, glycine and valerian have modest and inconsistent support. Nothing in the supplement aisle competes with fixing light exposure, caffeine timing and a consistent schedule, and most trials in this area are small and short.
Why sleep supplements are booming
Sleep moved from a health afterthought to a tracked metric, helped by wearables that give people a nightly score. Once you can measure something, you look for ways to improve the number, and the supplement industry responded. Search interest in sleep supplements has risen alongside interest in sleep tracking, and the pattern in what people search for is telling: alongside product names, the rising topics are systematic reviews, NIH and CDC pages. People want evidence, not marketing.
Melatonin
Melatonin is a hormone your pineal gland releases as darkness falls. It does not sedate you; it signals biological night. That distinction explains both what it does well and where it disappoints.
- Best evidence: circadian problems. Jet lag, shift work and delayed sleep phase syndrome, where the goal is shifting when you feel sleepy.
- Modest evidence: reducing time to fall asleep in insomnia, typically by a small number of minutes in pooled analyses.
- Weak evidence: improving sleep quality or duration in people who simply sleep badly for behavioural reasons.
The dose most people get wrong. Commercial products commonly sell 5 to 10 mg, while research supporting circadian effects generally uses 0.5 to 3 mg, and often at the lower end. More is not better here, and higher doses are associated with next-day grogginess. Timing matters more than dose: for phase shifting, melatonin is typically taken several hours before target bedtime, not at bedtime.
Product quality is also a documented problem. Analyses of commercial melatonin products have repeatedly found actual content varying substantially from the label, in both directions.
Magnesium
Magnesium is heavily marketed for sleep, and the honest position is that evidence is limited. Trials are small, often in older adults, and frequently in people with low magnesium status to begin with. Correcting a deficiency plausibly helps sleep; supplementing someone already sufficient has much weaker support.
Magnesium glycinate is the usual recommendation, partly for absorption and partly because glycine itself has separate sleep research. If your intake is genuinely low, which is common, a supplement is reasonable on general grounds and may help sleep as a secondary effect. Comparison of magnesium forms.
Glycine
A handful of small Japanese trials found 3 g of glycine before bed improved subjective sleep quality and next-day alertness, with a proposed mechanism involving lowered core body temperature. The findings are interesting and the safety profile is good. The evidence base is thin, with few independent replications.
Valerian
One of the most-studied herbal sleep aids, and one of the least conclusive. Systematic reviews consistently describe mixed results and note poor methodological quality across trials. Some people report benefit; pooled evidence does not establish a reliable effect.
L-theanine, tart cherry and others
- L-theanine. An amino acid from tea, studied for relaxation rather than sedation. Modest evidence, generally at 200 mg.
- Tart cherry. Contains small amounts of melatonin naturally. A few small trials report modest improvements in sleep time.
- Ashwagandha. Some sleep findings alongside its stress research, with the same trial-quality caveats. Full evidence review.
- CBD. Widely marketed, with inconsistent evidence for sleep specifically and considerable variation in product content.
What actually moves sleep quality
This is the uncomfortable part for a supplement article. The interventions with the strongest evidence are behavioural, and cognitive behavioural therapy for insomnia is recommended as first-line treatment for chronic insomnia by major clinical bodies, ahead of medication.
- Consistent wake time, including weekends. The single most effective circadian lever.
- Morning daylight, ideally within an hour of waking, which anchors the body clock.
- Caffeine cutoff. Caffeine has a half-life of roughly five to six hours, so an afternoon coffee is still active at bedtime.
- Alcohol. It shortens time to fall asleep and then fragments the second half of the night. It is a sleep disruptor, not an aid.
- Cool, dark room, since core temperature needs to fall for sleep onset.
- Get out of bed if you cannot sleep. Lying awake trains an association between bed and wakefulness.
When to see a doctor rather than buy a supplement
Persistent insomnia lasting months, loud snoring with daytime sleepiness, gasping or pauses in breathing reported by a partner, or sleepiness severe enough to affect driving all warrant medical assessment. Sleep apnoea in particular is common, underdiagnosed and not something any supplement addresses.
FAQ
How much melatonin should I take?
Research supporting circadian effects generally uses 0.5 to 3 mg. Higher doses common in retail products are not better supported and increase next-day grogginess.
Does magnesium help you sleep?
Evidence is limited and strongest in people with low magnesium status. Correcting a genuine shortfall is worthwhile on general grounds.
Is melatonin safe long term?
Short-term use appears well tolerated in adults. Long-term data is more limited, and use in children should involve a doctor.
What is the most effective sleep intervention?
Cognitive behavioural therapy for insomnia has the strongest evidence for chronic insomnia, ahead of both supplements and medication.
Sources
- National Institutes of Health, Office of Dietary Supplements. Melatonin: What You Need To Know and Dietary Supplements for Sleep fact sheets. ods.od.nih.gov and nccih.nih.gov
- Centers for Disease Control and Prevention. Sleep and Sleep Disorders, healthy sleep recommendations. cdc.gov
- NHS. Insomnia guidance and treatment overview. nhs.uk
- American Academy of Sleep Medicine. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults.
- Cochrane reviews on valerian and melatonin for sleep disorders.
- Erland LAE, Saxena PK. Melatonin natural health products and supplements: presence of serotonin and significant variability of melatonin content. Journal of Clinical Sleep Medicine, 2017.
General information, not medical advice. Persistent sleep problems deserve medical assessment. Melatonin interacts with some medications, including anticoagulants and immunosuppressants.
GramGoal Team. We build nutrition calculators and price-check the supplement market monthly. General information, not medical advice. See our methodology and affiliate disclosure.
