The migraine trigger hiding in plain sight — and the cheap mineral that may calm it
If you get migraines, you already know words can’t really capture them. It’s not “a bad headache.” It’s the throbbing that makes light feel like a weapon, the nausea, the way a whole day — sometimes two — just disappears. And the most exhausting part is the helplessness: never quite knowing when the next one will hit, or what set it off.
So here’s something worth knowing, because it’s cheap, it’s well studied, and most people who suffer have never had it properly checked: a large share of migraine sufferers are low in magnesium — a mineral your brain and nerves depend on to stay calm. This isn’t a fringe idea. It’s respected enough that major headache organizations list magnesium as a reasonable preventive option. Let’s go through what it does, who it helps most, exactly how to use it, and the honest limits — so you can decide if it’s worth a try.

Why magnesium and migraines are connected
Magnesium is one of the most important minerals in your body — it’s involved in hundreds of processes, and a great many of them happen in your nervous system [PMID: 40264314]. Think of it as a natural “calm-down” signal for overexcited nerve cells. When magnesium runs low, nerves fire too easily, blood vessels behave abnormally, and a wave of over-excitation can sweep across the brain — exactly the kind of activity researchers link to the start of a migraine.
And here’s the key fact: studies have repeatedly found that people who get migraines tend to have lower magnesium levels than people who don’t. So for many sufferers, this isn’t a vague “might help” supplement — it may be correcting a genuine shortfall that’s feeding the problem.
What the evidence actually says
This is where it gets genuinely encouraging, because the research here is stronger than for most natural remedies. A focused review of the evidence concluded there is a real, evidence-based rationale for using magnesium to help prevent migraines — not a guarantee, but a legitimate, studied option [PMID: 29131326]. Broader umbrella reviews that pool many studies across many health conditions have also flagged migraine as one of the areas where magnesium shows a meaningful signal [PMID: 30684032]. That combination — a plausible mechanism plus actual trial support — is why headache specialists take it seriously and why it’s so often recommended as a first low-risk thing to try.

Who is most likely to benefit
Be honest with yourself here, because magnesium isn’t equally useful for everyone. The people who tend to benefit most are those who actually have a magnesium shortfall or are prone to one: people under chronic stress (stress burns through magnesium), those who eat a lot of processed food and few leafy greens, nuts or whole grains, people who drink heavily, and those whose migraines come with auras (the visual disturbances) — a group some studies suggest responds particularly well. Women who get migraines clustered around their menstrual cycle are also frequently in this camp. If that sounds like you, the odds it helps are higher.
How to use it, step by step
- It’s a preventive, not a painkiller. This is the single most misunderstood point. Magnesium is taken daily to make migraines less frequent and less severe over time — it will not stop an attack that’s already started. Judge it over weeks, not by today.
- Choose a well-absorbed form. Magnesium glycinate and magnesium citrate absorb well and are gentle. Avoid magnesium oxide if you can — it’s cheap but poorly absorbed and most likely to cause loose stools.
- Start low and build up. The most common side effect is a laxative effect. Start with a lower dose and increase gradually; if your stools get loose, you’ve gone a touch too high — ease back.
- Take it consistently, ideally in the evening. Many people find it also gently supports sleep and relaxation, so nighttime is a convenient time. Consistency matters far more than timing.
- Eat the food version too. Dark leafy greens, pumpkin seeds, almonds, black beans and dark chocolate are all magnesium-rich. Food and a supplement together is a sensible combination.
- Give it a real trial. Allow 6 to 8 weeks of daily use before you decide whether it’s working. Preventives take time to build their effect.

How to know it’s working
The honest, practical way to judge any migraine preventive is to keep a simple migraine diary. Before you start, note how many migraine days you get in a typical month and how bad they are. After 6 to 8 weeks of daily magnesium, compare. A meaningful win isn’t “they vanished” — it’s fewer attacks, or attacks that are shorter or less intense, or ones that respond better to your usual treatment. Many people also notice they sleep a little better and feel less tense, which is a welcome bonus from the same pill.
The honest cautions
Talk to your doctor first if you have kidney disease — your kidneys clear excess magnesium, and if they don’t work well, magnesium can build up to dangerous levels. Magnesium can also interfere with the absorption of certain medications, including some antibiotics and thyroid medication, so space them several hours apart and check with a pharmacist. And to be clear: if your headaches are sudden, severe, unusual for you, or come with neurological symptoms, that needs medical attention, not a supplement. Magnesium is a low-risk support for ordinary migraines — not a substitute for proper diagnosis.
Where this could leave you
Realistically: not a cure, but one of the most sensible, lowest-risk, best-studied things a migraine sufferer can try — especially if you’re stressed, eat few greens, or get migraines with aura. Picture flipping back through your migraine diary in two months and seeing not a blank page, but noticeably fewer marks on it — fewer days lost, a little more of your life handed back — from a mineral that costs pennies a day. For a condition this stubborn, that’s a genuinely hopeful place to start.
Frequently Asked Questions
Can magnesium stop a migraine that’s already started?
No — that’s the most common misunderstanding. Magnesium is a daily preventive that aims to make migraines less frequent and less severe over weeks [PMID: 29131326]. It won’t abort an attack in progress; for that you need your usual acute treatment.
Which type of magnesium is best for migraines?
Well-absorbed, gentle forms like magnesium glycinate or citrate are good choices. Avoid magnesium oxide where possible — it’s poorly absorbed and most likely to cause loose stools. Start low and build up gradually.
How long until magnesium helps my migraines?
Give it a genuine trial of 6 to 8 weeks of consistent daily use, and track your migraine days in a diary before and after. Preventives build their effect slowly, so don’t judge it in the first week.
Is magnesium safe to take every day?
For most healthy people, yes, at sensible doses. The main side effect is a laxative effect if you take too much. But talk to your doctor first if you have kidney disease, and space it apart from certain antibiotics and thyroid medication, which it can interfere with.
Verified Sources
- Magnesium in Migraine Prophylaxis-Is There an Evidence-Based Rationale? A Systematic Review. — Headache, 2018 (PMID 29131326)
- Magnesium and health outcomes: an umbrella review of systematic reviews and meta-analyses of observational and intervention studies. — European Journal of Nutrition, 2019 (PMID 30684032)
- Comprehensive View of Magnesium Physiology. — Nutrients, 2025 (PMID 40264314)
Bloated, tired, foggy, or fighting cravings?
Get The Gut Reset free — a science-backed guide to go from “off” to clear, light and energized. Drop your email and we’ll send it straight to your inbox.
No spam. Unsubscribe anytime. Educational content, not medical advice.
professional before changing your diet, supplements, or treatment. These statements have not been
evaluated by the Food and Drug Administration and are not intended to diagnose, treat, cure, or prevent any disease.
