The recommended dose of magnesium for migraine prevention is 400 to 600 mg per day, taken orally. The American Headache Society specifically recommends 400 to 500 mg daily of magnesium oxide, the most commonly used form for this purpose. It’s an inexpensive, over-the-counter option with a reasonable evidence base behind it.
Why Magnesium Helps With Migraines
Magnesium plays a key role in how your brain’s nerve cells communicate. One of its main jobs is acting as a gatekeeper on a specific type of receptor that responds to a brain chemical called glutamate. When magnesium levels are adequate, it keeps those receptors from firing too aggressively. When magnesium drops too low, those receptors become overactive, leading to excessive nerve cell excitation, which is one of the processes thought to trigger migraines.
People with migraines are more likely to have low magnesium levels than people without them. This is especially true for people who get migraines with aura (the visual disturbances or sensory changes that precede the headache) and for people whose migraines are linked to their menstrual cycle.
How Well It Works
A meta-analysis of randomized controlled trials found that oral magnesium significantly reduced both the frequency and intensity of migraines. The effect sizes were meaningful: the odds of experiencing fewer migraines were roughly four to five times better with magnesium than with placebo. That said, magnesium isn’t a fast fix for prevention. Most clinical trials ran for 4 to 12 weeks, with an average treatment duration of about 9 weeks. You should expect to take it consistently for at least two to three months before judging whether it’s working for you.
For acute migraine attacks, intravenous magnesium delivered in a clinical setting has shown faster results, with significant pain relief within 15 to 45 minutes. But that’s a hospital intervention, not something you’d manage at home.
Which Form of Magnesium to Choose
Magnesium oxide is the form with the most evidence behind it for migraines and is the one both the American Migraine Foundation and the American Headache Society reference in their recommendations. It’s widely available and cheap. The trade-off is that it’s more likely to cause digestive side effects than some other forms.
Magnesium citrate is sometimes used as an alternative. It tends to be better absorbed than magnesium oxide, though the migraine-specific research is thinner. Some people find it easier on the stomach at lower doses, but it can also have a laxative effect.
Magnesium glycinate is popular for general supplementation because it’s gentler on digestion, but it hasn’t been the form studied in most migraine trials. If you’re choosing it primarily for migraine prevention, know that you’re extrapolating from research done mainly on magnesium oxide.
Side Effects and Safety Limits
The most common side effect of supplemental magnesium is diarrhea, often accompanied by nausea and abdominal cramping. This is more likely with magnesium oxide, carbonate, chloride, and gluconate. Starting at a lower dose (200 mg) and gradually increasing over a week or two can help your body adjust.
Getting too much magnesium from food alone is extremely unlikely in healthy people. The concern is with supplements. Early signs of taking too much include loose stools and stomach discomfort. True magnesium toxicity is rare from oral supplements in people with normal kidney function, but the symptoms are serious: low blood pressure, nausea, facial flushing, muscle weakness, and in extreme cases, irregular heartbeat. People with kidney disease are at higher risk because their kidneys can’t clear excess magnesium efficiently.
Who Benefits Most
The American Migraine Foundation highlights several groups for whom magnesium is a particularly reasonable first option for prevention:
- People who get migraines with aura. Both oral and intravenous magnesium appear to be most effective in this group.
- People with menstrual migraines. Magnesium levels fluctuate with hormonal cycles, and supplementation can help stabilize them.
- People who are pregnant or may become pregnant. Magnesium has a better safety profile during pregnancy than most prescription migraine preventives.
- People without health insurance. At a few dollars a month, it’s one of the most affordable migraine prevention strategies available.
How to Start Taking It
Begin with 200 mg of magnesium oxide daily for the first few days to gauge how your stomach handles it. If you tolerate it well, increase to the target range of 400 to 500 mg per day. Some people split the dose into two smaller amounts taken morning and evening, which can reduce digestive issues. Take it with food for the same reason.
Give it a real trial. Most people in clinical studies took magnesium for at least 9 weeks before outcomes were measured. If you’ve been consistent for three months and notice no change in migraine frequency or severity, magnesium may not be the right preventive for you. If it does help, it’s generally safe to continue long-term as part of your routine.
Magnesium supplements don’t appear to interact with common migraine medications like triptans. However, magnesium can reduce the absorption of certain antibiotics and other medications if taken at the same time. Spacing them at least two hours apart avoids this issue.