Evidence Hub

Dual role of magnesium in migraine: efficacy & safety in treatment and prevention—a meta-analysis

Eugenia Isadora, Hendrawan Chandra Kusuma, Hans Aditya Prathama, Clara Ann

Acta Neurologica Indonesia, 2025

Abstract

Introduction: Magnesium deficiency has been associated with migraines, suggesting its potential as a therapeutic intervention. Objective: To assess the efficacy and safety of intravenous (IV) and oral magnesium for the treatment and prevention of migraines in adults. Material and methods: A systematic review following Preferred Reporting Items for Systematic Reviews and Meta-Analyses (PRISMA) guidelines was conducted across multiple databases for randomized controlled trials (RCT) involving adult migraine patients treated with IV magnesium (1-2g) for acute attacks or oral magnesium (≥8 weeks) for prevention. Study quality was assessed using the Cochrane Risk of Bias 2 tool, and meta-analysis was conducted with Review Manager 5.4. Result: Twelve trials were included. IV magnesium showed significant benefits for acute migraines, including better headache response (p = 0.02), reduced pain intensity (p = 0.03), and less rescue medication use (p = 0.02). Oral magnesium was as effective as sodium valproate for prevention but showed limited benefits over placebo for attack frequency (p = 0.09). Gastrointestinal side effects were more common with oral magnesium (p = 0.01). Discussion: Magnesium modulates methyl-D-aspartate (NMDA) receptors, preventing excessive calcium influx and cortical spreading depression, which are key in migraine pathophysiology. IV magnesium is effective for acute treatment with a favorable safety profile. Oral magnesium shows potential for migraine…

How strong is the evidence?

Evidence Hub reads this as a meta-analysis, done in people. Its evidence level is 1 of 5 (Highest · pooled evidence). Pooled evidence from several studies sits at the top of the evidence pyramid.

How the five levels of evidence work. The level is assigned automatically from the abstract and can be wrong, so check the paper.

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free