How Does Diet Affect Migraines?
Food also plays an important role in managing migraines. Nearly 27% of migraines report food as a trigger to their migraine attack. Some of the foods and beverages that can bring on a migraine act via tyramine buildup, the dilation of blood vessels, the reduction of serotonin levels and falling blood glucose levels.Equally, specific nutrients and dietary patterns are associated with reduced migraine frequency. Building a migraine-friendly diet requires identifying personal food triggers and incorporating protective nutrients consistently.
Food and drink influence migraines through several biological mechanisms.
- The buildup of tyramine: Tyramine occurs naturally in ripened, aged, fermented and processed foods. The high concentration of tyramine influences norepinephrine (a brain chemical controlling blood pressure and awareness) triggering migraine in susceptible individuals
- Blood vessel alteration: Specific compounds such as alcohol, nitrates and histamine induce dilatation of blood vessels in the brain, triggering the pain-sensitive nerve endings
- Serotonin level variation: Certain food types are associated with precipitous fluctuations of the level of serotonin (a brain chemical controlling mood and pain) lowering migraine threshold
- Blood sugar drops: Skipping meals or consuming high-sugar foods causes blood sugar spikes and crashes, a well-documented migraine trigger
Foods to Avoid With Migraines
Aged and Fermented Foods
- Aged cheeses such as cheddar, parmesan, blue cheese, brie, and camembert
- Fermented foods like sauerkraut, kimchi, soy sauce, and miso
- Pickled foods such as pickles, olives, and pickled herring
Processed and Cured Meats
- Salami, pepperoni, hot dogs, bacon, and deli meats containing nitrates and nitrites (preservatives that cause blood vessel dilation)
Alcohol
- Red wine is the most frequently reported alcoholic trigger due to its high tyramine, histamine, and tannin content
- Beer, particularly dark beer, contains tyramine and sulfites (preservatives)
- Spirits such as whiskey and bourbon contain congeners (alcohol fermentation byproducts) associated with increased migraine risk
Food Additives
- MSG (monosodium glutamate): Found in fast food, instant noodles, chips, and processed snacks. MSG overstimulates glutamate receptors (nerve cell receptors involved in pain signaling) in the brain
- Aspartame: An artificial sweetener in diet sodas and sugar-free products that affects serotonin levels
- Sulfites: Preservatives in wine, dried fruits, and packaged foods
Caffeine
- Frequent, consistent consumption of high-caffeine results in tolerance andwithdrawal syndrome is associated with rebound migraines at 12-24 hours
- Limit caffeine consumption to < 200mg/day (~2 regular cups of coffee)
Skipping Meals
- Going more than 4 to 5 hours without eating drops blood sugar levels, activating the stress response and directly triggering migraines
- Intermittent fasting and prolonged calorie restriction increase migraine risk in susceptible individuals
Foods to Eat for Migraine Prevention
Magnesium-Rich Foods
Magnesium deficiency is common in people with migraines. Magnesium stabilizes nerve cell activity and reduces trigeminal nerve excitability (the main pain pathway in migraines).
- Spinach, kale, and dark leafy greens
- Almonds, pumpkin seeds, and sunflower seeds
- Black beans, lentils, and chickpeas
- Avocado and banana
- Brown rice and whole grains
Omega-3 Fatty Acid-Rich Foods
Omega-3 fatty acids have anti-inflammatory properties that may reduce migraine frequency by lowering neuroinflammation (inflammation in the nervous system).
- Fatty fish such as salmon, mackerel, sardines, and tuna
- Flaxseeds and chia seeds
- Walnuts
- Omega-3 fortified eggs
Riboflavin or Vitamin B2-Rich Foods
Riboflavin (vitamin B2) has clinical evidence for reducing migraine frequency by improving mitochondrial energy metabolism (the process by which cells produce energy) in the brain.
- Eggs, lean chicken, and turkey
- Dairy products including milk and yogurt
- Lean beef and organ meats such as liver
- Leafy greens such as spinach and asparagus
Anti-Inflammatory Foods
Chronic neuroinflammation lowers the migraine threshold over time. An anti-inflammatory dietary pattern reduces overall migraine susceptibility.
- Berries such as blueberries, strawberries, and cherries
- Turmeric, containing curcumin (a potent anti-inflammatory compound)
- Ginger, which has both anti-inflammatory and anti-nausea properties
- Olive oil, rich in oleocanthal (a natural anti-inflammatory compound)
- Green tea, which contains antioxidants and low levels of caffeine
Foods That Support Stable Blood Sugar
Maintaining stable blood sugar is one of the most practical dietary strategies for migraine prevention.
- Oats and whole grain bread for slow-release energy
- Sweet potatoes and legumes for sustained blood sugar stability
- Nuts and seeds as between-meal snacks to prevent blood sugar drops
- Protein-rich foods such as eggs, chicken, and fish at every meal
Migraine Diet: Foods at a Glance
Practical Dietary Tips for Migraine Prevention
- Eat regular meals every 3 to 4 hours to maintain stable blood sugar throughout the day
- Drink a minimum of 8 glasses of water every day, even more if it is hot or during intense exercise
- Reduce caffeine intake slowly rather than giving it up completely; cold turkey will often trigger a withdrawal headache
- Read ingredient lists carefully, looking out for sneaky MSG, nitrates, aspartame and sulfites in pre-prepared and packaged food.
- Keep a food and migraine diary for 4 to 6 weeks to identify personal dietary triggers before making significant dietary changes
- Work with a registered dietitian for a structured elimination diet if multiple dietary triggers are suspected
When Should You See a Doctor or Dietitian?
- Dietary changes alone are not reducing migraine frequency after 8 to 12 weeks
- Multiple food triggers are suspected and a structured elimination diet is needed
- Nutritional deficiencies such as low magnesium or riboflavin are identified through blood tests
- Migraines are occurring more than 4 days per month despite dietary management
Conclusion
Diet is an important and modifiable component in migraine prevention. Dietary triggers most consistently reported are aged cheeses, alcohol, processed meats, msg, caffeine withdrawal, and eating late or skipping meals. Dietary sources rich in magnesium, omega-3 fatty acids, riboflavin and anti-inflammatory diets are implicated in migraine frequency reduction.Consistent meal timings, staying hydrated, using a food/migraine diary and working with a registered dietitian for individual food recommendations are important.
