Migraine is a neurological condition affecting roughly one in seven people worldwide, marked by recurring attacks of throbbing head pain often accompanied by nausea, light sensitivity, and sound sensitivity. While medication and lifestyle factors like sleep and stress management remain central to treatment, diet is one of the few migraine triggers you have direct, daily control over. The challenge is that migraine triggers are highly individual: a food that reliably sets off attacks in one person may not affect another.

A 2025 review of dietary patterns and migraine found that alcohol, caffeine, chocolate, MSG, nitrates, and tyramine can trigger migraines in susceptible individuals, while carbohydrate-restricted diets, ketogenic diets, vitamin D3 supplementation, omega-3 fatty acids, and Mediterranean-style eating patterns have shown potential for reducing migraine frequency and severity. At the same time, the American Migraine Foundation notes that most tyramine studies have actually failed to find evidence linking it to migraine attacks, and researchers have found no consistent confirmation that cheeses, chocolate, dairy products, soy isoflavones, or vegetables reliably increase migraine risk. This is exactly why a structured migraine elimination diet, rather than a blanket list of forbidden foods, is the most reliable way to find your own triggers.

This grocery list explains the mechanisms connecting food to migraine, what to buy to support fewer and milder attacks, what to avoid while you test your personal sensitivities, and how to run an elimination diet correctly.

How Diet Triggers and Calms Migraine Attacks

Blood sugar swings destabilize the migraine brain. Migraine has been linked to disrupted glucose metabolism for nearly a century, with fasting and hypoglycemia consistently identified as triggers. Eating regular, balanced meals built around slow-digesting carbohydrates and protein keeps blood glucose steady and removes one of the most common and avoidable triggers.

Magnesium deficiency lowers the threshold for an attack. Magnesium regulates nerve excitability, vascular tone, and neurotransmitter release, all of which are disrupted during a migraine attack. People with migraine are more likely to be magnesium-deficient than the general population, which is why magnesium-rich foods occupy a central place in any migraine-supportive diet.

Vascular and amine-related triggers affect a meaningful subset of people. Tyramine, found in aged and fermented foods, and nitrates, found in cured meats, are both believed to act on blood vessel tone in the brain. The evidence for these specific compounds is mixed across studies, but they remain among the most commonly self-reported triggers and are worth testing individually.

Caffeine is a double-edged sword. Small, consistent amounts of caffeine can help treat an active migraine attack, but irregular intake and sudden withdrawal are both well-documented triggers. Consistency matters more than total elimination for most people.

Migraine diet grocery list

 

Migraine Diet Foods List: What to Buy

Magnesium-Rich Foods (Most Important Category)

Magnesium deficiency has been linked to the spreading cortical depression, vascular changes, oxidative stress, and nervous excitation believed to underlie migraine attacks, and supplementation has shown effectiveness in alleviating migraine both acutely and chronically in placebo-controlled trials.

Best sources:

  • Pumpkin seeds (one of the richest food sources of magnesium; eat as a daily snack)
  • Spinach and Swiss chard, cooked (high magnesium per serving; also provides riboflavin)
  • Almonds and cashews (magnesium plus healthy fat and protein)
  • Black beans and edamame (magnesium plus fiber for blood sugar stability)
  • Avocado (magnesium plus monounsaturated fat)
  • Bananas (a convenient, low-trigger magnesium snack)
  • Brown rice and quinoa (magnesium plus steady-release complex carbohydrate)
  • Dark chocolate, in small amounts only if you have confirmed it is not a personal trigger

Riboflavin (Vitamin B2) Rich Foods

A placebo-controlled trial published in the Journal of Headache and Pain found that a supplement combining riboflavin, magnesium, and coenzyme Q10 significantly reduced migraine pain intensity and headache impact compared to a placebo over a three-month treatment period. Additionally, high-dose riboflavin alone has been shown to reduce migraine frequency in separate clinical trials.

Best sources:

  • Eggs (riboflavin plus choline)
  • Lean beef (riboflavin plus iron)
  • Mushrooms (a strong plant source of riboflavin)
  • Fresh milk, not aged or cultured (riboflavin without the tyramine concerns of aged dairy)
  • Fortified whole grain cereals (check the label for added riboflavin)
  • Almonds (riboflavin alongside magnesium)

Omega-3 Rich Seafood and Seeds

Omega-3 fatty acids support healthy vascular tone and reduce the inflammatory signaling implicated in migraine, and dietary interventions that increase omega-3 intake have shown potential for reducing migraine frequency and severity.

Best sources:

  • Salmon, fresh (the richest source of DHA and EPA; eat two to three times weekly)
  • Sardines and mackerel, fresh (high omega-3; also provide calcium)
  • Walnuts (the richest plant source of omega-3 ALA)
  • Ground flaxseed and chia seeds (omega-3 ALA plus fiber; add to oatmeal or smoothies)

Hydrating, Low-Trigger Produce

Dehydration is consistently linked to headache onset, and building meals around water-rich produce supports steady hydration alongside your regular water intake.

Best choices:

  • Cucumber
  • Celery
  • Watermelon
  • Sweet potatoes (hydrating and a steady source of complex carbohydrates)
  • Caffeine-free herbal teas, brewed and chilled or served warm

Fresh, Minimally Processed Proteins

Fresh proteins avoid the tyramine and nitrate concerns of aged, cured, and processed meats while still supplying the steady energy and satiety that help prevent the blood sugar dips linked to migraine.

Best choices:

  • Chicken breast and turkey, fresh and unprocessed
  • Fresh white fish such as cod or halibut
  • Eggs
  • Fresh tofu, not fermented or aged

Steady-Blood-Sugar Complex Carbohydrates

Disrupted glucose metabolism appears to play a meaningful role in migraine, with research linking fasting and hypoglycemia to attacks and imaging studies showing migraine brains frequently exceed their glucose supply during periods of high demand. Building meals around slower-digesting carbohydrates instead of refined ones helps keep blood sugar from spiking and crashing between meals.

Best choices:

  • Oats (a steady, fiber-rich breakfast base)
  • Sweet potatoes
  • Brown rice and quinoa
  • Fresh whole-grain bread, not sourdough or other yeast-heavy baked goods

Foods to Avoid With Migraines

Tyramine-Rich Aged and Fermented Foods

The National Headache Foundation’s low-tyramine guidance identifies aged, dried, fermented, salted, smoked, and pickled foods as the primary dietary sources of tyramine, an amino acid believed to affect blood vessel tone in susceptible individuals. Evidence for tyramine as a true migraine trigger is genuinely mixed across studies, which makes this category one of the most useful to test individually through an elimination and reintroduction process.

Foods to test or avoid during elimination:

  • Aged cheeses such as blue cheese, brie, aged cheddar, parmesan, and swiss
  • Sauerkraut, kimchi, and other pickled vegetables
  • Soy sauce and other fermented soy condiments
  • Sour cream and buttermilk
  • Dried fruits such as raisins, prunes, and figs
  • Fresh sourdough bread and other yeast-heavy baked goods

Cured and Processed Meats

Cured and processed meats are preserved with nitrates and nitrites, compounds believed to release nitric oxide into the bloodstream and dilate blood vessels in the brain, a process some researchers connect to migraine onset in sensitive individuals.

Foods to avoid:

  • Bacon
  • Salami and pepperoni
  • Hot dogs
  • Deli and lunch meats
  • Smoked salmon and other smoked fish
  • Corned beef and ham with added nitrates

Alcohol, Especially Red Wine

Alcohol is one of the most consistently self-reported migraine triggers, and red wine appears somewhat more likely to trigger attacks than other alcoholic beverages, particularly among women. The mechanism is thought to involve a combination of dehydration, histamine, and tyramine content rather than alcohol alone.

Foods to avoid:

  • Red wine
  • Beer
  • Other alcoholic beverages, especially in combination with dehydration or skipped meals

MSG and Highly Processed Foods

Highly processed foods frequently contain monosodium glutamate (MSG) and other flavor additives that some people with migraine report as triggers, even though clinical studies on MSG specifically have produced inconsistent results.

Foods to avoid:

  • Instant noodles and seasoning packets
  • Canned and packaged soups
  • Flavored chips and seasoned snack mixes
  • Frozen prepared meals
  • Seasoned salts and bouillon cubes

Artificial Sweeteners

Artificial sweeteners, particularly aspartame and sucralose, have been reported as migraine triggers in case studies and self-reported surveys, even though large-scale clinical evidence remains limited.

Foods to avoid:

  • Diet soda
  • Sugar-free gum and candy containing aspartame or sucralose

Caffeine and the Withdrawal Trap

A randomized crossover trial on caffeine withdrawal found that abrupt caffeine withdrawal is a potent trigger for migraine attacks in regular caffeine consumers, while continuing a steady caffeine intake did not trigger attacks in the same study. The goal with caffeine is not necessarily zero intake but consistency.

What to watch:

  • More than two to three servings of coffee, tea, or soda per day
  • Energy drinks, which combine high caffeine with sugar
  • Sudden, unplanned caffeine cessation rather than a gradual taper

Migraine Diet Grocery List by Store Section

This list covers one week for one adult managing migraine through diet.

Produce

  • Spinach and Swiss chard, for magnesium and riboflavin (1 bag and 1 bunch)
  • Avocados, for magnesium (3 to 4)
  • Bananas, a portable magnesium snack (1 bunch)
  • Cucumber, for hydration (2)
  • Celery, for hydration (1 bunch)
  • Watermelon, for hydration (1 small or pre-cut container)
  • Sweet potatoes, for complex carbohydrates and hydration (3 medium)
  • Mushrooms, for riboflavin (300g)
  • Fresh ginger, for nausea support (1 piece)

Meat, Seafood, and Eggs

  • Fresh chicken breast and turkey, unprocessed protein (600g combined)
  • Fresh salmon, omega-3 priority (3 portions)
  • Fresh sardines or mackerel, omega-3, and calcium (2 portions)
  • Fresh white fish such as cod (2 portions)
  • Eggs, for riboflavin and protein (1 dozen)

Dairy and Alternatives

  • Fresh milk, not aged or cultured, riboflavin without tyramine concerns (1 carton)
  • Fresh mozzarella or cottage cheese, low-tyramine cheese options (1 tub)
  • Plain yogurt, fresh rather than long-aged (1 tub)

Pantry and Grains

  • Oats, a steady-release breakfast base (1 container)
  • Brown rice and quinoa (500g each)
  • Fresh whole grain bread, not sourdough (1 loaf)
  • Almonds, cashews, and pumpkin seeds, magnesium priority (200g each)
  • Ground flaxseed and chia seeds, omega-3 and fiber (200g each)
  • Black beans and edamame, magnesium and fiber (canned or frozen)

Beverages

  • Still water, primary beverage throughout the day
  • Caffeine-free herbal tea, ginger or peppermint (1 box)
  • Coconut water, for additional hydration support

Frozen

  • Frozen salmon or white fish fillets (1 bag)
  • Frozen spinach (1 bag)
  • Frozen mixed berries, antioxidants without common trigger compounds (1 bag)

Practical Tips for the Migraine Elimination Diet

Keep a headache and food journal. Write down everything you eat alongside when attacks occur, since most people cannot reliably identify their own triggers from memory alone over several weeks.

Do not skip meals. A 2008 study of 200 people with migraine found that fasting was the most commonly reported dietary trigger, ahead of both alcohol and chocolate, and the connection is consistently linked to falling blood glucose levels.

Stay consistently hydrated. Sip water throughout the day rather than waiting until you feel thirsty or notice the early signs of dehydration.

Keep caffeine intake steady. If you drink coffee or tea, have roughly the same amount at the same time each day, and taper down gradually if you are trying to cut back rather than stopping abruptly.

Reintroduce foods one at a time. During an elimination diet, wait at least three days between reintroducing each food so you can connect any reaction to the right culprit rather than guessing.

Talk to your doctor before starting a restrictive elimination protocol. This is especially important if you are also managing migraine with medication, since some supplements and dietary changes can interact with treatment.

The Bottom Line

Diet is not the whole story with migraine, but it is one of the most actionable levers you have. Building meals around magnesium-rich, riboflavin-rich, and omega-3-rich whole foods while limiting aged and fermented foods, cured meats, alcohol, MSG-heavy processed foods, and artificial sweeteners gives your body fewer potential triggers and more of the nutrients tied to better outcomes in clinical research. Pair that with steady meals, consistent hydration, stable caffeine intake, and a genuine elimination and reintroduction process, and you will have a much clearer picture of what your own migraine diet should look like.

Disclaimer: Nutritional data referenced in this article is sourced from USDA FoodData Central. This article is for informational purposes only and does not constitute medical or dietary advice. Migraine triggers vary significantly from person to person, and an elimination diet should ideally be undertaken with guidance from your doctor or a registered dietitian, particularly if you have other health conditions or take medication.

Save It For Later

About the Author

Junior Triomph

Founder

Junior Triomph is the founder and primary author of CollaborateForHealthyWeight.org. After gaining weight alongside his wife during her pregnancy and losing it through intermittent fasting, he founded the site in 2024 to cut through fad-diet noise with evidence-based guidance. His background in natural cosmetic formulation trained him to critically evaluate scientific literature and distinguish marketing hype from real evidence. Read more about Junior on the About page.

View All Articles