Magnesium vs Melatonin for Sleep—What Women Are Trying More Right Now

For years, melatonin was the go-to sleep supplement, so familiar it practically became a household word.
But a quiet shift has been happening in medicine cabinets and wellness conversations everywhere, with more and more women, particularly those navigating perimenopause and menopause, reaching for magnesium instead.
The reasons behind the switch are more interesting than a simple trend, and new research from late 2025 made the timing feel almost prescient.
Why Melatonin’s Reputation Got Complicated
Melatonin has always had a specific job: helping reset the body’s sleep-wake cycle. It does that job reasonably well in the short term, particularly for jet lag and circadian disruption.
But a landmark study presented at the American Heart Association’s Scientific Sessions 2025 sent a ripple through the sleep supplement world. Reviewing five years of health records from over 130,000 adults with insomnia, researchers found that those who used melatonin for a year or more had a higher risk of heart failure diagnosis, hospitalization, and death from any cause.
The study was observational and cannot prove causation, and the supplement industry was quick to push back.
But the finding was significant enough that the American Academy of Sleep Medicine gives a “weak recommendation against” using melatonin for chronic adult insomnia, while the supplement industry’s own voluntary guidelines now include language recommending melatonin for occasional and intermittent use only, not as a nightly long-term habit.
What Makes Magnesium Different for Women
Magnesium’s growing popularity among women is not purely a reaction to melatonin concerns. There is a genuine biological case for it, especially during perimenopause and menopause.
As estrogen levels fall, the body’s ability to process magnesium declines, and magnesium levels drop alongside it. Given that the mineral is involved in over 300 chemical reactions in the body, that decline has real consequences for sleep, mood, muscle function, and bone density all at once.
Nearly two-thirds of women in menopause and perimenopause experience persistent sleeping challenges, according to clinicians specializing in women’s midlife health.
Magnesium’s role in maintaining circadian rhythms and calming the nervous system makes it a particularly logical fit for this population, addressing the root causes of sleep disruption rather than simply overriding the body’s signals.
What the Research Actually Shows
A 2025 study published in the journal Nature and Science of Sleep found that people with poor sleep quality who took magnesium glycinate reported modest improvements in insomnia symptoms, with the greatest benefit in those who started with the lowest dietary magnesium intake.
The effect size was small but real, and the deficiency-correction framing matters: magnesium supplementation tends to work best for people who are genuinely low in it, which includes roughly half of all adults.
Melatonin, by contrast, has a deeper research base overall, with a 2024 dose-response meta-analysis of 26 double-blind trials confirming its effectiveness at helping people fall asleep faster.
The difference is that melatonin works best as a short-term circadian tool, while magnesium addresses the nervous system and stress response in a way that suits chronic, ongoing sleep difficulty better.
The Form of Magnesium That Matters
Not all magnesium is the same, and for sleep specifically, form makes a significant difference. Magnesium glycinate combines magnesium with glycine, a calming amino acid that functions as an inhibitory neurotransmitter, making it particularly suited for sleep and gentler on the digestive system than other forms.
Magnesium citrate, while popular, carries a mild laxative effect that makes it less ideal as a nightly sleep supplement.
A pharmacist at Trinity Health notes that because melatonin and magnesium work through entirely different pathways, the case for combining them is genuinely reasonable for people whose sleep issues are multifaceted, though most experts recommend starting with one and assessing before layering.
Which One Belongs in Which Situation
The clearest way to think about these two supplements is by the type of sleep problem they are solving. Melatonin is best for short-term circadian disruption, travel, and occasional sleeplessness. It is not designed for nightly indefinite use, and the new research makes that case more urgently than ever.
Magnesium works better for the kind of sleep difficulty rooted in stress, muscle tension, hormonal shifts, and a nervous system that simply will not settle down at night.
For women navigating midlife sleep disruption specifically, the case for magnesium is particularly compelling. It addresses an actual documented deficiency, it works gently with the body’s existing systems, and it carries none of the emerging concerns surrounding long-term melatonin use.
The shift happening right now is less about abandoning one supplement for another and more about women finally getting more precise information about which tool actually fits the job.
RELATED ARTICLE: 5 Ingredients That Help With Better Sleep and Relaxing Nights
