Short answer: magnesium has been studied for migraines, but the studies are not definitive, and Healthline’s summary of the research says more studies are needed before firm dosage recommendations can be made. So the dose question belongs with a clinician who knows your full medicine list.
This page stays with migraines and sorts out the claims you’re likely to have seen.
What the migraine research found
The oldest piece here is a 1998 review in Clinical Neuroscience, indexed in PubMed. The review says up to 50% of patients during an acute migraine attack have lowered levels of ionized magnesium, and that magnesium infusion gave rapid and sustained relief in those patients. It says two double-blind studies suggest chronic oral supplementation may reduce migraine frequency. Its authors wrote that, despite the lack of definitive studies, a trial of oral magnesium can be recommended to a majority of migraine sufferers. That is one 1998 review’s view, not a current guideline.
The newer evidence is a randomized, double-blind trial called MAGraine, published in 2021 in The American Journal of Emergency Medicine and indexed in PubMed. It compared intravenous magnesium with prochlorperazine and metoclopramide in 157 adults who came to the emergency department with migraine. Pain scores dropped by a median of three points across all three groups at 30 minutes, and there was no significant difference between the groups at that point. Reported side effects were dizziness, anxiety and akathisia. Pregnant patients and people with renal impairment were excluded.
Healthline’s consumer summary adds three points. It says a magnesium deficiency may increase the risk of migraine. It says a daily dose of 400 to 600 mg may help prevent migraine in people with a deficiency, while noting that more research is needed. And it summarizes a 2018 review of five studies as finding that a high 600-mg dose was safe and effective for migraine.
What is still unsettled
A trial registered on ClinicalTrials.gov as NCT07779486 was recruiting as of November 2026. It lists 300 planned participants with acute non-traumatic headache in the emergency department, randomized to 2 g of intravenous magnesium sulfate, 4 g of intravenous magnesium sulfate, or 1 g of intravenous paracetamol. The registration says the standalone effect, the optimal intravenous dose and the comparison with standard therapy ‘remain unclear.’ A registration describes a study; it is not a result. If you’re hunting for the right dose, this is the research still being run.
Does the form change anything?
Form is where most of the confusion starts. The table below covers what the forms differ on, not which one works for migraines.
| Form | What to know |
|---|---|
| Magnesium L-threonate | Check the elemental magnesium amount on the label, not the total weight of the ingredient. |
| Magnesium citrate | Healthline lists citrate among better-absorbed forms. |
| Magnesium oxide | Not named in the migraine studies above. See magnesium oxide for uses and side effects. |
Form matters for absorption and label strength. Sites that name one form as the best for migraines are going further than these studies do.
Should you take it at night?
Nothing in the studies above names a best time of day for migraines, so timing is a question to bring to your clinician along with your full list.
How much is too much? Reading doses and labels
The dose numbers you’ll see fall into three groups, and they aren’t interchangeable. Study doses are what researchers tested. Healthline’s summary of the research cites 400 to 600 mg a day for migraine prevention in people with a deficiency, and a high 600-mg dose. The emergency trial uses 2 g and 4 g intravenously in a hospital setting. Supplement limits are the third group: Healthline puts the tolerable upper limit for supplemental magnesium at 350 mg per day.
Read the Supplement Facts panel before you compare anything, and check the elemental magnesium amount rather than the total weight of the ingredient.
Can low magnesium cause headaches?
Healthline says a magnesium deficiency may increase the risk of migraine, and the 1998 review reports lowered ionized magnesium during attacks in up to half of patients. Both are associations, and neither proves that low magnesium causes a particular headache. Healthline estimates that 9% to 17% of adults have a magnesium deficiency.
If alcohol is part of your picture, see magnesium and alcohol for deficiency symptoms and timing.
Should you take magnesium if you get migraines?
Healthline says experts currently don’t recommend magnesium supplements for people who don’t have a magnesium deficiency, and that without signs of deficiency you probably don’t need one. Whether a supplement fits your migraines depends on whether you have a deficiency, what other medicines you take and how your kidneys work. Prescription prevention and acute treatments are a clinician’s decision, and this page doesn’t rank them. The useful next step is a prevention conversation with your clinician, with your full product list in hand.
Side effects and who should check first
| Issue | What the sources report | Who should check first |
|---|---|---|
| Digestive side effects | Healthline says taking more than 350 mg a day from supplements can cause digestive side effects, and large doses can also cause vomiting. | Anyone taking more than 350 mg a day from supplements |
| Magnesium buildup | Healthline says people with kidney issues are at higher risk of adverse effects, including toxicity. | Anyone with chronic kidney disease or other kidney problems |
| Medicine interactions | Healthline lists certain diuretics, heart medications and antibiotics. | Anyone who takes prescription medicine |
| Side effects of IV magnesium | Dizziness, anxiety and akathisia were reported in the MAGraine trial. | Anyone considering IV treatment, which happens in a clinical setting |
| Pregnancy | The MAGraine trial excluded pregnant patients, and the studies above give no pregnancy guidance. | Pregnant people, before using any magnesium form, including magnesium oxide |
Products sold for migraines
When a product page makes claims about migraines, read them as the maker’s own words, and check what the label lists.
Costs
Prices and package sizes change. Compare the elemental magnesium per serving, not the price of the bottle alone.
Questions to bring to your clinician
- Your migraine history and what has already been tried
- Every medicine and supplement you take, with the elemental magnesium amount from each label
- Any kidney problems, type 2 diabetes or gastrointestinal conditions
- Whether magnesium is appropriate if you’re pregnant or planning pregnancy, including magnesium oxide
- Whether a blood test makes sense for you
The bottom line: magnesium has been studied for migraines, the studies are unsettled on dose, and the decision belongs with a clinician who knows your history. Read labels by their elemental amount, and keep in mind the 350 mg daily supplement limit that Healthline cites.
By Sense and Evidence Health Research Team
This article is for general information purposes only and does not constitute medical advice. Consult your doctor or qualified healthcare provider before making changes to your health routine.