SYNTHETIC DEMONSTRATION — no real student or patient. Not a medical device.

neurology

Magnesium for Migraines: Does It Help? What the Evidence Shows

Magnesium supplementation has meaningful evidence as a migraine preventive. The American Academy of Neurology rates it as probably effective for reducing episodic migraine frequency. It works best as a consistent daily supplement taken over weeks — not as an acute remedy — and is generally well tolerated.

Talk to a clinician

Nina Osei, NPNurse Practitioner

checkups, refills & skin. Gale can match you with a licensed clinician for a visit.

Find care →

What does the evidence say about magnesium and migraines?

Magnesium is one of the few nutritional supplements with genuine evidence behind it for migraine prevention. The AAN and American Headache Society evidence-based guideline classifies magnesium as probably effective for reducing the frequency of episodic migraine in adults — the same category as some established prescription preventives 1.

Multiple randomized controlled trials have shown that daily magnesium supplementation reduces migraine days compared with placebo, though the effect size varies across studies. The benefit is not dramatic for everyone, but it is real and occurs with few serious side effects at standard doses.

Can magnesium deficiency cause migraines?

There is a consistent association between low magnesium levels and migraine. Studies have found that people with migraine — particularly during an attack — often have lower levels of magnesium in the blood and in brain tissue than people without migraine.

Magnesium plays a role in nerve transmission, serotonin signaling, and the regulation of blood vessels — all pathways relevant to migraine. Replenishing magnesium may correct a deficit that lowers the migraine threshold.

Standard blood magnesium tests are not very sensitive — levels in the blood can appear normal even when cellular magnesium is low. This means a normal serum magnesium result does not rule out a meaningful deficiency at the tissue level.

What form and dose of magnesium is used in migraine trials?

Most clinical trials of magnesium for migraine have used doses in the range of 400 to 600 mg of elemental magnesium per day. Forms studied include:

  • Magnesium oxide — inexpensive and widely available; the form used in many trials, though it has lower absorption than other forms
  • Magnesium citrate and magnesium glycinate — better absorbed and generally cause fewer digestive side effects; often preferred when magnesium oxide causes loose stools

The AAN guideline specifically mentions magnesium in the context of migraine prevention 1. Talk to a Gale clinician before starting a supplement, particularly if you have kidney disease (impaired kidneys reduce the ability to clear excess magnesium) or take certain medications.

How long does it take for magnesium to work for migraines?

Magnesium is a preventive measure, not an acute remedy. It takes consistent daily use for 4 to 12 weeks before a meaningful reduction in migraine frequency becomes apparent. This is similar to prescription preventives — results are gradual.

If you try magnesium and see no benefit after 3 months of consistent use at an adequate dose, it is worth discussing whether to continue or explore other options with your clinician.

What are the side effects of magnesium supplementation?

At typical preventive doses, magnesium is generally well tolerated. The most common side effect is loose stools or diarrhea, which is more likely with magnesium oxide than with better-absorbed forms. Starting at a lower dose and gradually increasing, or switching to magnesium glycinate or citrate, often resolves this.

High doses can cause nausea and, at very high intake, more serious effects — but this is uncommon at the doses used for migraine prevention in people with normal kidney function.

How does magnesium fit alongside other migraine preventives?

Magnesium is often used as a first-line option for people who prefer to start with a non-prescription approach, or as an add-on alongside prescription preventives. It does not interact with most migraine medications. It is particularly worth considering for people who may be at higher risk of magnesium deficiency — including those with high stress, heavy alcohol use, or diets low in leafy greens, nuts, and whole grains.

For people with frequent or severe migraines, magnesium alone may not be sufficient. A Gale clinician can review your migraine frequency and help determine whether magnesium is a reasonable starting point, or whether a prescription preventive should be considered alongside or instead 23.

Common questions

Can I take magnesium with a triptan?

Generally yes. Magnesium is a preventive taken daily, while triptans are used acutely when a migraine begins. They work through different mechanisms, and there are no significant known interactions between them. Confirm with your clinician given your full medication list.

Should I take magnesium in the morning or at night?

Either works for migraine prevention — consistency matters more than timing. Some people prefer evening dosing because magnesium has mild relaxing effects.

Is magnesium safe during pregnancy?

Magnesium is used in some form during pregnancy, but optimal dosing and form for migraine prevention specifically has not been well studied in pregnancy. Discuss with your OB or Gale clinician before starting any supplement during pregnancy.

Does IV magnesium in the emergency room help during a migraine attack?

Yes, intravenous magnesium is used as a rescue treatment for acute severe migraines in some clinical settings, particularly for people with aura or those who have not responded to other treatments. This is different from daily oral supplementation for prevention.

Talk to a clinician

Nina Osei, NPNurse Practitioner

checkups, refills & skin. Gale can match you with a licensed clinician for a visit.

Find care →

Important cautions for magnesium supplementation

  • Do not take high-dose magnesium supplements if you have significant kidney disease — impaired kidneys cannot clear excess magnesium
  • Persistent diarrhea from magnesium can cause dehydration — reduce the dose or switch forms
  • If you develop muscle weakness, confusion, or irregular heartbeat while taking magnesium, seek care promptly

This article provides general health education. Supplement decisions should be made in conversation with a clinician who knows your full health history and medications.

References

  1. 1.Silberstein SD, Holland S, Freitag F, Dodick DW, Argoff C, Ashman E (2012). Evidence-based guideline update: Pharmacologic treatment for episodic migraine prevention in adults: Report of the Quality Standards Subcommittee of the American Academy of Neurology and the American Headache Society. Neurology. doi:10.1212/WNL.0b013e3182535d20Magnesium classified as probably effective for episodic migraine prevention; evidence review of preventive treatments
  2. 2.Ailani J, Burch RC, Robbins MS; Board of Directors of the American Headache Society (2021). The American Headache Society Consensus Statement: Update on integrating new migraine treatments into clinical practice. Headache. doi:10.1111/head.14153Comprehensive framework for integrating preventive treatments including supplements like magnesium
  3. 3.Charles AC, Digre KB, Goadsby PJ, Robbins MS, Hershey A; American Headache Society (2024). Calcitonin gene-related peptide-targeting therapies are a first-line option for the prevention of migraine: An American Headache Society position statement update. Headache. doi:10.1111/head.14692Context for migraine prevention options and the role of non-prescription adjuncts alongside newer therapies

3 sources, numbered by first appearance. General health information, not medical advice — synthetic demonstration content.