Back to Blog
Nutrition

Migraine and Diet: The Evidence-Based Guide to Foods, Supplements, and Eating Patterns

16 min readPublished February 15, 2026Updated April 5, 2026
By Migraine Journey Medical Team · Reviewed by clinical headache research

Key Takeaways

  • 1Food triggers are highly individual — population-level trigger lists should guide investigation, not blanket avoidance. Only restrict foods you have personally confirmed as triggers
  • 2The elimination diet protocol (2-4 weeks elimination, then systematic reintroduction) is the gold standard for identifying personal food triggers
  • 3Key trigger compounds include tyramine (aged foods), histamine (fermented foods), nitrates (processed meats), and phenylethylamine (chocolate) — each works through a distinct biological mechanism
  • 4Magnesium (400-600mg/day), riboflavin (400mg/day), and CoQ10 (100-300mg/day) have the strongest evidence for dietary supplementation in migraine prevention
  • 5Meal timing may matter more than meal content — skipping meals is one of the top 5 triggers, and blood sugar stability is protective

Diet is one of the most discussed — and most confusing — aspects of migraine management. Patients are often handed long lists of "foods to avoid" that are so restrictive they lead to nutritional deficiency, social isolation, and frustration without actually reducing migraine frequency.

The reality is more nuanced and more hopeful. Food triggers are real, but they are highly individual. The goal is not to avoid everything — it is to identify your triggers through a systematic process, while also incorporating foods and nutrients that may be actively protective.

This guide covers the science behind food triggers, a practical elimination diet protocol, evidence-based supplements, and the emerging role of the gut-brain axis in migraine.

Watch For
Do not adopt an extremely restrictive diet based on generic food trigger lists. Unnecessarily eliminating entire food groups can cause nutritional deficiencies, disordered eating, and social isolation — all of which can worsen migraines. Work with a healthcare provider or registered dietitian, and only restrict foods you have personally confirmed as triggers through an elimination diet.

How Food Triggers Migraines: The Biochemistry

Different foods trigger migraines through different biochemical pathways. Understanding these mechanisms helps explain why trigger profiles vary so much between individuals.

Tyramine Pathway

Tyramine is a biogenic amine formed when the amino acid tyrosine breaks down, primarily through bacterial fermentation and aging. It is found in aged cheeses, cured meats, fermented foods, soy products, and overripe fruits.

Mechanism: Tyramine triggers the release of norepinephrine from nerve terminals, which can cause vasoconstriction followed by rebound vasodilation. In people with normal monoamine oxidase (MAO) activity, tyramine is rapidly metabolized and causes no problems. In migraine patients — who may have reduced MAO activity — tyramine accumulates and triggers the cascade (Millichap & Yee, 2003).

Key tyramine-containing foods: Aged cheddar, parmesan, brie, blue cheese, camembert; cured meats (salami, pepperoni, prosciutto); soy sauce, miso, tempeh; sauerkraut, kimchi; tap beer and red wine; overripe bananas and avocados.

Histamine Pathway

Histamine is another biogenic amine present in fermented foods, alcohol (especially red wine), aged cheeses, smoked fish, spinach, eggplant, and tomatoes.

Mechanism: Histamine causes vasodilation, increases vascular permeability, and promotes inflammation — all components of the neurogenic inflammation that drives migraine pain. People with reduced levels of diamine oxidase (DAO), the enzyme that breaks down dietary histamine, may be particularly susceptible (Maintz & Novak, 2007).

Key Context
If you notice that red wine, aged cheese, fermented foods, and cured fish all trigger your migraines, you may have a **histamine sensitivity**. A trial of a low-histamine diet (2-4 weeks) can help clarify this. Some patients also benefit from DAO enzyme supplements taken with meals, though evidence for this is still limited.

Nitrate/Nitrite Pathway

Nitrates and nitrites are preservatives added to processed meats (hot dogs, bacon, deli meats, sausages) to prevent bacterial growth and maintain pink color.

Mechanism: Nitrates are converted to nitric oxide (NO) in the body, which is a potent vasodilator. NO directly activates the trigeminovascular system and is a well-established migraine trigger — in fact, nitroglycerin (which releases NO) is used in research settings to deliberately provoke migraine attacks for study purposes.

Other Trigger Compounds

  • Phenylethylamine (chocolate): Affects dopamine and serotonin neurotransmission. However, chocolate craving may actually be a prodromal symptom rather than a trigger — patients crave chocolate before the migraine, then blame it for the attack
  • MSG (monosodium glutamate): An excitatory neurotransmitter that may overstimulate glutamate receptors. Evidence is mixed — controlled studies have not consistently confirmed MSG as a trigger, but individual sensitivity is real
  • Aspartame: May affect serotonin levels. Evidence is limited and conflicting, but some patients report clear sensitivity
  • Alcohol: Multiple mechanisms including histamine, tyramine, vasodilation, dehydration, and sleep disruption (see alcohol in our triggers guide)
  • Caffeine: Complex relationship — moderate consistent intake may be protective, but withdrawal and excess are triggers (see caffeine in our triggers guide)

The Elimination Diet Protocol

The gold standard for identifying personal food triggers is a structured elimination diet, supervised by a healthcare provider or registered dietitian (Razeghi Jahromi et al., 2019).

Phase 1: Comprehensive Elimination (2-4 Weeks)

Remove all common trigger foods simultaneously:

  • All aged and fermented cheeses
  • Processed meats with nitrates/nitrites
  • Alcohol (all types)
  • Chocolate
  • Citrus fruits
  • Fermented foods (sauerkraut, kimchi, soy sauce, miso)
  • MSG-containing foods
  • Artificial sweeteners (aspartame, sucralose)
  • Nuts and nut butters (some patients)
  • Dried fruits with sulfites

Continue keeping your migraine diary during this phase. The goal is to establish a baseline migraine frequency on a "clean" diet.

Practical Tip
The elimination phase is temporary and diagnostic — you are NOT meant to eat this way permanently. Think of it as a 2-4 week experiment to gather data.

Phase 2: Systematic Reintroduction (6-8 Weeks)

Add back one food category at a time:

  1. Choose one food from the eliminated list
  2. Eat a normal portion on three separate days within one week
  3. Track your migraine diary carefully during this period
  4. Wait 48 hours after the last test day before introducing the next food
  5. If a migraine occurs during testing, note it but continue — one instance may be coincidence
  6. If the same food triggers migraines on 2+ test occasions, it is likely a personal trigger

Phase 3: Personalization (Ongoing)

Based on your reintroduction data, create a personalized eating plan that avoids only your confirmed triggers. Everything else goes back on the menu.

Evidence-Based Supplements for Migraine Prevention

Several nutritional supplements have clinical evidence supporting their use in migraine prevention. These are recommended in the American Headache Society and Canadian Headache Society guidelines (Pringsheim et al., 2012).

Magnesium (Grade A Evidence)

Dose: 400-600 mg/day (magnesium oxide, citrate, or glycinate)

Evidence: Magnesium deficiency is found in up to 50% of migraine patients. Multiple randomized controlled trials show that daily magnesium supplementation reduces migraine frequency by approximately 40% (Mauskop & Varughese, 2012). Magnesium glycinate or citrate have better bioavailability than magnesium oxide.

Food sources: Spinach, almonds, cashews, avocado, black beans, dark chocolate (85%+), pumpkin seeds, Swiss chard.

Riboflavin / Vitamin B2 (Grade B Evidence)

Dose: 400 mg/day

Evidence: A landmark RCT showed 400mg/day riboflavin reduced migraine frequency by 50% compared to placebo over 3 months (Schoenen et al., 1998). Riboflavin supports mitochondrial energy production — and mitochondrial dysfunction is implicated in migraine pathophysiology.

Food sources: Lean meat, eggs, almonds, mushrooms, milk, yogurt (dietary intake alone rarely reaches therapeutic doses — supplementation is needed).

Coenzyme Q10 / CoQ10 (Grade C Evidence)

Dose: 100-300 mg/day

Evidence: CoQ10 also supports mitochondrial function. Studies show modest reduction in migraine frequency and severity, particularly in adolescents and young adults. A meta-analysis showed significant benefit over placebo.

Food sources: Sardines, mackerel, beef, peanuts, spinach, broccoli (supplementation recommended for therapeutic doses).

Omega-3 Fatty Acids (Emerging Evidence)

Dose: 1.5-3g EPA+DHA daily

Evidence: A 2021 NIH-funded randomized controlled trial (NCCIH) showed that a diet high in omega-3 fatty acids and low in omega-6 fatty acids reduced headache frequency by 30-40% over 16 weeks (Ramsden et al., 2021). Omega-3s reduce inflammation and may modulate pain processing.

Food sources: Fatty fish (salmon, sardines, mackerel, herring), walnuts, flaxseed, chia seeds.

Clinical Note

When to See a Doctor

Before starting any supplement regimen, discuss it with your healthcare provider. Magnesium can interact with certain medications and cause GI side effects at high doses. Riboflavin at 400mg turns urine bright yellow (harmless). CoQ10 can interact with blood thinners. Your doctor can help you choose the right supplements and doses for your situation.

Meal Timing: When You Eat May Matter More Than What You Eat

Skipping meals is one of the most consistently reported migraine triggers (~40% of patients). The mechanism is straightforward: the hypothalamus, which plays a central role in migraine initiation, is exquisitely sensitive to blood glucose levels.

Evidence-Based Meal Timing Principles

  • Never skip meals — especially breakfast. Even a small meal is better than no meal
  • Eat at consistent times — the migraine brain craves routine
  • Include protein at every meal — protein slows glucose absorption and prevents blood sugar spikes and crashes
  • Avoid prolonged fasting — if religious fasting is important to you, discuss mitigation strategies with your doctor
  • Eat before exercise — exercising on an empty stomach combines two triggers (exertion + hypoglycemia)
  • Don't eat large meals late at night — this disrupts sleep, which is another top trigger

The Gut-Brain Axis: An Emerging Frontier

Emerging research suggests that the gut microbiome plays a role in migraine pathophysiology through the gut-brain axis — bidirectional communication between the gastrointestinal tract and the central nervous system (Arzani et al., 2020).

Key findings:

  • Migraine patients show altered gut microbiome composition compared to controls
  • Gastrointestinal symptoms (nausea, vomiting) are core features of migraine, suggesting shared neural pathways
  • Probiotics may have modest migraine-preventive effects in some studies (evidence is still preliminary)
  • The gut produces >90% of the body's serotonin — and serotonin dysregulation is central to migraine

Practical implications: While we cannot yet make specific probiotic recommendations for migraine, a generally gut-healthy diet (diverse fiber, fermented foods if tolerated, minimal ultra-processed food) is unlikely to hurt and may help.

A Practical Migraine-Friendly Meal Plan Framework

Rather than a rigid diet, aim for these principles:

Breakfast (within 1 hour of waking): Protein + complex carb + hydration Example: Oatmeal with pumpkin seeds and blueberries + glass of water

Lunch (consistent time): Balanced plate with protein, vegetables, whole grains Example: Grilled chicken salad with spinach, avocado, quinoa

Dinner (at least 2-3 hours before bed): Lean protein + vegetables + healthy fat Example: Baked salmon with roasted sweet potato and steamed broccoli

Snacks (prevent fasting gaps): Protein-containing to stabilize blood sugar Examples: Apple with almond butter; hummus with vegetables; Greek yogurt with berries

References

  1. Razeghi Jahromi S, Ghorbani Z, Martelletti P, et al. Association of diet and headache. J Headache Pain. 2019;20(1):106. PubMed

2. Millichap JG, Yee MM. The diet factor in pediatric and adolescent migraine. Pediatr Neurol. 2003;28(1):9-15. PubMed

3. Maintz L, Novak N. Histamine and histamine intolerance. Am J Clin Nutr. 2007;85(5):1185-1196. PubMed

4. Mauskop A, Varughese J. Why all migraine patients should be treated with magnesium. J Neural Transm. 2012;119(5):575-579. PubMed

5. Schoenen J, Jacquy J, Lenaerts M. Effectiveness of high-dose riboflavin in migraine prophylaxis. A randomized controlled trial. Neurology. 1998;50(2):466-470. PubMed

6. Ramsden CE, Zamora D, Faurot KR, et al. Dietary alteration of n-3 and n-6 fatty acids for headache reduction in adults with migraine: randomized controlled trial. BMJ. 2021;374:n1448. PubMed

7. Pringsheim T, Davenport W, Mackie G, et al. Canadian Headache Society guideline for migraine prophylaxis. Can J Neurol Sci. 2012;39(2 Suppl 2):S1-59. PubMed


This article is based on published nutritional and headache research. Individual dietary needs vary significantly. Consult a healthcare provider or registered dietitian before making significant dietary changes or starting supplements.

Put This Knowledge Into Practice

Start tracking your migraines to identify patterns and take control of your condition.