Can a Migraine Diet Help Prevent and Manage Symptoms?

Migraine is a debilitating neurological disorder estimated to affect more than 10% of the population worldwide. The development of a migraine attack is complex, involving a person's genetic makeup and exposure to various environmental/lifestyle triggers like diet.

This article explores the connection between migraine and diet and how strategies like avoiding certain dietary triggers or adopting a well-balanced eating pattern may help prevent migraines. Other migraine therapies and when to seek medical guidance are also briefly discussed.

A photo composite with best diets for migraines

Photo Composite by Amelia Manley for Verywell Health; Getty Images

What’s the Connection Between Migraine and Diet?

The connection between migraine and diet is multifactorial and has not been fully teased out.

While it's widely accepted that the trigeminovascular system (TVS) plays a fundamental role in causing migraine headaches. It's unclear precisely how diet fits into this picture.

What Is the Trigeminovascular System?

TVS is a pathway that connects trigeminal nerve (or fifth cranial nerve) fibers to blood vessels that travel within the brain's outer tissue covering (meninges).

With TVS activation, headache pain is produced through a cascade of events, including the release of various inflammatory proteins (e.g., calcitonin gene-related peptide) and the transmission of pain signals deep within the brain.

Even though it's not fully proven, many experts suspect certain dietary products may directly or indirectly activate the trigeminovascular system, triggering the underlying inflammatory processes that lead to a migraine headache.

While numerous foods and drinks—for example, alcohol, chocolate, and processed meats—have been reported as migraine triggers, identifying personal dietary triggers can be challenging.

Foods and drinks contain multiple ingredients, making pinpointing the actual migraine-provoking agent tricky. Also, dietary triggers do not typically cause a migraine 100% of the time.

Moreover, the triggering of a migraine attack, in some cases, seems to depend not only on the type of food/drink but also on the amount or timing of intake. For example, some dietary products only provoke a migraine attack when combined with other triggers or when consumed excessively or withdrawn suddenly, as seen with caffeine.

Another interesting paradox of caffeine is that while it may trigger a migraine, it's also been effective in easing mild-to-moderate migraine headaches. Sorting out whether caffeine is helping or harming your migraine can be challenging.

Further complicating the migraine/diet connection is emerging research on the impact of nutrition on a person's gut microbiome (the bacteria that live in the intestines).

Probiotic supplementation (altering your gut with live, healthy bacteria) has been found in some studies to reduce the number, severity, and duration of migraine attacks, although confirmatory studies are needed.

In the end, more investigation is required into the connection between migraine and diet. Targeted and individualized dietary strategies for migraine prevention can be devised through a better understanding of this connection.

What Do Migraine Attacks Feel Like?

Migraine causes disabling headache pain and occurs as recurrent attacks or episodes.

The timeline for a migraine attack is divided into four phases, as follows, although not everyone cycles through each phase:

  • Prodrome precedes the headache by up to three days and consists of symptoms like yawning, frequent urination, irritability, food cravings, and fatigue.
  • Aura consists of reversible neurological symptoms lasting five to 60 minutes. Symptoms are typically visual (e.g., seeing flickering lights) but can be sensory-, speech-, or movement-related.
  • Headache is characterized by moderate to severe pounding sensations on one or both sides of the head, often accompanied by nausea, vomiting, and light/sound sensitivity.
  • Postdrome lasts one to two days and is associated with poor concentration, fatigue, and a depressed or euphoric mood.

Best Foods and Drinks for a Migraine

Since the exact relationship between migraine and diet remains unknown, there are no formally recommended eating patterns or diets to prevent or treat migraine.

However, if you (or a loved one) experience migraine headaches, starting a food diary is sensible to identify potential dietary triggers in order to avoid or minimize exposure to them.

Under the guidance of a healthcare provider, you might also consider adopting a specific eating pattern to help decrease the symptoms and frequency of migraine attacks.

Limited scientific evidence suggests that the following dietary interventions help reduce migraine attacks:

  • The ketogenic diet mimics fasting and causes the production of ketone bodies (used by the body as energy when glucose is not available) through carbohydrate restriction.
  • The H3-L6 diet is rich in omega-3 fatty acids (found in salmon and nuts) and low in omega-6 fatty acids (found in sunflower, soy, sesame, and corn oils).
  • The DASH (Dietary Approaches to Stop Hypertension) diet is low in sodium (salt) and emphasizes the consumption of fruits, vegetables, low-fat or nonfat dairy products, nuts, and whole grains.
  • The Healthy Eating Plate (HEP) diet is a well-balanced eating pattern emphasizing anti-inflammatory foods like fish, nuts, fruits, and vegetables and reducing the intake of carbohydrates, red meat, and dairy products.

Speak With a Healthcare Provider

Only start a new diet under the care of a physician or nutritionist to avoid potentially harmful effects like vitamin or mineral deficits.

Besides diet, a healthcare provider or headache specialist may also recommend certain supplements for your migraine care, namely magnesium.

Since the link between migraine and magnesium deficiency is well-founded, consuming magnesium-rich foods (e.g., almonds, seeds, and greens) or taking a magnesium supplement—around 600 milligrams (mg) daily—may be advised.

Drinking water—try eight glasses of water daily—is another beneficial and straightforward tool for reducing migraine attacks' severity, duration, and frequency.

Lastly, it's important to remember that skipping meals is a commonly reported migraine trigger.

If hunger triggers your migraines, talk with a healthcare provider or headache specialist. They may recommend eating frequent, small meals throughout the day.

What Triggers a Migraine Attack?

Besides certain foods and drinks, it's essential to understand that there is a wide range of other migraine triggers or provoking agents.

Emotional and physical stress is perhaps one of the most commonly reported migraine triggers.

Other common triggers include:

What Foods Trigger a Migraine?

Several foods can trigger a migraine.

Seven of the commonly reported ones are:

  • Alcohol, especially red wine
  • Chocolate
  • Aged cheese (e.g., cheddar, Gouda, and Parmesan)
  • Cured and processed meats like hot dogs, sausage, bacon, and lunch meat
  • Smoked fish
  • Artificial sweeteners, especially aspartame
  • Monosodium glutamate (MSG) is found naturally in tomatoes and cheeses and is a common additive to fast foods, soups, soy sauce, and frozen meals.

Other Migraine Treatment Options

While eating well and ensuring adequate hydration are vital components of a migraine treatment plan, medication, home remedies, and other lifestyle modifications are often needed to optimize your care.

Medication

Migraine headaches that are mild in severity can usually be eased with an over-the-counter painkiller like Tylenol (acetaminophen) or the nonsteroidal anti-inflammatory drugs (NSAIDs) like Advil or Motrin (ibuprofen).

Take Precaution

Due to potential harm, not everyone can take Tylenol or NSAIDs like ibuprofen. Only take these drugs under the care of a healthcare provider.

Moderate to severe migraine attacks often require a prescription drug, such as a triptan, like Imitrex (sumatriptan), or a combination NSAID/triptan like Treximet (sumatriptan/naproxen).

Alternative options include Reyvow (lasmiditan) or a calcitonin gene-related peptide (CGRP) blocker, like Nurtec ODT (rimegepant).

Home Remedies/Lifestyle Modifications

In addition to medication, various home remedies can help soothe a migraine headache.

For example, if you are experiencing a migraine attack or prodrome, resting in a dark, quiet room and placing an ice pack on your neck can be helpful.

These lifestyle modifications can also help prevent migraine attacks:

  • Maintain a regular sleep schedule.
  • Avoid extreme heat and associated factors like bright sunlight or dehydration.
  • Minimize stress, and consider journaling, meditating, and exercising regularly.
  • Consider seeking emotional and mental health guidance from a therapist and/or joining a support group to connect with others with similar experiences.

When to See a Healthcare Provider

Talk with a healthcare provider or headache specialist if you are interested in identifying dietary triggers and/or making changes to your diet.

They may guide you through an elimination diet in which you remove one suspect food at a time for two weeks to see if it reduces the intensity and frequency of your migraine attacks. Alternatively, they may refer you to a nutritionist for more comprehensive changes to your diet.

Be sure to see a healthcare provider if your migraine headaches are occurring more often, are lasting longer, are becoming more severe, or simply feel different from prior ones.

Also, see a healthcare provider if you are pregnant, postpartum, over age 60, or have a history of cancer or a weakened immune system and are experiencing new migraine headaches.

Seek Emergency Medical Attention

Go to an emergency room or call 911 if you are experiencing:

  • A sudden, severe headache that develops within a few seconds or minutes
  • A headache associated with fever/stiff neck, painful red eye, seizure, fainting, or stroke symptoms
  • A headache after a head or neck injury/trauma

Summary

Migraine is a complex neurological disorder associated with a throbbing headache and associated symptoms like nausea, vomiting, and light/sound sensitivity. Environmental and lifestyle factors may trigger migraines, including specific dietary products like alcohol, caffeine, chocolate, aged cheeses, and processed meats.

The precise connection between migraine and diet has yet to be fully understood. However, avoiding or minimizing exposure to personal food/drink triggers for migraine prevention and eating a well-balanced diet is reasonable. Under the guidance of a healthcare provider, you may also consider adopting a ketogenic, omega-3-rich, or DASH diet.

26 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Walter K. What is migraine? JAMA. 2022;327(1):93. doi:10.1001/jama.2021.21857

  2. Ashina M, Hansen JM, Do TP, et al. Migraine and the trigeminovascular system-40 years and counting. Lancet Neurol. 2019;18(8):795-804. doi:10.1016/S1474-4422(19)30185-1

  3. Hindiyeh NA, Zhang N, Farrar M, Banerjee P, Lombard L, Aurora SK. The role of diet and nutrition in migraine triggers and treatment: a systematic literature review. Headache. 2020;60(7):1300-1316. doi:10.1111/head.13836

  4. Nowaczewska M, Wiciński M, Kaźmierczak W. The ambiguous role of caffeine in migraine headache: from trigger to treatment. Nutrients. 2020;12(8):2259. doi:10.3390/nu12082259

  5. Martami F, Togha M, Seifishahpar M, et al. The effects of a multispecies probiotic supplement on inflammatory markers and episodic and chronic migraine characteristics: a randomized double-blind controlled trial. Cephalalgia. 2019;39(7):841-853. doi:10.1177/0333102418820102

  6. Rizzoli P, Mullally W. HeadacheAm J Med. 2018;131(1):17-24. doi:10.1016/j.amjmed.2017.09.005

  7. Dodick DW. A phase-by-phase review of migraine pathophysiology. Headache. 2018;58 Suppl 1:4-16. doi:10.1111/head.13300

  8. Singla M; Sulena 2; Kale R, Brar J, Bhardwaj S. Visual Aura in Migraine: An Analysis of 165 Patients in a Tertiary Care Hospital in North India. J Neurosci Rural Pract. 2021 Apr;12(2):273-280. doi:10.1055/s-0040-1721624

  9. Di Lorenzo C, Coppola G, Sirianni G, et al. Migraine improvement during short lasting ketogenesis: a proof-of-concept study. Eur J Neurol. 2015;22(1):170-177. doi:10.1111/ene.12550

  10. 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. doi:10.1136/bmj.n1448

  11. Mirzababaei A, Khorsha F, Togha M, Yekaninejad MS, Okhovat AA, Mirzaei K. Associations between adherence to dietary approaches to stop hypertension (DASH) diet and migraine headache severity and duration among women. Nutr Neurosci. 2020;23(5):335-342. doi:10.1080/1028415X.2018.1503848

  12. Altamura C, Cecchi G, Bravo M, et al. The Healthy Eating Plate advice for migraine prevention: an interventional study. Nutrients. 2020;12(6):1579. doi:10.3390/nu12061579

  13. von Luckner A, Riederer F. Magnesium in migraine prophylaxis-is there an evidence-based rationale? A systematic review. Headache. 2018;58(2):199-209. doi:10.1111/head.13217

  14. Khorsha F, Mirzababaei A, Togha M, Mirzaei K. Association of drinking water and migraine headache severity. J Clin Neurosci. 2020 Jul;77:81-84. doi:10.1016/j.jocn.2020.05.034

  15. Turner DP, Smitherman TA, Penzien DB, Porter JA, Martin VT, Houle TT. Nighttime snacking, stress, and migraine activity. J Clin Neurosci. 2014;21(4):638-643. doi:10.1016/j.jocn.2013.08.013

  16. Stubberud A, Buse DC, Kristoffersen ES, Linde M, Tronvik E. Is there a causal relationship between stress and migraine? Current evidence and implications for managementJ Headache Pain. 2021;22(1):155. doi:10.1186/s10194-021-01369-6

  17. Kesserwani H. Migraine triggers: an overview of the pharmacology, biochemistry, atmospherics, and their effects on neural networks. Cureus. 2021;13(4):e14243. doi:10.7759/cureus.14243

  18. Maini K, Schuster NM. Headache and barometric pressure: a narrative reviewCurr Pain Headache Rep. 2019;23(11):87. doi:10.1007/s11916-019-0826-5

  19. Tiseo C, Vacca A, Felbush A, et al. Migraine and sleep disorders: a systematic review. J Headache Pain. 2020;21(1):126. doi:10.1186/s10194-020-01192-5

  20. Imai N, Osanai A, Moriya A, Katsuki M, Kitamura E. Classification of odors associated with migraine attacks: a cross-sectional study. Sci Rep. 2023;13(1):8469. doi:10.1038/s41598-023-35211-7

  21. Chai NC, Peterlin BL, Calhoun AH. Migraine and estrogenCurr Opin Neurol. 2014;27(3):315-24. doi:10.1097/WCO.0000000000000091

  22. American Migraine Foundation. Migraine and diet.

  23. Onderwater GLJ, van Oosterhout WPJ, Schoonman GG, Ferrari MD, Terwindt GM. Alcoholic beverages as trigger factor and the effect on alcohol consumption behavior in patients with migraine. Eur J Neurol. 2019;26(4):588-595. doi:10.1111/ene.13861

  24. Sprouse-blum AS, Gabriel AK, Brown JP, Yee MH. Randomized controlled trial: targeted neck cooling in the treatment of the migraine patientHawaii J Med Public Health. 2013;72(7):237-41

  25. Gazerani P. Migraine and dietNutrients. 2020;12(6):1658. doi:10.3390/nu12061658

  26. Phu Do T, Remmers A, Schytz HW et al. Red and orange flags for secondary headaches in clinical practice: SNNOOP10 listNeurology. 2019;92(3):134-144. doi:10.1212/WNL.0000000000006697

Colleen Doherty, MD

By Colleen Doherty, MD
Dr. Doherty is a board-certified internist and writer living with multiple sclerosis. She is based in Chicago.