assortment of full-fat cheese

Migraines are a pain. Even worse than the pain, though, is the life disruption. Some sufferers lose days every time a headache strikes hiding in a dark quiet room. They may feel horribly nauseated or completely enervated. Most would welcome a way to prevent migraines. Some people find that avoiding certain foods can help. That could be a direct effect, or it could be indirect. If changing your diet means you are less likely to need heartburn medicine, that too makes a difference.

Acid-Suppressing Drugs Associated with Greater Chance of Migraine:

Acid-suppressing medicines such as esomeprazole (Nexium) and omeprazole (Prilosec) help treat heartburn, gastroesophageal reflux disease and other digestive disorders. An analysis of data from almost 12,000 individuals found that people taking such medications are more likely to suffer migraine headache. Those on PPIs like omeprazole are 70% more likely to have a diagnosis of migraine than people not taking such medicines (Neurology Clinical Practice, April 24, 2024).

This research does not show that the proton pump inhibitors (PPIs) actually cause headaches. However, the findings suggest that people who wish to prevent migraines should stay away from foods that would prompt them to take such medicines.

Can Avoiding Certain Foods Prevent Migraines?

Q. My husband used to get migraines. He was suffering so much, I decided to see if it was related to food.

For a two-month period, I wrote down what he ate every day. We discovered that within three days before each migraine, he had eaten Chinese food, salted peanuts, sharp cheese or a frozen lasagne. We switched to fewer frozen entrees, moderated consumption of cheese and peanuts and asked for no MSG in our Chinese food.

As a result, his migraines went from once a month to about two a year.

Migraine Headache Food Triggers:

A. Headache specialists consider food triggers for migraine to be controversial (Martin & Vij, Headache, Oct. 2016).  That’s because there are relatively few well-controlled scientific studies of dietary triggers.

That said, there is general recognition that some people may be susceptible to certain foods. Among the most common culprits blamed are alcohol, chocolate, aged cheese, monosodium glutamate (MSG), nuts, salami, nitrite preservatives and artificial sweeteners such as aspartame. A food diary of the sort you kept is a very good way to uncover migraine triggers for a given individual.

In fact, a study in children found that many of those who avoided frequent triggers such as aspartame, caffeine, MSG, cocoa, cheese, citrus and nitrites had fewer headaches (Taheri, Nutrition and Health, March 2017). This particular study showed that eliminating the most frequently consumed suspects made the headaches go away.

Learn More:

You can learn more about food triggers, a connection between celiac disease and migraine headaches and nondrug approaches that can help prevent migraines in our Guide to Headaches and Migraines. You may also wish to listen to our interview with Dr. Kulreet Chaudhary, Show 1033. In it, she describes how she turned to Ayurvedic medicine when conventional medications did not help her own migraines.

If you have had success reducing your migraine headache frequency by altering your diet, please tell us about it in the comment section. We are always interested.

Get The Graedons' Favorite Home Remedies Health Guide for FREE

Join our daily email newsletter with breaking health news, prescription drug information, home remedies AND you'll get a copy of our brand new full-length health guide — for FREE!

  1. Celia
    Reply

    Absolutely, avoiding trigger foods (aged cheese, almost all wine/beer, preserved meats, chocolate, tree nuts, possibly some preservatives or dyes?) has worked for me. Also helpful; sleeping enough on a very regular schedule and avoiding flickering lights.
    That said, it can be quite a challenge keeping migraines away. It took a long time before I could identify all my triggers, and I can barely eat out. (But think of all the money I’ve saved!) It’s a lot of work having to be so fussy all the time – I can only eat my own food at potlucks, for example.
    I got better after I retired and could actually control my environment. I am now getting maybe one a month instead of 4 to 7 a week, when I was young.
    On the plus side, I can now stop a headache that is starting with a couple of cups of strong coffee – no more strong drugs with unfortunate side effects, no more heavy lifting for my liver.
    Hey, Peoples Pharmacy, thanks for your efforts, by the way!

  2. Ellen
    Reply

    In my adult years, I’ve had migraine headaches, migraine auras, and sudden temporary vision loss (twice in ten years, diagnosed by a physician as “migranoid”). I’ve also had bouts with vertigo. Unrelated, I thought. However, the last episode lasted abnormally long, over a two-week period. I normally recovered from vertigo in two or three days.

    Thinking back to what might have changed to cause the dizziness, I realized I had added a square or two of dark chocolate to my daily diet. So, I went online and searched for chocolate plus vertigo and learned about a type of migraine I had never heard of before: vestibular migraine! I knew chocolate was a headache trigger for me, but the headache pain had not stopped me from eating chocolate occasionally, sorry to say. Vertigo did! I quit chocolate nine months ago and have been free of all migraine symptoms since!

  3. Rich
    Reply

    I have had migraines with aura for almost forty years. The foods that will trigger them are nitrates (hot dogs) and the MSG in many foods. But I have discovered that if I take aspirin on a regular basis (daily) it can halt all migraines. Had a surgery last year and had to stop the aspirin for 7 days. I had three migraines before I could start the aspirin again. I take at least 81 mg (baby aspirin) a day if not more.

  4. Richard
    Reply

    Chocolate! Has worsened with age. MSG. Recently after eating 3 hot dogs, no buns. So whatever chemical enhancements are in them.
    Usually not severe, just moderate to annoying. Almost always last at least 3 days.
    Triptan meds always work, but can no longer take them because of med interactions. So I am very careful.

  5. Thomas
    Reply

    I had migraines for some time. I finally realized that each one followed drinking iced tea, which I had been drinking most of my life. I quit tea and haven’t had one for several years. I am 92 years old now, and this was probably 20 years ago.

  6. Jeanette
    Williamsburg, VA
    Reply

    I learned twenty years ago that any foods with tannins caused or exacerbated migraines for me. It’s tricky to know what foods have tannins in them.

  7. Marsky
    NY
    Reply

    A common cause of migraines and tension headaches, both frequency and intensity, is excessive nighttime teeth clenching This compresses the muscles and nerves in those muscles in different areas the head and neck and results in pain. I am a retired dentist who had worked with many people with either migraine or tension headache pain. For most people presenting them with a small customized dental appliance called an NTI-tss that dramatically reduced nighttime clenching. This completely stopped or dramatically reduced the frequency and intensity of a person’s pain. http://www.theheadacheremedy.com/

  8. Evelyn
    NC
    Reply

    Suffered many years from severe migraine pain and effects until bits and pieces of info were slowly collected (prior to internet) about anything pickled or fermented (including soy sauce), ALL flavor enhancers (MSG and related), pineapple, papaya, cheese and other food/beverages on trigger lists. Look for anything marinated with pineapple or papaya content as well. Tracking caffeine intake important for me (take in a bit each day to avoid withdrawal).

    MDs don’t seem well versed in the dietary connection for migraines. Really miss tequila and champagne but not the pain. Best med for me has been generic Fioricet (not brand, too expensive). Shop for best price as not on any formulary. Works great and I experience no side effects. When I sleep, get up, how much I sleep, etc., doesn’t seem to matter. When I eat, as along as I watch for triggers, doesn’t matter. Chocolate has not seemed to be a problem for me even though it’s on all the lists, but don’t eat lots of it anyway.

    Words to the wise: read labels, ask for info in restaurants, avoid sauces and gravies unless you make them, delete all triggers and add back slowly to learn which ones are your problem. However, home cooked meals at friends and relatives or potluck dinners are a mine field and you just have to use your best judgement as to what to eat. Bottom line is that I like to dine out and socialize with food so can never completely eradicate migraines but they are kept to a low level and much less frequent. With generic Fioricet, my life is dramatically improved. A script lasts for ages as one tablet is usually enough to stop a low level migraine. Rarely get one above a level 5 (usually just a 3) any more and they were always level 9 or 10 before learning the above info.

  9. Margaret
    Florida
    Reply

    Before there was the People’s Pharmacy there were women’s magazines at the checkout at the grocery. I discovered my food triggers there. There are two amino acids in various foods that are problematic for some people especially when estrogen is high. I haven’t had a migraine since then, 30 years ago. Except one time when I had a cup of coffee, which I almost never drink.

  10. sherry
    Reply

    My migraines went away when I quit eating anything with even the slightest amount of gluten in it. You would be surprised what has gluten in it, so I have to read all labels carefully. Cooking from scratch works best without using condiments. But I know when I accidently get some gluten in something I ate because I will get a short term migraine and other symptoms. Free Costco samples and food at other people’s house are my downfall (many of which don’t know what gluten is so swear there isn’t any in their food, also there is frequently cross contamination with other food that being cooked)

  11. Nancy
    Massachusetts
    Reply

    I have a lot of food triggers for my migraines: chocolate, sugar, fermented foods, even potatoes and cooked spinach will seem to do it. But what I did find is that when the first symptoms start — I get an aura and visual disturbances to start with — if I take an aspirin right away, the aura goes away after about fifteen minutes or so, and then I don’t even get the headache. I guess this is unusual, to have aspirin work so well? But in case this can help someone else, I wanted to share it. The key, I think, is to take it as soon as symptoms start.

  12. Laura B
    ga
    Reply

    I have had what I called migraines since age 40. Finally, I saw a chiropractor who told me that my facial sinuses were quite a mess. Then I saw a neurologist who asked me some good questions I hadn’t heard before about my diet; he then applied a spray to my nostrils, not telling me the reason. All of a sudden, I felt a little drainage and told him. . . he said “I thought as much; it only takes a small amount of congestion to give some people terrible headaches”.

    I was amazed; I have never had any kind of allergic reactions to ANYTHING. But it turns out, I am slightly allergic to dairy casein ( which is an ingredient in many “dairy-free” foods). The small amount of congestion my body produced, in reaction to the casein, caused pressure in my (inefficient) sinuses; the headaches would continue until that congestion cleared.

    So, now I avoid dairy protein (dairy fats are fine for me) and when those headaches come, I no longer try to find a pain reliever; I use head massage, facial wet hot compresses, and OTC non-steroidal nose sprays (to avoid addiction).

  13. KMC
    Reply

    Does the weather play a part in the headaches. whenever changes or severe storms or thunderstorm a day away causes sinus headaches for days. My teeth ache too and ear. ENT couldn’t find anything after years suffering and 6 dentists, endo, oral surgeon, periodontal find nothing wrong with teeth but possibly metal in old crowns. Gluten is something trying give up.

  14. Charlotte
    New Jersey
    Reply

    Allergies can also exacerbate migraines. I get 2-3 week in August through September unless I take allergy medication all the time. Except for MSG and artificial sweeteners, foods have never been a trigger for me.

  15. Mary
    Wisconsin
    Reply

    I suffered from migraines from age 21 to 36. They were occurring weekly when we lived for 4 years in a state with glaring sunshine and oil refineries. They caused me to vomit and made it difficult to care properly for our children. The drugs available in 1986 were not helpful, but I found a list of possible triggers and eliminated alcohol, chocolate, caffeine, aged cheese and citrus from my diet.

    Eating and sleeping at regular hours as well as regular exercise helped. The headaches came much less frequently and were less severe. My new doctor prescribed Imitrex which helped immensely. I was able to reintroduce citrus and small amounts of cheese to my diet and best of all, I enrolled in law school in 1988, something I could not imagine when I was suffering from those immobilizing headaches.

  16. Donna
    North Carolina
    Reply

    I have had migraine aura since I was a teenager, now in my 60s. The headaches that come after are rarely debilitating but the auras are worrisome because you never know when they will come and can last up to an hour. My doctor did a food sensitivity test a few years ago to see if my gut issues were due to food allergies and it turns out that I’m sensitive to wheat, eggs, milk, and a few others that were low on the scale. I stopped eating those foods and the auras stopped. If I now have an aura I can always trace it back to something I ate, usually about 24 hours before. The gut issues are better, though not completely resolved probably because those other foods on the list I still eat because they don’t give me migraine aura.

  17. Peggy
    San Diego, CA
    Reply

    Yes, I had migraines triggered by estrogen withdrawal, aged cheese (Parmesan), MSG, nitrites, and even red wine vinegar, as well as glare, chemical smells, and stress. I did not drink coffee nor eat chocolate for years. My headaches improved with avoiding these triggers, but also with supplementing magnesium, vitamin B2/feverfew, and butterbur; as well as fish oil and CoQ10. No more headaches since going through menopause, although I still take magnesium and have chosen to avoid gluten.

    I did hear that 1/8 tsp powdered ginger worked as well as rx meds to stop a migraine, when taken immediately (Nutritionfacts.org). I wish I had known that earlier!

  18. Lombard
    Reply

    Oh, and add Ranch dressing and aspartame to two of the worst foods for me. I used to get a headache when I played bridge with the ladies. I was eating dry roasted nuts [msg], eating veggie pizza [Ranch dressing], and drinking diet soda [aspartame]. Also like one of the other responders, my headache would sometimes come 24-48 hours after I ate the offending foods. Realizing I was getting a horrible headache at the same time after bridge night each month was a breakthrough for me. Any scientist who says we have no evidence needs to do some more research and controlled studies.

  19. Lombard
    Reply

    YES, you can control at least some migraines with diet. Years ago I had a diet written out for me that my doctor might have gotten from the National Headache Foundation. Migraines, as I understand it, are a result of the triggers reaching and going beyond a threshold level, so sometimes a hormone shift can contribute to a migraine. I did not realize that msg was a trigger until after menopause, and there was no longer an influence from hormones. The NHF diet also lists the many names that msg or similar glutamates are hidden under in a food list. I always avoid anything with “natural flavor.” Also, “yeast extract.” I always read labels. “Good for you” canned soup is usually loaded with msg. Look for it under another word if the can says “no msg”.

  20. Ron
    Reply

    Some years ago I figured out that the dark chocolate I was eating was the cause of repeated migraines. I had gone from about one or two a year to about one to three a week, although they were mild as far as migraines go. Eventually I decided it was the amino acid tyrosine in the chocolate. I cut down on the dark chocolate, and things were much better. I would still try to resume eating chocolate from time to time, limiting myself to small amounts. Sooner or later I would start to have migraines again. I also suffered from insomnia, and I suspected that the stress and fatigue may also have been a factor.

    Some months ago I read online that too much of the stimulating neurotransmitter Glutamate was associated with insomnia, migraines, acid reflux, and stomach troubles, all of which I had. I read about countering this condition by increasing GABA( Gamma-aminobutyric acid), another neurotransmitter that has a calming effect. I started eating cottage cheese (high in GABA) an hour or so before bedtime and the insomnia improved about 75%. I also started drinking oolong tea which also has GABA. I believe the insomnia may have been a contributing factor, along with the tyrosine in dark chocolate.

  21. Sarjula
    Reply

    If I take Magnesium it reduces migraine attacks.

    Also Flurbiprofen(derivative of Ibuprofen) works very well with me. It goes away within an hour.

    • Sally
      Reply

      I find that 100mg of B2 does the trick for me.

  22. Judy
    Cary
    Reply

    I frequently get eye migraines that often disappear in 30 minutes. They seem to be triggered by a change in temperature; the latest one was when I went out to the mailbox without a jacket and then drank a cold glass of eggnog. In the summer I can go out in the heat to pick a tomato and come in to eat it for lunch in the air conditioning, and the migraine will begin. They are most common just at noon. Stress plays a role. They seem to be connected to company coming or having just left. I haven’t identified any special food trigger. They are usually in the right eye but if the left eye, they don’t go away as quickly. Years ago they would go into numbness and sensitivities that would last all day.

    • Lynn
      Washington State
      Reply

      I recently found out some of my favorite foods are triggers – oranges, tomatoes, raisins, avocados, sausage, grapes, pineapple. Chocolate so far does not seem to be a trigger. I’m not sure how to keep my diet as healthy without them, but it’s wonderful to have far fewer migraines, and to be sleeping better. Advil Allergy also helps during the day, Sinex at night when needed, or Maxalt when all else fails.

  23. Mike
    Greenwood, SC
    Reply

    I have had migraines since my twenties and have had to take multiple tablets of aspirin, acetaminophen, or ibuprofen just to go to work. Then along came sumatriptan (Imitrex), and I thought of it as my miracle drug. The headaches were gone in an hour, and I could function normally. Then in May of last year, in an attempt to lose about twenty pounds, I cut out most of the sugar in my diet – no cookies, cakes, pies, candy, etc. (a bit of ice cream occasionally ). To my amazement my migraines stopped. I have only had one (it was minor) in the last nine months. I even stopped filling my prescription for sumatriptan. I won’t say I have proof the sugar was the cause but this is working for me, plus I’m losing fat, and that’s wonderful.

  24. Sharon
    Indianapolis
    Reply

    I had Migraines for years. I had to go to bed for two days. The vomiting was worse than the headaches. I tried all kinds of prescription medications and lowered my salt intake. The meds would work for a while then quit working.
    My migraines magically went away when I went thru the change. No more headaches.

  25. Roberta
    wisconsin
    Reply

    I have traced most of my migraines to foods. It turns out that foods containing tyramines trigger my migraines. Yogurt, avocados, ripe bananas, and prunes for starters. My Dr. suggested 6 prunes daily for constipation, and I had an almost constant aura before I checked to see if prunes were on the tyramine list. They were, and I stopped taking them immediately. The auras ceased within a few hours. This is difficult, because many fruits and vegetables can develop tyramines when over-ripe or when fermented. All of these foods are promoted as being healthy, but not for me.

  26. Karen
    Reply

    I have never been diagnosed with migraines. One doc told me I had cluster headaches (I disagree), another trigeminal neuralgia (sounds more like it). In any case, I get headaches that last 3 to 4 days, and I become very sensitive to noise, light, and smells. I used to get them every 3 to 4 months, but more recently was having them every 2 or 3 weeks – very disruptive since I am incapacitated each time.

    Triggers are not particular foods but my eating schedule. If I am 2 hours late to eat lunch, I am doomed. No sleeping in on weekends for me either. I have to eat by 8 or so to avoid a headache. Keeping a regular schedule has helped tremendously, and I haven’t had a headache now in 2 months.

    The only particular food to watch for me is caffeine. I can drink it daily, but if I stop, the withdrawal headache is 3 or 4 days long. So I decided to stop it altogether.

    • Elizabeth
      Raleigh, NC
      Reply

      Only MSG and foods with nitrites in them can trigger my migraines. Dehydration is a huge factor, and it’s just as easy to become dehydrated in the winter as the summer. What I can’t control is quick changes in barometric pressure. Gets me every time.

  27. Jane H
    Salem, Oregon
    Reply

    I used to get migraines regularly from chocolate or coffee withdrawal. It took me a long time — decades! — to recognize these triggers since it happened a day or two after the last time I had chocolate — or in the case of coffee, every Saturday when I slept in and delayed my first cup of coffee in the morning. Since menopause I no longer have migraine headaches and have coffee and chocolate whenever I like. I sometimes have a brief episode of visual migraine, but no headache.

  28. Jay
    Charlotte, NC
    Reply

    After suffering from 15 headache days a month my physician tested my blood for sensitivity to over 300 foods. I immediately stopped eating the 15 foods I tested positive to for several years. I still had migraines. I eventually got my migraines under control with a myriad of preventive methods including daily exercise, consistent bed and wake times, Botox injections, daily use of a Cephaly, anti-migraine supplements and others. I can now eat most of the foods on my sensitivity list without a headache but still cannot eat dairy, sugar, nuts, and anything fermented or distilled. I now only have about two migraine days per month. I think each individual is different and must experiment to find what works for them, but I suspect foods are a trigger for many.

  29. Patti
    Reply

    My monthly migraines dropped to less than one a year when I gave up diet soda and gluten. I had already given up dairy (except cheddar and mozzarella, which I still eat).

  30. Debbie
    TX
    Reply

    I started with migraines when I was seven years old. Every week I would be sent home from school with a migraine because they always caused me to vomit. I would spend the rest of the day and night in a dark, silent room battling the excruciating pain. Visits to doctors yielded prescriptions, but they never did anything to stem the migraines. As I got older the migraines would last longer, sometimes up to a week.

    11 years ago, at the age of 54, I was diagnosed with gluten sensitivity. I actually had a migraine at the time, and my dear husband had been feeding me chicken noodle soup and crackers, which we now know made it worse. I went home, cut out all gluten from my diet. The migraine disappeared, and I have now been migraine-free for 11 years. In fact, I have not had a headache of any kind. For me it was a miracle.

  31. Rick
    Tampa, FL
    Reply

    It is absolutely possible to alter your migraines with diet. I am 73 y old and troubled in a variety of ways, primarily a migraine as I understand it as result of nitrites,since I was a teenager. I have found medical tests and advice particularly ineffective and even insulting.

  32. Susan Wolfe
    Ripley,WV
    Reply

    I suffered for 20 years with migraine headaches every weekend. Then a doctor on one of the morning shows said to watch your diet and maybe find out the cause. I found out it was cheese. When I stopped eating cheese, my headaches stopped. I learned later that I could eat natural cheese but not processed cheese.

  33. Julie
    Houston
    Reply

    Keeping gluten (bread, baked goods, wheat pasta) to a minimum significantly reduced my headaches in frequency and severity. Now ‘little migraines’ may keep me in a dark room listening to podcasts all day if I don’t take migraine meds soon enough. But the pain is a manageable level 1-2 instead of a screaming I-want-to-die level 8-10. Also, I rarely experience nausea and vomiting anymore.

  34. Joan
    VT.
    Reply

    I cut way back on chocolate, sharp cheddar cheese, and red wine. I did finally omit red wine totally.
    Then I tried to eliminate stressors in my life.
    Worked quite well! Am now able to do away with most migraines, and if I do have one I can usually trace it to one of the above.

  35. Haticha
    Boston, MA
    Reply

    Hi,
    Yes I do agree that food is major trigger of my migraine. I have been a migraine sufferer for over a decade. I moved to US ten years ago, and I have been introduced a new food/vegetable, SWEET CORN. I ate corn and loved it but I had migraines every single day. I remember the last time I ate the corn I end up in urgent care with severe headache, vomiting, and could not see. I now avoid any corn product. High fructose corn syrup gives me a horrible migraine within seconds. First, I get shock-like pain on one side of my head, and I will check if to see there was HFCS in the food or beverage I was concerned about, and yes, it is HFCS. I also don’t consume red wine, American cheese, dark chocolate, Cumin, and some aged cheeses. I also try to avoid some perfumes. I still get migraines every month even though I avoid triggers bc it is hormonal, too. Thanks.

What Do You Think?

We invite you to share your thoughts with others, but remember that our comment section is a public forum. Please do not use your full first and last name if you want to keep details of your medical history anonymous. A first name and last initial or a pseudonym is acceptable. Advice from other commenters on this website is not a substitute for medical attention. Do not stop any medicine without checking with the prescriber. Stopping medication suddenly could result in serious harm. We expect comments to be civil in tone and language. By commenting, you agree to abide by our commenting policy and website terms & conditions. Comments that do not follow these policies will not be posted. Learn how your comment data is processed.

Your cart

Total
USD
Shipping and discount codes are added at checkout.