Magnesium is a natural mineral that helps keep blood pressure stable, promotes heart health, regulates nerve and muscle function, and builds bone, DNA, and protein. A lack of magnesium may also contribute to headaches and migraines.

Some people use magnesium to treat and prevent migraine symptoms, including a severe headache, visual disturbances, sensitivity to light and sound, and nausea and vomiting

Reference : By Bethany Cadman, Reviewed by Lindsay Slowiczek, PharmD,https://www.medicalnewstoday.com/articles/322596.php , july 4th,2019