Magnesium oxide at 400 to 500 milligrams daily is the most widely recommended form for migraine prevention. It has the most clinical trial data behind it and is the specific form endorsed by the American Headache Society. But it’s not the only option worth considering, and the best choice for you depends on how your body tolerates it and what you’re trying to achieve.
Why Magnesium Helps With Migraines
Magnesium plays a direct role in controlling how excitable your brain cells become. When magnesium levels are low, a specific type of receptor on nerve cells (called NMDA receptors) becomes overactive, allowing too much stimulation from the brain chemical glutamate. This excess activity can trigger cortical spreading depression, a slow wave of electrical disruption across the brain’s surface that is considered a key driver of migraine with aura and may contribute to migraines without aura as well.
By keeping magnesium levels adequate, you essentially help keep those receptors in check, raising the threshold your brain needs to reach before a migraine gets started. People with migraines are more likely to have lower magnesium levels than the general population, which is one reason supplementation can make a noticeable difference.
Magnesium Oxide: The Most Studied Form
Magnesium oxide is the form used in most migraine prevention trials and the one the American Headache Society specifically recommends at 400 to 500 milligrams per day. It delivers a high concentration of elemental magnesium per pill, meaning fewer capsules to reach your target dose. A randomized controlled trial in children and adolescents found that daily magnesium oxide significantly reduced the number of headache days compared to placebo.
The trade-off is that magnesium oxide has relatively low absorption compared to organic forms. Your body doesn’t take up as much of what you swallow. For many people this still works well enough, since the high elemental content compensates for the lower absorption rate. The most common side effect is loose stools or diarrhea, which is generally mild but can be a dealbreaker for some.
Magnesium Citrate: A Well-Absorbed Alternative
Magnesium citrate is an organic salt with better absorption than oxide, and it has its own clinical evidence for migraines. In a double-blind, placebo-controlled trial, 600 milligrams of daily magnesium citrate over three months reduced both migraine frequency and severity compared to placebo. Researchers also measured changes in brain electrical activity that correlated with improvement.
Citrate is a reasonable choice if you want a form that’s easier for your gut to absorb. It still carries a risk of diarrhea and soft stools, which were reported as mild in clinical studies and didn’t cause participants to drop out. If magnesium oxide gives you digestive trouble, citrate may or may not be gentler, since both forms can pull water into the intestines.
Magnesium Glycinate: Easier on the Stomach
Magnesium glycinate is bonded to the amino acid glycine, which gives it good absorption and a reputation for being the most gentle on the digestive system. It’s less likely to cause diarrhea than oxide or citrate, making it appealing if GI side effects are your main concern.
The limitation is that glycinate has not been studied specifically for migraine prevention in controlled trials the way oxide and citrate have. Many headache specialists still recommend it based on its bioavailability and tolerability, but you’re working with less direct evidence. It also tends to be more expensive and may require more capsules to reach the same elemental magnesium dose.
Magnesium L-Threonate: Crosses Into the Brain
Magnesium L-threonate stands out because it can actually raise magnesium levels in the brain and cerebrospinal fluid, something most other forms struggle to do. Research from MIT showed that oral magnesium L-threonate increased cerebrospinal fluid magnesium by 7% to 15% within 24 days in animal studies, while other forms including chloride, citrate, glycinate, and gluconate did not achieve the same effect.
Since migraine is fundamentally a brain disorder involving neuronal excitability, a form that delivers magnesium directly to brain tissue is theoretically attractive. However, there are no published clinical trials specifically testing L-threonate for migraine prevention. It also delivers less elemental magnesium per dose than oxide, so reaching 400 to 500 milligrams of elemental magnesium with this form alone would be impractical and expensive. Some people use it alongside another form to get the best of both worlds.
Comparing the Forms at a Glance
- Magnesium oxide: Most clinical evidence for migraines, highest elemental magnesium per pill, lower absorption, more likely to cause digestive issues
- Magnesium citrate: Good absorption, direct migraine trial data at 600 mg/day, moderate digestive side effects
- Magnesium glycinate: Best tolerated, good absorption, no direct migraine trial data
- Magnesium L-threonate: Uniquely crosses the blood-brain barrier, no migraine-specific trials, lower elemental magnesium content, higher cost
Combining Magnesium With Other Supplements
Magnesium doesn’t have to work alone. A randomized, double-blind, multicenter trial tested a combination of magnesium, riboflavin (vitamin B2), and CoQ10 against placebo in migraine patients. After the treatment period, migraine days dropped from 6.2 to 4.4 per month in the supplement group versus 6.2 to 5.2 in the placebo group. While the reduction in frequency showed only a trend toward significance, the intensity of migraine pain was significantly reduced (p = 0.03), and overall migraine burden measured by a validated questionnaire improved significantly compared to placebo.
This combination is available commercially (sold as Dolovent in the U.S.) and reflects the approach many headache specialists take: stacking magnesium with riboflavin at 400 mg/day and CoQ10 to target multiple aspects of migraine biology at once. Gastrointestinal side effects were more common in the supplement group (about 13% of participants) but were mostly mild diarrhea.
How Long Before It Works
Magnesium for migraine prevention is not a quick fix. Like prescription preventive medications, it takes time to build up levels and shift your brain’s excitability threshold. Most experts recommend giving it a full three months before judging whether it’s helping. Some people notice improvement within a few weeks, but the full benefit typically takes that full 12-week window to appear. If you quit after a month because nothing has changed, you may be stopping too early.
Safety and Side Effects
The tolerable upper intake level for supplemental magnesium set by the NIH is 350 milligrams per day for adults. This applies to magnesium from supplements and medications, not from food. The migraine doses commonly used (400 to 600 mg) exceed this threshold, which is why digestive side effects like diarrhea, nausea, and cramping are common. These are typically mild and manageable, and most participants in clinical trials completed their full treatment course despite them.
Serious magnesium toxicity is rare from oral supplements at these doses. It becomes a genuine concern at extremely high intakes (above 5,000 mg/day) or in people whose kidneys cannot excrete magnesium normally. If you have chronic kidney disease, particularly advanced stages, magnesium supplementation carries a real risk of dangerous buildup in the blood because your kidneys can’t clear the excess efficiently. Symptoms of toxicity include low blood pressure, muscle weakness, difficulty breathing, and in extreme cases, cardiac arrest. For most people with healthy kidney function, the standard migraine prevention dose is well within the safe range.
Starting at a lower dose and increasing gradually over a week or two can help your gut adjust and minimize diarrhea. Taking your dose with food also helps. If one form causes too much digestive trouble, switching to glycinate or splitting your dose across the day are practical workarounds.

