Synergy

Magnesium and Vitamin B2 (Riboflavin)

Riboflavin and magnesium are a commonly recommended migraine-prevention pair.

By the Vital Matrix Editorial TeamReviewed by the Vital Matrix Research TeamLast updated June 25, 2026

Great to combine

These two are frequently stacked together; they complement each other and are commonly taken at the same time.

How to take them

Magnesium

Dose
200–400 mg elemental magnesium per day
Timing
Evening for sleep support; with food to reduce GI upset

Vitamin B2 (Riboflavin)

Dose
1–1.5 mg RDA; 200–400 mg for migraine prevention
Timing
Morning or divided with meals; high doses with food

Buying Magnesium and Vitamin B2 (Riboflavin)?

Choose third-party-tested brands in the forms we recommend on each supplement's page.

Some links below are affiliate links: if you buy through them we may earn a small commission at no extra cost to you. It never changes our ratings or evidence grades.

Frequently asked

Can you take Magnesium and Vitamin B2 (Riboflavin) together?

Yes, they are commonly taken together. Riboflavin and magnesium are a commonly recommended migraine-prevention pair.

What's the best time to take Magnesium and Vitamin B2 (Riboflavin)?

Around the same time works well. Magnesium: Evening for sleep support; with food to reduce GI upset. Vitamin B2 (Riboflavin): Morning or divided with meals; high doses with food.

How do Magnesium and Vitamin B2 (Riboflavin) interact?

Synergy: Work better together than alone. Riboflavin and magnesium are a commonly recommended migraine-prevention pair.

Related pairings