Clinical Library · Minerals
Magnesium for Migraines: Benefits, Best Forms & Dosage. See What Research Says

If you live with migraines, someone has probably told you to "just take magnesium." It's one of the most talked-about supplements for migraine, but the advice is usually vague. Which form? How much? Does it actually work?
This guide looks at what the research on magnesium for migraines really says, in plain language: where the evidence is solid, where it's thin, and what to check before you start.
Quick answer: Major neurology guidelines rate magnesium as "probably effective" for preventing migraines, but the benefit is moderate and builds slowly, often over about three months. Doses used in studies are higher than everyday needs, so the form, the amount and your health history all matter. Talk to a doctor before you start.
Key takeaways
- Neurology guidelines give magnesium a Level B ("probably effective") rating for migraine prevention.
- Studies commonly use 400–600 mg of elemental magnesium a day, usually under medical guidance.
- Oxide and citrate have the most migraine trial data. Glycinate is gentler on the stomach but less directly studied.
- Give it up to three months before judging results.
- Kidney problems, pregnancy and regular medicines all call for a doctor's input first.
Does Magnesium Help Migraines? What the Research Shows
In 2012, the American Headache Society and the American Academy of Neurology reviewed the evidence on migraine preventives and gave magnesium a Level B rating. That means it is probably effective and worth considering for people who need preventive treatment. The American Headache Society also describes magnesium as one of the most common supplements used for migraine prevention.
Reviews of the research describe benefits for both short-term and long-term migraine management, and magnesium tends to have fewer side effects than many prescription options. It has also been looked at for menstrual migraine and migraine with aura, two areas where specialists often consider it.
Still, it helps to be realistic. Many trials are small, they use different forms and doses, and the effect is moderate rather than dramatic. The Migraine Trust also notes that the evidence for supplements in general is often limited. So the research on magnesium for migraines is encouraging, but it's not a guarantee for everyone.
Magnesium Deficiency and Migraines

Some studies report lower magnesium levels among people who experience migraine. A link isn't proof of cause, though; low magnesium intake alone has not been established as a trigger for every person.
Still, adequate magnesium matters for your nerves, muscles and heart. The NIH Office of Dietary Supplements lists recommended intakes and food sources. Some people consider a supplement if they do not meet their needs through food. It's best to talk to a doctor first, especially if you take regular medication.
How Magnesium May Work in the Brain
Migraine is often described as a "hyper-excitable" brain, one that reacts too strongly to triggers. Magnesium helps regulate how excitable nerve cells are. When levels are low, receptors linked to a brain chemical called glutamate can become overactive, and this is thought to play a part in the wave of brain activity behind migraine aura. Magnesium also influences blood vessel tone.
These are proposed explanations, not settled proof, but they explain why researchers took an interest in this mineral.
Best Magnesium for Migraines: Which Form Has Been Studied?

Not all magnesium is the same. The "form" is the compound the magnesium is bound to, and it affects absorption, stomach comfort and how much research exists. Here's how the main ones compare:
| Form | Migraine trials | Absorption | Stomach comfort |
|---|---|---|---|
| Oxide | Most studied | Lower | More likely to loosen stools |
| Citrate | Some trial data | Good | Can loosen stools |
| Glycinate | No direct trials | Good | Usually gentlest |
| Threonate | No migraine trials | May reach the brain (animal data) | Limited data |
Magnesium oxide for migraines
This is the form used in most migraine prevention trials. It packs a lot of magnesium into each pill, but the body absorbs less of it, and loose stools are the most common complaint.
Magnesium citrate for migraines
One placebo-controlled trial found that 600 mg a day for three months reduced both migraine frequency and severity. It absorbs better than oxide but can still upset the stomach.
Magnesium glycinate for migraines
Glycinate is popular because it's easy on the gut. The catch is that it hasn't been tested for migraine prevention in controlled trials the way oxide and citrate have, so many doctors recommend it based on tolerability rather than direct proof.
Magnesium threonate for migraines
Animal research suggests threonate can raise magnesium levels in the brain. But there are no migraine-specific trials, it's costly, and it delivers less elemental magnesium per dose.
So which magnesium is best for migraines? Honestly, no single form has been proven better than the others. The choice comes down to evidence versus comfort, and it's a good question for your doctor or pharmacist.
Magnesium Dosage for Migraines
Guidelines for doctors usually mention 400 to 600 mg of magnesium a day for migraine prevention. That is more than the usual daily recommended intake, and the NIH upper limit for magnesium from supplements is 350 mg a day for adults. This gap is why the dose shouldn't be a guessing game. The dose of magnesium for migraines used in trials is normally taken with medical guidance, including a check on kidney health and other medicines.
It also helps to understand elemental magnesium. A label might say "magnesium glycinate 500 mg," but only part of that weight is actual magnesium. Look for the "elemental magnesium" figure in the supplement facts panel. That's the number to compare with study doses.
If your doctor approves a supplement, starting low and building up over a week or two, and taking it with food, can reduce stomach upset.
How Long Does Magnesium Take to Work?

Magnesium is not a quick fix. Most experts suggest giving it about three months before deciding whether it's helping. Some people notice a change within a few weeks, but many need the full window. Keeping a simple headache diary (dates, severity, possible triggers) makes it much easier to see whether things are improving.
When to Take Magnesium
Research hasn't pinned down one best time of day, so consistency matters more than timing. Many people take it with a meal to reduce stomach upset, and splitting the daily dose in two can help too.
Magnesium can also affect how well certain medicines are absorbed, including some antibiotics, thyroid tablets, iron and osteoporosis medicines. Ask your pharmacist how far apart to take them.
Magnesium Side Effects, Safety and Who Should Be Careful
Magnesium is generally safe for most healthy adults, but it isn't risk-free.
- Common side effects: loose stools, stomach cramps and nausea. Lowering the dose usually helps.
- Low blood pressure: magnesium can lower it, so check with your doctor if yours is already low.
- Kidney disease: healthy kidneys clear extra magnesium, but weak kidneys can't, and it can build up to dangerous levels. Don't take supplements unless your doctor agrees.
- Medicine interactions: antibiotics, diuretics, muscle relaxants and heart medicines can all interact with magnesium.
- Pregnancy: talk to your doctor about safe amounts first. Taking far too much can cause serious problems, including an irregular heartbeat, so more is never better.
Magnesium, Riboflavin and CoQ10: Do Combinations Help?

Magnesium isn't always taken alone. One randomized trial tested magnesium, riboflavin (vitamin B2) and CoQ10 together against a placebo. Monthly migraine days dropped from about 6.2 to 4.4 in the supplement group, compared with 6.2 to 5.2 on placebo. The drop in frequency was only a trend, but pain intensity and overall migraine burden improved significantly.
That makes magnesium and riboflavin for migraines, and magnesium and CoQ10 for migraines, worth discussing with your doctor. The Migraine Trust notes that CoQ10 may reduce how often and how severe attacks are, but more research is needed.
Magnesium-Rich Foods
You can also raise your intake through food. Good sources include pumpkin seeds, almonds, cashews, spinach and other leafy greens, ragi, rajma, lentils (dal) and dark chocolate. The amount per serving varies; check the NIH food table for examples.
Food is a gentle foundation, and magnesium from food doesn't count toward the 350 mg supplement limit.
How to Choose a Magnesium Supplement
If you and your doctor decide a supplement makes sense, a few checks help:
- Elemental magnesium per serving. Compare this number, not the compound weight.
- The form. Glycinate is often easier on the stomach. TruWe's Mag Absorb Pro combines several magnesium forms, but it has not been tested as a migraine treatment. Follow its label, not the higher doses studied in migraine trials.
- Clear labelling and lab testing. This matters most when comparing options for the best magnesium supplement in India.
- Start low, go slow. Build up gradually.
No supplement can promise to prevent migraines, so treat it as one part of a wider plan that includes sleep, hydration, regular meals and trigger tracking.
When to See a Doctor
See a doctor if your migraines are new, getting worse or more frequent, or if you're relying on painkillers often. Get urgent medical help for a sudden, severe headache, or one that comes with fever, a stiff neck, weakness, vision loss, confusion or trouble speaking.
FAQs

Does magnesium help migraines?
It may help prevent them. Neurology guidelines rate magnesium as "probably effective" for migraine prevention, but the benefit is moderate and varies from person to person. It's usually taken daily for around three months before you can judge whether it's working.
Which magnesium is best for migraines?
No single form has been proven best. Magnesium oxide and citrate have the most migraine trial data, while glycinate is often easier on the stomach but less directly studied. The right choice depends on your tolerance and your doctor's advice.
How much magnesium should I take for migraines?
Studies and guidelines commonly mention 400 to 600 mg of elemental magnesium a day. That is above the NIH upper limit of 350 mg for supplements, so the amount should be decided with a doctor, especially if you have kidney problems or take other medicines.
What is elemental magnesium, and why does it matter?
Elemental magnesium is the actual amount of magnesium in a supplement, not the total weight of the compound. A capsule labelled "500 mg magnesium glycinate" may contain much less magnesium. Check the supplement facts panel and compare that figure with study doses.
How long does magnesium take to work for migraines?
Most experts suggest giving it about three months. Some people notice changes within a few weeks, but the full effect often takes longer. Keeping a headache diary makes it easier to see whether your attacks are getting less frequent or less severe.
Can magnesium stop a migraine attack once it starts?
Oral supplements are mainly studied for prevention, not for stopping an attack. In hospitals, doctors sometimes give magnesium sulfate through a drip for severe migraines. Don't try to copy that at home, and follow your doctor's plan for acute treatment.
Is magnesium good for menstrual migraine or migraine with aura?
These are the two areas where specialists most often consider it. Some research suggests daily magnesium may help with migraine with aura and with menstrually related migraine. Results still vary, so it's worth discussing with a doctor who knows your pattern.
Can I take magnesium with riboflavin (vitamin B2) or CoQ10?
Often yes, and this combination has been studied. One trial found that magnesium, riboflavin and CoQ10 together reduced pain intensity and overall migraine burden compared with a placebo. Check doses and interactions with your doctor or pharmacist first.
What are the side effects of magnesium, and who should avoid it?
The most common side effects are loose stools, stomach cramps and nausea. People with kidney disease, low blood pressure or heart conditions, and those who are pregnant or take regular medicines, should get medical advice first. Taking too much can be dangerous.
Can I get enough magnesium from food instead of supplements?
Food is a good foundation. Pumpkin seeds, almonds, spinach, ragi, rajma, lentils and bananas all contain magnesium. Diet supports your general intake, but there's no proof that food alone prevents migraines, so don't use it to replace medical treatment.
The Bottom Line
Magnesium for migraines is one of the better-supported supplement options, but it works best as a slow, steady part of a plan rather than a quick fix. Check the elemental magnesium, be patient for around three months, track your migraines, and start with a conversation with your doctor rather than the biggest dose.
References
- American Headache Society: Nutraceuticals for migraine prevention
- The Migraine Trust: Supplements for migraine
- Magnesium and Migraine (PMC review)
- Headaches and Magnesium: Mechanisms, Bioavailability, Therapeutic Efficacy (PMC)
- Magnesium as an Important Factor in the Pathogenesis and Treatment of Migraine (PMC)
- NIH Office of Dietary Supplements: Magnesium fact sheet
This article is for education only and isn't medical advice. Speak to a qualified healthcare professional before starting any supplement, especially if you have a medical condition, are pregnant, or take medication.
