Quick answer
Melatonin is a hormone with a moderate grade for falling asleep, about 4 to 7 minutes sooner in pooled trials of 0.1 to 5 mg. Magnesium is a mineral with an early grade: one 4-week trial of 250 mg of magnesium as bisglycinate lowered a sleep-problem score slightly.1,2,3
Key facts
- Pooled trials found melatonin shortened the time to fall asleep by about 4 minutes in one analysis and 7 minutes in another.1,2
- The magnesium bisglycinate sleep evidence is one 4-week trial of 155 adults who slept poorly, with a small effect on one questionnaire and no difference on other measures.3
- Three older trials of magnesium oxide or citrate at 320 to 729 mg a day suggested falling asleep about 17 minutes sooner, but the evidence was rated low to very low quality.4
- Melatonin acts as a timing signal and peaks in the blood about 50 minutes after a dose, while magnesium blood levels rise gradually and level off after about 20 weeks of daily use.5,6
- Melatonin has no upper limit set, while the upper limit for magnesium from supplements and medicines is 350 mg a day for adults.7,8
The evidence for sleep, graded
Helps you fall asleep a little sooner on nights of occasional sleeplessness*1,2,9
Moderate evidence
Pooled placebo-controlled trials show melatonin shortens the time it takes to fall asleep by about 4 minutes (17 studies, 284 people) to 7 minutes (19 studies, 1,683 people, doses of 0.1 to 5 mg). The effect is consistent but small, most trials were short, many enrolled people with diagnosed sleep problems, and the largest 2 mg trials used a slow-release tablet.
Amount studied: 0.1 to 5 mg, almost always taken in the evening
May modestly improve self-rated sleep in adults who sleep poorly*3,4
Early evidence
One randomized, placebo-controlled trial tested this form: 155 adults who slept poorly took magnesium bisglycinate (250 mg of magnesium a day) or placebo for four weeks. Scores on a sleep-problem questionnaire fell a little more with magnesium (3.9 points against 2.3), a small effect, and other measures did not differ. It is a single short trial that relied on self-report. Older trials used other forms at higher doses in older adults and were rated low quality.
Amount studied: 250 mg a day as bisglycinate, 30 to 60 minutes before bed, for four weeks
Set side by side, the gap in grade reflects the size and number of studies. Melatonin has two pooled analyses, of 17 and 19 placebo-controlled trials, although many enrolled people with diagnosed sleep problems. Magnesium has one trial of this form in adults who simply reported poor sleep, plus three older trials in older adults using other forms.2,3,4
Timing versus status
The two work on different principles, and that changes how each is studied. Melatonin is a signal. A dose in the evening adds to the body's own message that night has arrived, so the clock time of the dose matters as much as the amount. Blood levels peak about 50 minutes after an ordinary tablet and half is cleared in about 45 minutes.5,7
Magnesium is a nutrient. Its effect, where there is one, depends on whether the body has enough, so studies run for weeks rather than hours. In a pooled analysis of 48 trials, blood magnesium rose with the daily amount until about 300 mg and leveled off after about 20 weeks of use. And 48% of Americans take in less magnesium from food and drink than the estimated average requirement.6,10
So a person comparing them is comparing a timing signal with a nutrient studied over weeks. The studies were not designed to decide between the two.
Side by side
| Melatonin | Magnesium | |
|---|---|---|
| What it is | A hormone the brain makes in response to darkness | A mineral that is a helper for more than 300 enzyme systems |
| Grade for sleep | Moderate | Early |
| Amount in trials | 0.1 to 5 mg a day | 250 mg of magnesium as bisglycinate; 320 to 729 mg in older trials of other forms |
| Study length | Mostly short; longer trials showed larger effects | Four weeks for bisglycinate |
| Forms | Mostly synthetic; tablets, capsules, liquids and gummies | Bisglycinate, oxide, citrate and others; amount matters more than the salt |
| Upper limit | None set | 350 mg a day from supplements and medicines, adults |
Forms and labels
In a 2017 study of 31 melatonin supplements, the amount in most products did not match the label, and 26 percent of them contained serotonin.7,12
Magnesium bisglycinate is mostly glycine by weight: in the sleep trial, each 893 mg capsule supplied 125 mg of magnesium.3
The Supplement Facts panel lists the amount of magnesium itself, not the weight of the whole compound, so that is the figure to compare between forms.10
These three facts matter for comparison shopping. A melatonin product may not hold what its label says, and a magnesium product's front label may name a compound while the Supplement Facts panel gives the smaller amount of magnesium itself.10,12
Who might lean toward which
- A person who wants the option with more trials behind it should note that melatonin has the better-graded evidence, but its effect is a few minutes and its trials were mostly short.1,2
- Older adults should know that melatonin may stay active longer than in younger people and cause daytime drowsiness, and that men older than 70 are among those most likely to get too little magnesium.7,8
- Someone whose diet is low in legumes, nuts, seeds, whole grains and green vegetables is more likely to fall short of magnesium.8,10
Safety differences
A CDC report estimated about 11,000 emergency department visits from 2019 to 2022 for children aged 5 and under who swallowed melatonin without supervision. Many of the cases involved flavored products such as gummies.7
No upper limit has been set for melatonin. NCCIH says there is not yet enough information on side effects, especially at doses higher than the body makes, for a clear picture of its overall safety, and information on long-term use is lacking.7
High intakes of magnesium from supplements and medicines can cause diarrhea, nausea and abdominal cramping.8
The risk of magnesium toxicity rises when the kidneys work poorly or have failed, because they cannot remove the excess.10
What is in our products
What’s in ours
- Sleep: Melatonin, 2 mg per serving, from the label
What’s in ours
- Magnesium Glycinate: Magnesium, 275 mg per serving, from the label
- Men's Multi: Magnesium, 50 mg per serving, from the label
- Creatine + Electrolytes: Magnesium, 60 mg per serving, from the label
Questions people ask
Is melatonin or magnesium better for sleep?
On the evidence in our files, melatonin's claim is graded moderate and magnesium's early. That compares the strength of the evidence, not which suits a person. The melatonin trials timed how long it took to fall asleep, while the magnesium trial used a questionnaire.2,3
Does magnesium glycinate make you sleepy the way melatonin can?
Melatonin can cause sleepiness, and in older people it may stay active longer. The magnesium sources we read list no sleepiness effect, and side effects in the bisglycinate trial were no more common than with placebo.3,7
See what we make
Every product shows its whole label and what its lab report covers. The store opens soon.
Sources
- Brzezinski A, Vangel MG, Wurtman RJ, et al. Effects of exogenous melatonin on sleep: a meta-analysis. Sleep Med Rev. 2005;9(1):41-50. Opened 2026-10-01.
- Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One. 2013;8(5):e63773. Opened 2026-10-01.
- Schuster J, Cycelskij I, Lopresti A, Hahn A. Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. Nat Sci Sleep. 2025;17:2027-2040. Opened 2026-10-01.
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complement Med Ther. 2021;21(1):125. Opened 2026-10-01.
- Harpsøe NG, Andersen LP, Gögenur I, Rosenberg J. Clinical pharmacokinetics of melatonin: a systematic review. Eur J Clin Pharmacol. 2015;71(8):901-909. Opened 2026-10-07.
- Zhang X, Del Gobbo LC, Hruby A, et al. The Circulating Concentration and 24-h Urine Excretion of Magnesium Dose- and Time-Dependently Respond to Oral Magnesium Supplementation in a Meta-Analysis of Randomized Controlled Trials. J Nutr. 2016;146(3):595-602. Opened 2026-10-07.
- National Center for Complementary and Integrative Health. Melatonin: What You Need To Know. Bethesda (MD): National Institutes of Health. Last updated May 2024. Opened 2026-10-07.
- Office of Dietary Supplements, National Institutes of Health. Magnesium: Fact Sheet for Consumers. Updated March 22, 2021. Opened 2026-10-06.
- European Commission. Commission Regulation (EU) No 432/2012 of 16 May 2012 establishing a list of permitted health claims made on foods. Official Journal of the European Union. 2012;L 136:1-40. Opened 2026-10-01.
- National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. Updated January 6, 2026. Opened 2026-10-06.
- Schuchardt JP, Hahn A. Intestinal Absorption and Factors Influencing Bioavailability of Magnesium: An Update. Curr Nutr Food Sci. 2017;13(4):260-278. Opened 2026-10-07.
- Erland LAE, Saxena PK. Melatonin natural health products and supplements: presence of serotonin and significant variability of melatonin content. J Clin Sleep Med. 2017;13(2):275-281. Opened 2026-10-01.
- Andersen LP, Gögenur I, Rosenberg J, Reiter RJ. The Safety of Melatonin in Humans. Clin Drug Investig. 2016;36(3):169-175. Opened 2026-10-07.
*These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.
This page is information, not medical advice. Talk to your doctor or pharmacist about your own situation.