Magnesium Citrate for Headaches: Benefits and Risks

Magnesium citrate has reasonable evidence behind it for preventing migraines and recurring headaches. The American Academy of Neurology gives magnesium a Level B recommendation for migraine prevention, and clinical guidelines from the Canadian Headache Society suggest 600 mg of elemental magnesium daily, specifically as magnesium citrate. It won’t stop a headache that’s already happening, but taken consistently over weeks, it can reduce how often migraines occur.

How Magnesium Helps Prevent Headaches

Magnesium plays a central role in controlling how excitable your nerve cells are. One of its key jobs is blocking a receptor on brain cells called the NMDA receptor, which controls how much calcium floods into the cell. When magnesium levels are low, that gate stays open too wide, allowing excessive calcium in and triggering a chain of overexcitation. This leads to a surge of the brain chemical glutamate, creating a kind of electrical storm in the brain.

That storm, called cortical spreading depression, is the wave of abnormal brain activity thought to underlie migraine attacks, especially those with aura. Low magnesium essentially lowers the threshold for this wave to fire. Beyond nerve signaling, magnesium also helps maintain blood vessel tone and supports energy production in brain cells. Disruptions in either of those processes can contribute to migraine as well.

What the Clinical Trials Show

The strongest trial evidence for magnesium citrate specifically comes from a placebo-controlled study of 81 migraine patients who took 600 mg of magnesium citrate once daily. The magnesium group saw a 41.6% reduction in migraine frequency, compared to just 15.8% in the placebo group. That’s a meaningful difference, roughly cutting attacks nearly in half for the average person.

Across the broader research, results are mixed but lean positive. Of two high-quality trials, one showed a significant reduction in migraine attacks versus placebo. Among three lower-quality trials, two showed significant improvement. The evidence isn’t as airtight as it is for some prescription preventives, but it’s solid enough that major neurology organizations include magnesium in their treatment guidelines.

Dosage and How Long It Takes to Work

Most clinical trials used 600 mg of elemental magnesium per day, taken as magnesium citrate. Some people start at 400 mg daily and increase from there. Doses up to 1,000 mg have been used in patients with clear signs of magnesium deficiency, though digestive side effects often become a problem at higher amounts.

This is not a quick fix. The trials that showed benefit ran for several months, and you should expect to take magnesium consistently for at least 8 to 12 weeks before judging whether it’s working. Migraine frequency tends to decrease gradually rather than dropping off suddenly. If you’re tracking your headache days per month, that’s the clearest way to see whether the supplement is making a difference over time.

One practical note: magnesium citrate contains only about 15.5% elemental magnesium by weight. That means a capsule labeled “500 mg magnesium citrate” may only deliver around 75 mg of actual magnesium. Check the label for the elemental magnesium amount, not just the total weight of the compound. You need 400 to 600 mg of elemental magnesium daily to match what was used in the research.

How Citrate Compares to Other Forms

Magnesium comes in many supplement forms, and no head-to-head trial has compared them specifically for migraine. That said, the forms differ meaningfully in how well your body absorbs them and how they affect your gut.

Magnesium oxide is the most concentrated form (about 60% elemental magnesium by weight), so you need fewer pills. But it’s poorly absorbed and more likely to cause diarrhea. Magnesium hydroxide has similar absorption issues. Magnesium glycinate is generally the best tolerated, with good absorption and the fewest digestive complaints. Magnesium citrate falls in the middle: better absorbed than oxide, but still capable of loosening stools at higher doses.

Citrate has the most direct clinical trial support for migraine prevention, since that’s the form used in the key studies. If you tolerate it well, it’s a reasonable first choice. If digestive side effects become a problem, switching to glycinate is a common alternative.

Side Effects to Expect

Magnesium citrate pulls water into the intestines. That’s actually why it’s sold separately as a laxative. At the doses used for headache prevention (400 to 600 mg daily), the laxative effect is milder but still noticeable for many people. The most common side effects are diarrhea, stomach cramps, nausea, and occasionally vomiting.

Starting at a lower dose and increasing gradually over a week or two can help your body adjust. Splitting the daily dose into two or three smaller amounts, rather than taking it all at once, also tends to reduce gut symptoms. Taking it with food helps as well.

Who Should Be Cautious

Your kidneys are responsible for clearing excess magnesium from your body. If your kidney function is reduced, magnesium can build up in the blood and reach dangerous levels. Hypermagnesemia, as this is called, is rare in people with healthy kidneys but is a real risk for people with chronic kidney disease, particularly older adults. The combination of impaired kidneys and regular magnesium intake (whether from supplements, laxatives, or antacids) is the most common scenario for magnesium toxicity.

People taking certain blood pressure medications, muscle relaxants, or antibiotics should also check for interactions, since magnesium can amplify or interfere with how those drugs work. If you have any degree of kidney impairment, getting your blood magnesium level checked before starting supplementation is a straightforward precaution.

Signs You Might Benefit Most

Certain symptoms suggest your magnesium levels may already be low, which makes supplementation more likely to help. These include cold hands and feet, frequent leg or foot cramps, premenstrual syndrome, and of course, recurring migraines themselves. People who get menstrual migraines may be especially good candidates, since magnesium levels tend to drop in the second half of the menstrual cycle.

Standard blood tests for magnesium aren’t particularly useful, because most of the body’s magnesium is stored inside cells and bones rather than circulating in the blood. You can have a normal blood reading and still be functionally deficient. Many clinicians recommend simply trying supplementation for a few months and tracking the results, rather than relying on lab work to make the decision.