Melatonin vs. Magnesium: What the Evidence Shows for Sleep
Consumers weighing melatonin against magnesium are often comparing two very different interventions. Melatonin is a hormone that helps regulate the body’s circadian rhythm and signals the start of biological night, according to Şebnem Ünlüişler, genetic engineer at the London Regenerative Institute. Opel Baker, a GP at the Mayfield Clinic in the UK, points out that magnesium is essential for normal nerve and muscle function but is not a sleep hormone, so its effect on sleep is less direct.
The strongest melatonin case involves body-clock problems. Experts say it is most useful for jet lag, shift work or a delayed sleep schedule, where timing rather than relaxation is the issue. Magnesium, by contrast, may support sleep mainly when dietary intake is low, when a deficiency exists, or when muscle tension and physical relaxation are contributing to poor sleep.
The published evidence for magnesium remains mixed. A 2024 randomized controlled trial in Sleep Medicine found that 1 gram of magnesium L-threonate daily for three weeks improved sleep in 80 adults aged 35 to 55 with sleep problems, compared with placebo. A 2025 trial in Nature and Science of Sleep found that 250 milligrams of magnesium bisglycinate daily for four weeks produced modest improvements in 155 adults with insomnia. A separate 2024 review in Cureus, however, concluded the evidence was too mixed for a strong conclusion that magnesium generally improves sleep.
Both clinicians caution against treating either supplement as a universal solution. The right choice depends on why someone is not sleeping well, and persistent problems may stem from stress, sleep apnea, restless legs, medication effects or hormonal changes.
Where Each Supplement Does — and Doesn’t — Help
Where Melatonin Has the Stronger Claim
Melatonin’s role is tied directly to the body clock, which gives it a clearer rationale for sleep timing disorders. For a traveller crossing time zones, a shift worker or someone whose sleep schedule has drifted later, melatonin addresses the biological signal that night has begun. That does not make it harmless: the experts in the story warn that timing and dose matter, and that taking more does not necessarily improve sleep. Reported side effects include next-day drowsiness, headache and dizziness, and melatonin can interact with some medications.
Why Magnesium’s Sleep Evidence Is Still Mixed
Magnesium’s sleep benefit appears to be conditional rather than general. The two recent randomized trials cited in the article showed improvement only in specific groups and with specific forms: 1 gram of magnesium L-threonate daily in one trial and 250 milligrams of magnesium bisglycinate daily in the other. The 2024 Cureus review found the broader evidence too mixed to support a firm conclusion. Baker’s clinical caveat is important: if a person already gets enough magnesium through diet, adding more may not improve sleep.
The Diagnostic Gap Supplements Cannot Fill
Baker distinguishes between struggling to fall asleep and waking repeatedly during the night, noting the underlying causes can be very different. That means the more important question is not melatonin or magnesium? but what is actually disrupting sleep? The experts also caution that natural does not mean appropriate for everyone. Magnesium can cause diarrhea, nausea and abdominal cramping and should be used cautiously in people with impaired kidney function, because the kidneys clear excess magnesium.
How to Choose Based on Why You Aren’t Sleeping
If you are weighing melatonin against magnesium, match the choice to the specific sleep problem rather than picking the more familiar product.
- For jet lag, shift work or a delayed sleep schedule: melatonin is the more targeted option, but timing and dose matter; taking more is not better and may cause next-day drowsiness, headache or dizziness.
- For low dietary magnesium or muscle tension at bedtime: magnesium may help, but the trial evidence is specific — 250 mg bisglycinate daily over four weeks produced only modest insomnia improvements, while a separate trial used 1 g L-threonate daily.
- If your diet already supplies enough magnesium: extra magnesium may not improve sleep, so the first step is assessing actual intake rather than assuming deficiency.
- Do not use supplements to bypass persistent sleep problems: sleep apnea, restless legs, medication effects or hormonal changes need diagnosis, and neither supplement is a universal fix.
- For kidney impairment: discuss magnesium with a doctor before use, because the kidneys clear excess magnesium; too much can cause diarrhea, nausea and abdominal cramping.
- Use supplements as a complement, not a replacement: consistent sleep and wake times, morning daylight, regular exercise, limiting late caffeine and a wind-down routine address the behavioural baseline.
Comments 0