# Magnesium and Riboflavin for Migraine Prevention: Evidence Before Products

Canonical: https://supplementexplained.com/goals/magnesium-riboflavin-migraine-prevention/
Last modified: 2026-10-13T01:31:39+00:00
Publisher: Supplement Explained
Review model: Editorial review; medical review only when explicitly documented on the canonical page.

Quick answer

Magnesium and riboflavin (vitamin B2) may help reduce migraine attack frequency in some adults, but the evidence is limited. Their possible role is prevention, not immediate relief from a migraine already underway.

[Seek urgent medical care](https://newsinhealth.nih.gov/2025/09/tension-headaches-migraine-more) for a sudden, unusually severe headache or a headache with new weakness, numbness, confusion, or vision or speech problems. Do not try supplements first. Before starting, review the exact label with a clinician or pharmacist, especially with kidney disease or medicine use. Migraine study amounts can exceed ordinary supplemental limits.

Affiliate link: we may earn a commission from purchases, at no extra cost to you.

![NOW Magnesium Glycinate, 180 tablets](https://supplementexplained.com/wp-content/uploads/2026/03/now-magnesium-glycinate-tablets-product-photo-300x300.webp)

Product label to compare

## NOW Magnesium Glycinate

180 tablets. A label example to discuss, not a proven migraine treatment or evidence that glycinate works best.

[Check price at HerbsPro](https://www.anrdoezrs.net/click-101886474-15733504?url=https%3A%2F%2Fwww.herbspro.com%2Fproducts%2Fmagnesium-glycinate-5)[Read the product analysis](https://supplementexplained.com/products/now-magnesium-glycinate-tablets/)

## What migraine prevention is meant to change

Prevention aims to reduce the burden of future attacks. Researchers may measure headache days, attack frequency, severity or duration. These outcomes are not interchangeable: fewer attacks does not necessarily mean milder or shorter attacks.

Record your headache pattern and the medicines you use for attacks, along with any supplements. Bring that information to a clinician to discuss whether preventive treatment is appropriate and which changes would matter most to you. A supplement does not replace your attack-treatment plan or other necessary medical care.

## What studies show about magnesium and riboflavin

The [National Center for Complementary and Integrative Health overview](https://www.nccih.nih.gov/health/headaches-what-you-need-to-know) summarizes the research on both ingredients:

| Ingredient | Research findings | Important limits |
| --- | --- | --- |
| Magnesium | A 2018 review included five studies with 253 participants. Three studies showed benefit, and the review described magnesium as possibly effective for reducing migraine frequency. | The studies were small and varied in their methods and results, leaving uncertainty about how reliably magnesium helps. |
| Riboflavin (vitamin B2) | A review of nine studies included 546 participants and found mixed results. | Study quality varied. Findings were more promising in adults than in children, so adult findings should not be assumed to apply to children. |

Ingredient research does not automatically demonstrate that a particular retail product prevents migraine. The research also does not establish magnesium glycinate as the best magnesium form for prevention.

## What to check on the supplement label

For magnesium, look at the [elemental magnesium](https://supplementexplained.com/glossary/elemental-magnesium/) amount per serving in Supplement Facts. This is the amount of magnesium itself, not the total weight of magnesium glycinate or another magnesium compound. Check the serving size at the same time.

For example, a hypothetical label listing "Magnesium 200 mg" for a two-tablet serving provides 100 mg per tablet. Those numbers illustrate how to read a label; they are not a migraine dosing recommendation. Our [magnesium label-value audit](https://supplementexplained.com/quality/magnesium-label-value-audit/) offers more detail on comparing labels.

For vitamin B2, look for "riboflavin" and its amount per serving. A B-complex is not interchangeable with riboflavin alone. Review the other vitamins it contains, including vitamin B6, and check whether they are also present in products you already take.

## Safety questions to resolve before starting

According to the [NIH Office of Dietary Supplements](https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/), the adult upper limit for magnesium from supplements and medicines is 350 mg a day. Magnesium from food does not count toward that limit. The limit is based on gastrointestinal side effects; it is not a migraine dose target or your total dietary magnesium requirement. Some amounts used in migraine studies exceed this limit. Using higher amounts requires supervision from a health professional.

Magnesium supplements can cause diarrhea and other gastrointestinal side effects. Kidney problems increase the risk of magnesium toxicity, and magnesium can interact with medicines. Review your full medicine and supplement list with a clinician or pharmacist; our [magnesium interaction guide](https://supplementexplained.com/safety/magnesium-interactions/) can help you prepare questions.

If you are pregnant or breastfeeding, or considering either supplement for a child, ask a clinician to assess whether it is appropriate rather than applying adult study findings.

Bring the exact label and your headache record to that discussion. Ask whether the serving overlaps with other products, whether any added ingredients raise concerns, and whether new symptoms need assessment before you consider a supplement. Mention [tingling after taking a B-complex](https://supplementexplained.com/safety/tingling-after-b-complex-vitamin-b6/) if it has occurred.

## References

1. [NIH News in Health: Headache Warning Signs](https://newsinhealth.nih.gov/2025/09/tension-headaches-migraine-more)
2. [NCCIH: Headaches](https://www.nccih.nih.gov/health/headaches-what-you-need-to-know)
3. [NIH ODS: Magnesium](https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/)

Sources checked October 13, 2026. General information, not a personal treatment plan.
