Magnesium oxide at 400 to 500 mg per day is the most studied form of magnesium for headache prevention, and it’s the form behind most of the clinical trial data showing fewer migraine days. But it’s not the only option worth considering. The best form for you depends on how your stomach handles it and whether your headaches have a strong neurological component. The American Headache Society and American Academy of Neurology gave magnesium a Level B rating for migraine prevention in 2012, meaning it’s “probably effective.”
Why Magnesium Helps With Headaches
Magnesium plays a direct role in how your brain processes pain signals. One of its key jobs is blocking a receptor on nerve cells that controls calcium flow. When magnesium levels drop too low, calcium floods into neurons unchecked, making them hyper-excitable. This triggers a cascade of excessive nerve signaling, oxidative stress, and the wave of abnormal brain activity that precedes many migraines.
People with migraines tend to have lower magnesium levels in their brains than people without them. Correcting that deficit calms the overactive nerve pathways, reduces inflammation in blood vessels, and makes the brain less likely to fire off the chain reaction that produces a migraine attack.
Magnesium Oxide: The Most Studied Option
Magnesium oxide has the strongest evidence base for headache prevention. In a randomized controlled trial of 133 migraine patients, 500 mg per day of magnesium oxide significantly reduced both the number of headache days per month and the severity of attacks after 12 weeks. Another trial found that 500 mg daily of magnesium oxide worked as well as valproate, a prescription migraine prevention drug, without the side effects that medication typically causes.
The tradeoff is that magnesium oxide is poorly absorbed compared to other forms. Your body only takes in a fraction of each dose, which is partly why the effective doses are relatively high (400 to 600 mg daily). The poor absorption also explains its most common side effect: diarrhea. In one study at 476 mg per day, 18 participants developed diarrhea and 5 dropped out because of it. If your stomach can handle it, magnesium oxide is the cheapest and best-supported choice.
Magnesium Citrate: Better Absorbed, Similar Drawbacks
Magnesium citrate is highly soluble in water, which means your gut absorbs it more efficiently than oxide. A well-known placebo-controlled trial using 600 mg of trimagnesium dicitrate daily found a 41.6% reduction in migraine frequency, compared to 15.8% in the placebo group. That’s a meaningful difference, and it’s one of the more impressive numbers in the magnesium-headache literature.
The catch is that citrate’s high solubility also pulls water into the intestines. In that same trial, 18.6% of patients reported diarrhea. A separate comparison study found that magnesium citrate caused diarrhea in 5 out of 48 participants at 450 mg per day, while magnesium oxide caused it in only 1 out of 48 at the same dose. So citrate may actually be harder on the gut than oxide for some people, despite being better absorbed. If oxide gives you trouble, citrate isn’t necessarily the fix.
Magnesium Glycinate: Easiest on the Stomach
Magnesium glycinate (also called magnesium bisglycinate) is magnesium bound to the amino acid glycine. It doesn’t have the same level of direct headache-prevention trial data as oxide or citrate, but it has a significant practical advantage: it causes far less digestive upset. One trial at 300 mg per day found no significant difference in nausea or diarrhea between the magnesium bisglycinate group and the placebo group. Across a broader review, diarrhea rates from various magnesium forms ranged from 11% to 37%, but glycinate consistently lands at the low end.
For people who need magnesium for headaches but can’t tolerate the GI effects of oxide or citrate, glycinate is the practical choice. You absorb more of each dose, so you can often take a lower amount and still raise your blood levels effectively. The logic is straightforward: a supplement you can actually take every day without discomfort will do more for your headaches than one that sits in the cabinet.
Magnesium L-Threonate: Targets the Brain
Magnesium L-threonate is a newer form developed by researchers at MIT specifically because most magnesium supplements don’t cross from the bloodstream into the brain very well. In animal studies, oral magnesium L-threonate raised magnesium concentrations in cerebrospinal fluid by 7% to 15% within 24 days. Other magnesium forms failed to budge brain levels at all.
This makes threonate theoretically appealing for migraines, since the problem is low magnesium in the brain itself. However, there are no published randomized trials testing magnesium L-threonate specifically for headache prevention. The existing human research focuses on cognitive function, not pain. It’s also significantly more expensive than other forms. If you’re drawn to it, know that you’re extrapolating from brain-penetration data rather than headache-specific evidence.
How Much to Take and How Long to Wait
Most clinical trials used between 400 and 600 mg of elemental magnesium per day. Check supplement labels carefully: a capsule labeled “500 mg magnesium glycinate” may contain far less than 500 mg of actual magnesium, because the weight includes the glycine molecule. Look for the elemental magnesium amount, which is sometimes listed separately or in the Supplement Facts panel.
Magnesium is not a quick fix. Like prescription migraine preventives, it takes time to build up and shift your headache patterns. You should expect to supplement consistently for up to three months before you can fairly judge whether it’s working. Some people notice improvement within a few weeks, but the full benefit takes longer. If you see no change after three months at an adequate dose, magnesium alone may not be the answer for your headaches.
Choosing the Right Form
Here’s a practical way to think about the options:
- Magnesium oxide if you want the form with the most clinical trial support, don’t mind a higher dose, and your digestion handles it fine.
- Magnesium citrate if you want better absorption than oxide and can tolerate the possibility of loose stools.
- Magnesium glycinate if digestive side effects are a dealbreaker, or if you’ve tried oxide or citrate and couldn’t stick with them.
- Magnesium L-threonate if you’re specifically interested in raising brain magnesium levels and are willing to pay more for a form that lacks direct headache trial data.
Interactions to Watch For
Magnesium can interfere with the absorption of certain medications. If you take bisphosphonates for bone health, antibiotics in the tetracycline or fluoroquinolone families, or thyroid medication, take your magnesium at least 30 minutes to two hours apart from those drugs. The minerals bind to the medication in your gut and prevent it from getting into your bloodstream. Spacing the doses is usually all it takes to avoid the problem.

