Magnesium citrate is the most widely recommended form of magnesium for headache prevention, thanks to its superior absorption compared to other forms. But the answer is more nuanced than picking one type off the shelf. The form that works best depends on how your body absorbs it, how well you tolerate it, and whether you’re dealing with occasional tension headaches or recurring migraines.
Why Magnesium Matters for Headaches
People who get migraines consistently have lower magnesium levels in their blood than people who don’t. One case-control study found that migraine patients had significantly reduced serum magnesium compared to a healthy control group, with a meaningful gap that persisted whether they were mid-attack or between episodes. Researchers have gone further, finding lower magnesium not just in blood but in saliva and cerebrospinal fluid of migraineurs, leading some to describe migraine as a “magnesium deficiency disease.”
When magnesium drops too low, several things go wrong in the brain at once. Magnesium normally acts as a gatekeeper on a receptor called NMDA, blocking calcium from flooding into nerve cells. Without enough magnesium, that gate opens too easily, making neurons more excitable and triggering a wave of electrical activity across the brain’s surface known as cortical spreading depression. This wave is one of the key events that kicks off a migraine. Low magnesium also promotes the release of pain-signaling molecules, encourages blood vessels in the brain to constrict, and makes platelets clump together more readily. All of these are recognized steps in migraine development.
Magnesium also influences serotonin, a neurotransmitter closely tied to migraine. When magnesium falls and the calcium-to-magnesium ratio rises, serotonin receptors on blood vessels in the brain become more sensitive, leading to further constriction and more serotonin release from storage sites. Supplementing with magnesium has been shown to reduce this serotonin-driven constriction.
Magnesium Citrate vs. Oxide vs. Other Forms
Not all magnesium supplements deliver the same amount of usable magnesium to your body. The differences in absorption are dramatic. Organic forms of magnesium, which include citrate, glycinate, and chelated formulas, dissolve more readily in water and can reach absorption rates around 90% in the small intestine. Inorganic forms like magnesium oxide absorb far less. Magnesium oxide has a biological availability of roughly 4%, meaning the vast majority of what you swallow passes through without being absorbed.
Magnesium citrate stands out as the most accessible and well-studied organic option. Its solubility, stability, and bioavailability make it a strong choice for both short-term and long-term supplementation. Research comparing citrate head-to-head with oxide has confirmed citrate’s superior absorption. Magnesium glycinate (an amino acid chelate) also shows better absorption than oxide and is often marketed as gentler on the stomach, though it has less direct migraine research behind it.
Here’s where things get interesting: despite its poor absorption, magnesium oxide is the form most commonly used in migraine prevention studies and the form specifically referenced in clinical guidelines. The American Headache Society and the American Academy of Neurology gave magnesium a Level B rating for migraine prevention in 2012, meaning it’s “probably effective.” The typical recommendation involves taking magnesium oxide once or twice daily. Some migraine trials have shown good clinical results with oxide despite its low bioavailability, and no head-to-head trials have definitively proven that higher-absorbing forms produce better migraine outcomes.
The practical takeaway: magnesium citrate gives you better absorption per dose, and most headache specialists favor it. But if you’ve been using magnesium oxide and it’s working for you, the clinical data supports continuing. Avoid magnesium carbonate and hydroxide, which share oxide’s poor solubility without the same track record in migraine research. Taking magnesium alongside vitamin B6 and potassium may enhance absorption regardless of the form you choose.
How Much to Take and How Long to Wait
The tolerable upper intake level for supplemental magnesium is 350 mg per day for adults, set by the NIH. This limit applies to supplements only, not magnesium from food. Most migraine prevention protocols in clinical studies used doses in the range of 400 to 600 mg daily (typically as oxide, which delivers less elemental magnesium due to low absorption), with treatment periods lasting 4 to 12 weeks. The average study duration was 9 weeks before results were measured. Don’t expect overnight relief. Give supplementation at least 8 to 12 weeks before judging whether it’s working.
One large cross-sectional study of over 3,200 women found a threshold effect for magnesium intake and migraine risk in pre-menopausal women. Below about 325 mg per day of total magnesium intake (food plus supplements), each incremental increase was associated with a 36% reduction in migraine odds. Above that threshold, the protective effect plateaued. This lines up closely with the FDA’s daily recommendation of 310 to 320 mg for adult women, suggesting that simply meeting your daily requirement may be enough to see benefits.
Magnesium and Menstrual Migraines
Migraines tied to the menstrual cycle are among the most common and difficult to treat. Pre-menopausal women have roughly double the migraine prevalence of post-menopausal women (31.3% vs. 15.6%), largely driven by hormonal fluctuations around menstruation. The protective relationship between magnesium and migraine appears strongest in this pre-menopausal group. In post-menopausal women, research has not found a significant link between magnesium intake and migraine risk, suggesting the mineral’s benefit is especially relevant when hormonal cycling is a trigger.
If you experience migraines that cluster around your period, ensuring adequate magnesium intake throughout the month, not just during menstruation, is likely more effective. The threshold data suggests aiming for at least 320 mg of total daily magnesium from all sources.
What Happens in Emergency Treatment
For severe migraine attacks, intravenous magnesium sulfate delivered in a clinical setting can produce rapid and striking results. In one randomized controlled trial, 100% of patients receiving 1 gram of IV magnesium responded to treatment. Pain disappeared completely in 87% of those patients, and every single patient experienced relief from accompanying symptoms like nausea, light sensitivity, and sound sensitivity. The placebo group, by contrast, had a 0% pain-free rate. When those placebo patients were subsequently given magnesium, 93% became pain-free.
IV magnesium has also been used in adolescents (ages 13 to 18) for acute headache treatment in emergency departments, with doses calculated by body weight. This route delivers magnesium directly into the bloodstream, bypassing the absorption limitations that make oral forms less predictable. It’s reserved for acute attacks that aren’t responding to other treatments, not something you’d use for prevention.
Side Effects to Watch For
The most common side effect of oral magnesium supplements is diarrhea, often accompanied by nausea and cramping. This is more likely with certain forms: magnesium oxide, carbonate, chloride, and gluconate are the most frequent culprits. The irony is that oxide, the most commonly recommended form for migraine prevention, is also one of the most likely to cause GI problems. If loose stools are an issue, switching to magnesium citrate or glycinate often resolves it while maintaining or improving absorption.
Staying at or below 350 mg of supplemental magnesium per day keeps most people well within the safe range. Magnesium from food carries no upper limit concern. Toxicity from oral supplements is rare in people with normal kidney function, since healthy kidneys efficiently clear excess magnesium. People with reduced kidney function should be more cautious, as impaired clearance can allow magnesium to accumulate.

