Magnesium may reduce how often migraines happen, but the evidence is mixed and it works better for some people than others

Magnesium is a mineral your body needs for nerve and muscle function. Some research suggests that people who have migraines tend to have lower magnesium levels than people who don't, and that taking magnesium supplements might prevent migraines or make them less frequent. However, the studies on this are small and don't all reach the same conclusion. If you're considering magnesium for migraine prevention, it's worth discussing with your doctor first, because the dose matters, the type of magnesium matters, and it can interact with other medications.

Magnesium is not a treatment for a migraine that's already happening. It's something you would take regularly, over weeks or months, to try to prevent migraines from occurring in the first place.

Key Takeaways

  • Some studies show magnesium supplements may reduce migraine frequency, but results vary and the evidence is not strong enough for doctors to recommend it as a first-line prevention.
  • The dose used in research is typically 400 to 500 milligrams per day, taken for at least 8 to 12 weeks before you would expect to see a difference.
  • Different forms of magnesium (citrate, glycinate, oxide) are absorbed differently by your body, and some may cause digestive side effects.
  • Magnesium can interact with antibiotics, bisphosphonates, and some other medications, so tell your doctor what you're taking before you start a supplement.
  • If magnesium doesn't help after three months of regular use, other prevention methods with stronger evidence may be a better choice.

What the research actually shows about magnesium and migraines

Several small studies have found that people with migraines have lower magnesium levels in their blood and tissues compared to people without migraines. The theory is that low magnesium may make nerves more excitable and blood vessels more likely to constrict, both of which could trigger a migraine. On that basis, researchers have tested whether giving magnesium supplements prevents migraines.

The results have been inconsistent. Some studies found that 400 to 500 milligrams of magnesium taken daily reduced the number of migraines people had over a few months. Other studies found no difference between magnesium and placebo. A 2012 review of the available research concluded that magnesium "may be considered" for migraine prevention, but the evidence was not strong enough to make a firm recommendation. More recent reviews have reached similar conclusions: magnesium might help, but we don't have enough high-quality evidence to be sure.

This means magnesium is not a proven migraine prevention like some prescription medications are. It's an option some people try, and it works for some of them, but there's no way to predict in advance whether it will work for you.

How much magnesium to take and which form matters

The dose used in most migraine studies is 400 to 500 milligrams per day. You would take this amount every day, not just when you feel a migraine coming on. It typically takes 8 to 12 weeks of regular use before you would notice any reduction in migraine frequency, so patience is necessary.

Magnesium comes in different forms, and your body absorbs them differently. Magnesium citrate and magnesium glycinate are absorbed more easily than magnesium oxide, which can cause loose stools or diarrhea in some people. If you're considering a supplement, the form matters for both effectiveness and side effects. Your doctor or a pharmacist can help you choose a form that's less likely to cause digestive problems.

Over-the-counter magnesium supplements are not regulated the same way prescription medications are, so the amount listed on the label may not match what's actually in the bottle. Buying from a reputable manufacturer and looking for third-party testing (often shown as a seal on the label) can reduce this risk.

Magnesium interactions with medications and other supplements

Magnesium can interfere with how your body absorbs certain medications. If you take antibiotics (particularly fluoroquinolones like ciprofloxacin), bisphosphonates (used for bone health), or certain other drugs, magnesium can reduce how much of the medication your body actually uses. You need to space out when you take magnesium and these medications—usually at least two hours apart—and your doctor needs to know you're taking it.

Magnesium can also interact with some supplements and with medications for heart rhythm problems or high blood pressure. If you're already taking other medications or supplements, tell your doctor before you start magnesium, even though it's available without a prescription.

Side effects and who should avoid magnesium supplements

At the doses used for migraine prevention (400 to 500 milligrams daily), magnesium is generally well tolerated. The most common side effect is loose stools or diarrhea, which happens more often with magnesium oxide. Nausea, stomach upset, and muscle weakness are less common but possible.

You should not take magnesium supplements without talking to your doctor first if you have kidney disease, heart block, or myasthenia gravis. Magnesium can also make certain medications less effective or cause problems if you have these conditions. Pregnant people should discuss magnesium with their obstetrician before starting a supplement.

Other migraine prevention methods with stronger evidence

If you try magnesium for three months and it doesn't reduce your migraine frequency, other prevention strategies have more solid research behind them. Prescription medications like topiramate, propranolol, and amitriptyline have been shown in large studies to prevent migraines. Botulinum toxin injections (Botox) are FDA-approved for chronic migraine prevention. Behavioral approaches like stress management, regular sleep schedules, and avoiding known triggers also have evidence supporting them.

Your doctor can help you weigh the pros and cons of each option based on your specific situation, how often your migraines occur, and what other health conditions you have. Magnesium might be worth trying as part of a broader prevention plan, but it shouldn't delay you from exploring other options if it's not working.

How to talk to your doctor about magnesium for migraines

If you're interested in trying magnesium, bring this conversation to your next appointment with your doctor or neurologist. Tell them what dose you're considering, which form you're thinking about, and how long you're willing to try it. Be clear about what other medications and supplements you're taking, because that's where most interactions happen.

Your doctor can also help you set realistic expectations. If your migraines are frequent or severe, magnesium alone is unlikely to be enough, and you may need to combine it with other prevention methods or consider prescription options. If your migraines are mild or infrequent, magnesium might be worth trying first before moving to stronger medications.

Keep track of your migraine frequency and severity for a few weeks before you start magnesium, and then continue tracking for at least 12 weeks after you start. This gives you and your doctor concrete information about whether it's actually helping.

Frequently Asked Questions

Can I take magnesium if I'm already on a migraine prevention medication?

Possibly, but you need to check with your doctor first. Magnesium can interact with some medications, and your doctor needs to know about both to make sure they work together safely. Don't start magnesium on your own if you're already taking a prescription migraine prevention.

How long does it take to know if magnesium is working?

Most studies waited 8 to 12 weeks before measuring whether magnesium reduced migraine frequency. Give it at least three months of regular daily use before deciding it's not helping. If you don't see a change after that, it's probably not going to work for you.

Is magnesium safe to take long-term?

At the doses used for migraine prevention, magnesium is generally safe for long-term use in people with normal kidney function. However, you should have your kidney function checked periodically if you're taking magnesium regularly, and tell your doctor about any new medications or supplements you start.

Can magnesium stop a migraine that's already started?

No. Magnesium is for prevention—something you take every day to try to reduce how often migraines happen. It won't help once a migraine has already begun. For treating an active migraine, you need a different approach, which your doctor can discuss with you.

What's the difference between magnesium citrate and magnesium glycinate?

Both are absorbed better than magnesium oxide, but magnesium glycinate is less likely to cause loose stools. Magnesium citrate may work slightly faster. For migraine prevention, either form can work; the choice often comes down to which one causes fewer digestive side effects for you personally.