Yes, magnesium is good for those who get migraines. It can lessen how often and how severe the headaches are, making it very important for your diet.