Magnesium glycinate vs Melatonin
Which is better for sleep?
Short answer
For sleep, melatonin has the better evidence: it is rated Moderate against Limited, shortening the time to fall asleep by about 7 minutes across 19 trials, and you can judge it within about a week.
The magnesium case here is for the glycinate form, which rests on one four-week trial with a small drop in insomnia scores. Glycinate's appeal is its milder caution list (loose stools at higher doses), while melatonin's long-term safety is unknown and it needs care with blood thinners.

One 4-week trial: insomnia scores fell 3.9 points on 250 mg against 2.3 on placebo, a small effect

19 trials: about 7 minutes faster to fall asleep and 8 minutes more sleep; judge it within a week
Side by side
| Attribute | Magnesium glycinate | Melatonin |
|---|---|---|
| Evidence for sleep | Limited (poor sleep / insomnia symptoms) | Moderate (falling asleep (adults)) |
| Best for | Poor sleep | Jet lag |
| How fast | 4+ weeks | Same night |
| Typical form | Bisglycinate, 250 mg elemental Mg | Oral tablet or capsule, 0.5–5 mg |
| Main caution | Loose stools above about 250–350 mg supplemental Mg | Long-term safety unknown; overdose risk in children |
| Safe in pregnancy? | Ask a clinician about dose first | Safety research is lacking |
| How long to judge it | About 4 weeks, as in the one glycinate trial | About a week; stop if there is no clear gain |
| Daily upper limit | EU 250 mg, US 350 mg supplemental magnesium | None given; long-term safety not established |
Which should you pick?
Choose Magnesium glycinate if
- you take warfarin or another blood thinner (melatonin's entry says to ask first; glycinate's records no interaction)
- you would rather avoid a hormone whose long-term safety is unknown and can give it about 4 weeks
- you have healthy kidneys and will keep supplemental magnesium within about 250 to 350 mg a day
Choose Melatonin if
- your main problem is taking a long time to fall asleep and you want to judge it within about a week
- jet lag is part of the problem, where melatonin is also rated Moderate
- you are an adult, not pregnant or breastfeeding, without epilepsy and not on a blood thinner
Questions people ask
Can I take magnesium glycinate and melatonin together?
Neither entry tests the two together or names the other as an interaction: glycinate's entry records no interactions and melatonin's lists only blood thinners. Whether they are safe or more effective combined is unknown, not cleared, and glycinate's entry advises checking with a pharmacist if you take regular medicines.
Is magnesium or melatonin better for sleep?
Melatonin, on the evidence: it is rated Moderate, and across 19 placebo-controlled trials it shortened the time to fall asleep by about 7 minutes and added about 8 minutes of sleep.
Magnesium glycinate is rated Limited: in its one trial, 153 adults with poor sleep saw insomnia scores fall by 3.9 points on 250 mg against 2.3 on placebo after four weeks. Neither effect is large, and NCCIH says melatonin's evidence is not strong enough for chronic insomnia.
Does the form of magnesium matter for sleep?
It may, but nobody has compared forms head to head. Glycinate has one positive placebo-controlled sleep trial, and it was small and used self-reported outcomes. Reviews of other magnesium forms for sleep in older adults rate the evidence low to very low.
Which works faster?
Melatonin. Its effect on falling asleep can be judged over about a week. The glycinate trial measured sleep after four weeks of daily use, so give it about that long; if nothing has changed, it is unlikely to help you.
Sources (6)
- Randomised controlled trial Schuster J, Cycelskij I, Lopresti AL, Hahn A. Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. Nature and Science of Sleep. 2025.
- Systematic review and meta-analysis Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complementary Medicine and Therapies. 2021.
- Regulator opinion Scientific Committee on Food, European Commission. Opinion of the Scientific Committee on Food on the Tolerable Upper Intake Level of Magnesium. 2001.
- Meta-analysis Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One. 2013.
- Systematic review Herxheimer A, Petrie KJ. Melatonin for the prevention and treatment of jet lag. Cochrane Database of Systematic Reviews. 2002.
- Regulator guidance NCCIH. Melatonin: What You Need To Know. National Center for Complementary and Integrative Health, reviewed May 2024.
Reader notes
Experiences and questions from readers, read by an editor before they appear. They are personal accounts, not evidence, and are not medical advice.