Migraine Diet: Food Triggers, Elimination Protocols, and the Nutrients That Help Prevent Attacks
- At a Glance
- How Food Triggers Migraine
- Common Food Triggers
- Tyramine-Containing Foods
- Histamine-Rich Foods
- Nitrates and Nitrites
- MSG (Monosodium Glutamate)
- Alcohol
- Caffeine
- Chocolate
- The Heal Your Headache Protocol
- Step 1: Eliminate Rebound Medication
- Step 2: Reduce Triggers (Including Diet)
- Step 3: Preventive Treatment If Needed
- The Mediterranean Diet and Migraine
- Meal Timing, Blood Sugar, and Migraine
- Hydration
- Supplements for Migraine Prevention
- Magnesium
- Riboflavin (Vitamin B2)
- Coenzyme Q10 (CoQ10)
- Feverfew
- Additional Supplements
- Putting It All Together: A Practical Migraine Diet Plan
- Related Reading
- References
At a Glance
- Food triggers are reported by 20-60% of migraine patients, with the most common being aged cheeses, alcohol (especially red wine), processed meats with nitrates, chocolate, caffeine, and MSG
- Tyramine and histamine are the two biogenic amines most strongly linked to dietary migraine triggers, and both accumulate in aged, fermented, and cured foods
- The “Heal Your Headache” protocol eliminates common triggers for 4 months, then reintroduces them systematically to identify individual sensitivities
- A Mediterranean-style diet rich in anti-inflammatory foods may reduce migraine frequency and severity independently of specific trigger avoidance
- Magnesium, riboflavin (B2), and CoQ10 have the strongest supplement evidence for migraine prevention, with effect sizes comparable to some prescription preventives
How Food Triggers Migraine
The migraine brain is hyperexcitable. It reacts to changes and stimuli that a non-migraine brain would process without issue. Food triggers fit this model: they do not “cause” migraine in the way that a virus causes the flu, but they lower the threshold for an attack in a brain that is already susceptible [1].
Several mechanisms connect food to migraine:
- Vasoactive amines: Tyramine, histamine, and phenylethylamine in food can affect blood vessel tone and neurotransmitter activity. Tyramine triggers norepinephrine release, causing vasoconstriction followed by rebound vasodilation. Histamine causes direct vasodilation through H1 receptors in cerebral blood vessels [2].
- Nitric oxide donors: Nitrates in processed meats are converted to nitric oxide, a potent vasodilator that directly triggers the trigeminal pain pathway in migraine-susceptible individuals [3].
- Glutamate excitotoxicity: MSG and free glutamate can overstimulate NMDA receptors, contributing to cortical spreading depression, the neurological event underlying migraine aura.
- Blood sugar instability: Hypoglycemia triggers the sympathetic nervous system and releases stress hormones (epinephrine, cortisol) that can provoke migraine in susceptible brains.
The tricky part is that food triggers rarely act alone. A glass of red wine might trigger a migraine only when combined with poor sleep, stress, and a skipped meal. This stacking effect (sometimes called the “migraine threshold” model) explains why the same food causes an attack on Tuesday but not on Saturday [4].
Common Food Triggers
Tyramine-Containing Foods
Tyramine is a biogenic amine produced by bacterial breakdown of the amino acid tyrosine during aging, fermentation, and spoilage. It is the classic migraine food trigger and was the basis of the original “migraine diet” research in the 1960s [5]:
- Aged cheeses (blue cheese, cheddar, parmesan, brie, camembert, Swiss, gouda)
- Cured and fermented meats (salami, pepperoni, prosciutto, summer sausage)
- Fermented soy products (soy sauce, miso, tempeh)
- Sauerkraut and kimchi
- Tap beer (particularly craft beers with higher yeast content)
- Overripe bananas, avocados, and dried fruits
- Leftover meats and fish (tyramine content increases with storage time)
Patients on monoamine oxidase inhibitors (MAOIs) must avoid tyramine strictly because MAOIs block the enzyme that degrades tyramine, leading to dangerous hypertensive episodes. For migraine patients not on MAOIs, the connection is less acute but still clinically relevant.
Histamine-Rich Foods
Histamine in food follows similar patterns to tyramine: it accumulates with age, fermentation, and bacterial activity. Migraine patients with histamine sensitivity often have reduced activity of diamine oxidase (DAO), the enzyme responsible for gut histamine breakdown [6]:
- Wine (especially red wine, which is high in both histamine and tyramine)
- Champagne and sparkling wines
- Aged cheese
- Canned and smoked fish
- Fermented foods
- Vinegar and vinegar-based dressings
- Spinach, eggplant, and tomatoes
Nitrates and Nitrites
Sodium nitrate and sodium nitrite are preservatives used in processed meats (hot dogs, bacon, deli meats, jerky). They are converted to nitric oxide in the body, which triggers vasodilation and the trigeminal pathway. A 2016 study found that migraine patients had significantly more nitrate-reducing bacteria in their oral and gut microbiomes, suggesting individual variation in susceptibility to nitrate-triggered attacks [3].
MSG (Monosodium Glutamate)
MSG has been reported as a migraine trigger since the 1960s, but the evidence is more complicated than its reputation suggests. Controlled trials with MSG capsules (removing the confound of the food it was eaten with) show mixed results. A systematic review found that MSG in doses above 2.5 grams on an empty stomach can provoke headache in sensitive individuals, but the threshold is much higher when consumed with a full meal [7]. Free glutamate also appears naturally in parmesan cheese, soy sauce, tomato paste, and mushrooms.
Alcohol
Alcohol is the most consistently reported dietary migraine trigger across studies, with red wine leading the list. The mechanism is likely multifactorial: histamine content, tyramine content, sulfites (in wine), direct vasodilatory effects, dehydration, and disruption of sleep architecture all contribute. Vodka and clear spirits tend to be better tolerated than red wine, beer, and whiskey, likely due to lower congener and biogenic amine content [8].
Caffeine
Caffeine has a paradoxical relationship with migraine. In small, consistent doses, it is vasoconstrictive and can actually abort mild headaches (it is an ingredient in several OTC headache medications). But caffeine withdrawal is one of the most reliable migraine triggers there is. Habitual caffeine users who miss their morning coffee or who vary their caffeine intake day to day are priming themselves for withdrawal-triggered attacks. The “Heal Your Headache” protocol recommends either complete caffeine elimination or strict daily consistency [9].
Chocolate
Chocolate is commonly listed as a migraine trigger, but recent evidence suggests the relationship may be partly backward. The migraine prodrome (the pre-headache phase) often includes food cravings, particularly for sweet and chocolate-containing foods. Some patients who believe chocolate triggers their attacks may actually be craving chocolate because an attack is already beginning [10]. That said, chocolate does contain phenylethylamine, theobromine, and caffeine, all of which can affect migraine physiology. If you suspect chocolate, a formal elimination and rechallenge is the only way to know for sure.
The Heal Your Headache Protocol
The most well-known dietary approach for migraine is the protocol described by Dr. David Buchholz in his book “Heal Your Headache.” It is a three-step program [9]:
Step 1: Eliminate Rebound Medication
Overuse of acute migraine medications (triptans more than 10 days per month, NSAIDs more than 15 days per month) perpetuates the migraine cycle. Buchholz recommends eliminating or significantly reducing acute medication use as the first step.
Step 2: Reduce Triggers (Including Diet)
The dietary component involves eliminating a broad list of potential food triggers for a minimum of 4 months: caffeine (all sources), chocolate, MSG and hydrolyzed protein, nitrate-containing meats, aged cheese (fresh cheeses allowed), alcohol, vinegar (except white), citrus, bananas, avocados, dried fruits, onions, sauerkraut, olives, pickled foods, certain beans (broad, fava, lima), nuts (especially peanuts, walnuts, pecans), aspartame, and fresh yeast-risen baked goods.
Step 3: Preventive Treatment If Needed
If dietary modification and medication rebound elimination are not sufficient, prescription preventive medications are added.
The Buchholz approach has not been validated in randomized controlled trials, and the 4-month timeline is longer than most evidence-based elimination protocols. But many migraine specialists have observed meaningful improvement in patients who follow it consistently. The advantage is its comprehensiveness: by eliminating everything at once, you avoid missing that tyramine from soy sauce was the actual problem while you focused on cheese.
The Mediterranean Diet and Migraine
While trigger avoidance gets most of the attention, the overall dietary pattern matters too. A 2020 randomized trial published in Nutritional Neuroscience found that adherence to a Mediterranean diet reduced migraine frequency, duration, and severity over 12 weeks compared to a standard dietary advice control group [11].
The Mediterranean diet emphasizes:
- Olive oil as the primary fat source (rich in oleocanthal, a natural anti-inflammatory)
- Abundant vegetables, fruits, legumes, and whole grains
- Fish and seafood several times per week
- Moderate nuts and seeds
- Limited red meat and processed foods
- Moderate red wine (though migraine patients may want to skip this element)
The anti-inflammatory, antioxidant-rich nature of the Mediterranean diet likely reduces baseline neuroinflammation and oxidative stress, raising the threshold for migraine attacks. Think of it as lowering the water level in the migraine trigger bucket so that individual triggers have less impact.
Meal Timing, Blood Sugar, and Migraine
Skipping meals is one of the most common and most preventable migraine triggers. Hypoglycemia activates the sympathoadrenal system (a stress response) and triggers cortical spreading depression in susceptible brains. Population studies consistently rank “missing a meal” among the top three reported migraine triggers, alongside stress and poor sleep [12].
Practical strategies for blood sugar stability:
- Eat at regular intervals. Aim for meals no more than 4-5 hours apart. If you are not hungry enough for a full meal, a small snack containing protein and fat (a handful of seeds, cheese and crackers, a hard-boiled egg) prevents blood sugar dips.
- Avoid high-glycemic meals without protein or fat. A bagel with jam spikes blood sugar quickly and drops it just as fast. Adding cream cheese and an egg provides protein and fat that slow glucose absorption.
- Do not skip breakfast. After an overnight fast, blood sugar is already low. Going into the mid-morning without eating extends the fast and increases migraine risk.
- Watch for reactive hypoglycemia. Some people produce an exaggerated insulin response to carbohydrates, dropping blood sugar below baseline 2-3 hours after eating. If you notice migraines consistently 2-3 hours after high-carb meals, this pattern is worth investigating.
Hydration
Dehydration is another commonly reported and easily preventable trigger. Even mild dehydration (1-2% body weight loss in fluid) can trigger migraine. A small randomized trial found that increasing water intake by 1.5 liters per day reduced total headache hours by 21 hours over two weeks in participants with a history of migraine [13].
Electrolyte balance matters alongside total fluid volume. Sodium and potassium support fluid retention and neuromuscular function. For patients who drink adequate water but still feel dehydrated, adding a pinch of salt or using an electrolyte supplement can help.
Supplements for Migraine Prevention
Several supplements have strong enough evidence that major headache societies now include them in prevention guidelines [14].
Magnesium
Magnesium deficiency is present in up to 50% of migraine patients. Magnesium plays critical roles in neurotransmitter release, cortical spreading depression inhibition, and NMDA receptor regulation. A meta-analysis of five randomized controlled trials found that magnesium supplementation (400-600 mg daily of elemental magnesium) reduced migraine frequency by an average of 1.4 attacks per month. Magnesium citrate, glycinate, and threonate are the best-absorbed oral forms. Magnesium oxide, despite being commonly sold, has poor bioavailability [14].
Magnesium-rich foods include pumpkin seeds, almonds, spinach, black beans, dark chocolate (if tolerated), and avocado (if tolerated). Incorporating these foods daily alongside supplementation provides the best coverage.
Riboflavin (Vitamin B2)
Riboflavin is essential for mitochondrial energy production. Migraine brains show impaired mitochondrial energy metabolism between attacks, and riboflavin at high doses (400 mg daily) improves mitochondrial function. A landmark 1998 trial found that 400 mg daily of riboflavin reduced migraine frequency by 50% in 59% of participants (compared to 15% on placebo) after 3 months. It is well tolerated, with the main side effect being bright yellow urine [15].
Coenzyme Q10 (CoQ10)
CoQ10 is another mitochondrial cofactor. Like riboflavin, it addresses the energy metabolism deficit observed in migraine. A randomized trial found that 100 mg three times daily reduced migraine frequency by 48% compared to 14% for placebo after 3 months. CoQ10 supplementation at 300 mg daily also reduced attack duration and nausea. The ubiquinol form is better absorbed than ubiquinone [14].
Feverfew
Feverfew (Tanacetum parthenium) is an herbal supplement with a long history of use for headache. Its active compound, parthenolide, inhibits serotonin release from platelets and reduces inflammatory prostaglandin production. A Cochrane review found modest evidence supporting feverfew for migraine prevention, with the caveat that study quality was variable. Typical dosing is 50-100 mg of a standardized extract daily. Do not combine feverfew with blood thinners, as it has mild antiplatelet effects [14].
Additional Supplements
- Alpha-lipoic acid (600 mg daily): An antioxidant that reduced migraine frequency in a small RCT
- Butterbur (Petasites hybridus): Previously recommended by the American Academy of Neurology, but safety concerns about hepatotoxicity from pyrrolizidine alkaloids in poorly processed formulations led to withdrawal of the recommendation. If using butterbur, choose a PA-free certified product
- Vitamin D: Observational data links low vitamin D to higher migraine frequency, and supplementation studies show mixed but promising results
Putting It All Together: A Practical Migraine Diet Plan
- Start with the basics: Regular meals (no skipping), consistent caffeine intake (or none at all), adequate water, and sufficient sleep. These foundational habits prevent more migraines than any supplement.
- If food triggers are suspected, run a formal elimination. The Heal Your Headache list is comprehensive. A less aggressive option is to start by eliminating the “big five” (alcohol, aged cheese, processed meats, MSG, and chocolate) for 8 weeks and tracking migraine frequency.
- Shift toward a Mediterranean-style dietary pattern. More vegetables, more olive oil, more fish, fewer processed foods. This works independently of trigger avoidance.
- Add evidence-based supplements: Magnesium (400 mg), riboflavin (400 mg), and CoQ10 (300 mg) daily. Give them at least 3 months to show effect. These supplements are safe to combine with each other and with most prescription migraine medications.
- Keep a headache diary. Track migraine frequency, severity, duration, potential triggers, and food intake. Without data, you are guessing. With data, you can make informed decisions about which dietary changes are actually helping.
Related Reading
References
- Burstein R, Noseda R, Borsook D. Migraine: multiple processes, complex pathophysiology. J Neurosci. 2015;35(17):6619-6629. doi:10.1523/JNEUROSCI.0373-15.2015
- Millichap JG, Yee MM. The diet factor in pediatric and adolescent migraine. Pediatr Neurol. 2003;28(1):9-15. doi:10.1016/S0887-8994(02)00466-6
- Gonzalez A, Hyde E, Sangwan N, et al. Migraines are correlated with higher levels of nitrate-, nitrite-, and nitric oxide-reducing oral microbes in the American Gut Project cohort. mSystems. 2016;1(5):e00105-16. doi:10.1128/mSystems.00105-16
- Pavlovic JM, Buse DC, Sollars CM, Haut S, Lipton RB. Trigger factors and premonitory features of migraine attacks: summary of studies. Headache. 2014;54(10):1670-1679. doi:10.1111/head.12468
- Hannington E. Preliminary report on tyramine headache. Br Med J. 1967;2(5551):550-551. doi:10.1136/bmj.2.5551.550
- Wantke F, Gotz M, Jarisch R. Histamine-free diet: treatment of choice for histamine-induced food intolerance and supporting treatment for chronic headaches. Clin Exp Allergy. 1993;23(12):982-985. doi:10.1111/j.1365-2222.1993.tb00287.x
- Obayashi Y, Nagamura Y. Does monosodium glutamate really cause headache? A systematic review of human studies. J Headache Pain. 2016;17:54. doi:10.1186/s10194-016-0639-4
- Panconesi A. Alcohol and migraine: trigger factor, consumption, mechanisms. A review. J Headache Pain. 2008;9(1):19-27. doi:10.1007/s10194-008-0006-1
- Buchholz D. Heal Your Headache: The 1-2-3 Program for Taking Charge of Your Pain. Workman Publishing; 2002.
- Marcus DA, Scharff L, Turk D, Gourley LM. A double-blind provocative study of chocolate as a trigger of headache. Cephalalgia. 1997;17(8):855-862. doi:10.1046/j.1468-2982.1997.1708855.x
- Evcili G, Utku U, Ogun MN, Ozdemir G. Early and long period follow-up results of low glycemic index diet for migraine prophylaxis. Agri. 2018;30(1):8-11. doi:10.5505/agri.2017.62443
- Kelman L. The triggers or precipitants of the acute migraine attack. Cephalalgia. 2007;27(5):394-402. doi:10.1111/j.1468-2982.2007.01303.x
- Spigt M, Weerkamp N, Troost J, van Schayck CP, Knottnerus JA. A randomized trial on the effects of regular water intake in patients with recurrent headaches. Fam Pract. 2012;29(4):370-375. doi:10.1093/fampra/cmr112
- Loder E, Burch R, Rizzoli P. The 2012 AHS/AAN guidelines for prevention of episodic migraine: a summary and comparison with other recent clinical practice guidelines. Headache. 2012;52(6):930-945. doi:10.1111/j.1526-4610.2012.02185.x
- Schoenen J, Jacquy J, Lenaerts M. Effectiveness of high-dose riboflavin in migraine prophylaxis. A randomized controlled trial. Neurology. 1998;50(2):466-470. doi:10.1212/WNL.50.2.466