Keto Diet App - Free Download Keto Diet App - Free Download
Take the guesswork out of following a low-carb diet, lose body fat & feel great!
KetoDiet app is FREE to download!

Can the Ketogenic Diet Help with Migraines?

4.7 stars, average of 107 ratings

This post may contain affiliate links, see our disclaimer.
Expert ArticleEvidence Based

Can the Ketogenic Diet Help with Migraines?ShareFollow us 261.1k

Table of Contents

If you or someone you know experiences migraines, then you know these debilitating attacks are far more than mere headaches. In addition to severe, throbbing pain, migraines often also involve visual disturbances, nausea, vomiting, dizziness, extreme sensitivity to sound, light, touch and smell, and tingling or numbness in the extremities or face.

As many as 25% of migraine sufferers experience a visual phenomenon called an aura. Attacks typically last between 4 and 72 hours and in 15-20% of cases, the head pain is preceded by the other neurological symptoms (1).

Because migraines are increasingly recognized as neurological in origin, it’s possible ketogenic diets may have a therapeutic effect for people afflicted with these attacks. Ketogenic diets exert their effects via several mechanisms that induce multiple biochemical changes in the body and brain that improve neurological function ( 2,  3). Some of the mechanisms that are beneficial for various neurological disorders may also make them effective for migraines.

Can the Ketogenic Diet Help with Migraines?

No One is Immune to Migraines

Migraines affect up to 15% of adults in North America and Western Europe, and they’re the seventh leading cause of disability in the world ( 4). In the US, up to 18% of women and 6% of men experience migraines, with many experiencing chronic migraine (at least 15 migraine days per month).

Women are affected disproportionately, partly due to fluctuating estrogen levels as attack triggers: about 28 million women in the US suffer migraines, and women make up 85% of chronic migraine sufferers (1).

Not even children are spared the pain and debilitation that accompany a migraine. About 10% of school-aged children suffer from migraines, and they’re absent from school about twice as much as those who don’t. In contrast to migraine prevalence in adults, in childhood, boys are afflicted more than girls are, but during puberty and adolescence the incidence shifts, and girls are affected more (1).

The Cost of Migraine: Physical, Emotional & Financial

According to the Migraine Research Foundation, healthcare and lost productivity costs associated with migraine are estimated to be as high as $36 billion annually in the US alone (1).

In 2015, the cost for treating chronic migraine was more than $5.4 billion, but the total cost of treating associated issues was over $41 billion. 113 million days of work are lost due to migraine, at a cost of around $13 billion to employers.

Of course, the burden of migraines isn’t limited to the pain and incapacity from the attacks, themselves. Beyond these, migraine increases the risk for other physical and psychiatric conditions, including depression, anxiety, and sleep disturbances. Overall, migraines drastically reduce quality of life.

What Causes Migraines?

It would be nice if all migraines were caused by the same thing, and people could simply avoid whatever that was. Unfortunately, migraine triggers are as diverse as the people who experience them, and even the same person may find that their triggers are unpredictable, causing a migraine sometimes, but not always.

Some migraine sufferers are able to identify dietary or environmental factors that trigger an attack, such as sensitivity to dietary histamines, sulfates or sulfites, monosodium glutamate (MSG), other additives and preservatives, or changes in barometric pressure. Some migraines may also come about due to acute hypoglycemia.

Common Triggers for Migraines

Common culprits for triggering migraines include beer, wine, cheese, and chocolate, so some people may need to avoid these—as if having migraines wasn’t bad enough!

Individuals who are sensitive to histamines and tyramines may find an attack brought on by consuming aged or fermented foods. As for barometric pressure changes, unfortunately, there’s nothing a migraineur can do to control the weather.

Migraines are more prevalent in individuals with celiac disease, gluten sensitivity, and irritable bowel disease ( 5), and many migraineurs experience relief after removing gluten from their diet. Gluten-free diets have been known to improve a host of physical and psychological ailments, but for many people, going gluten-free isn’t enough.

Often, people replace gluten with gluten-free bread, crackers, cookies, pasta, cereal, and other foods that still present a supra-physiological and highly insulinogenic dose of refined carbohydrate. For those whose migraines are related to wild fluctuations in blood sugar, it’s obvious why a gluten-free diet that’s still high in carbs might fail to have a beneficial impact on attack frequency or severity.

Can the Ketogenic Diet Help with Migraines?

Insulin Resistance and Migraine – is There a Connection?

Knowing that blood sugar fluctuations may trigger migraines in susceptible people, it’s not entirely surprising that people with migraine have a high incidence of insulin resistance and metabolic syndrome, and hyperinsulinemia may cause or exacerbate migraines ( 6).

In one study, out of 210 patients with metabolic syndrome, migraine prevalence was estimated at 11.9% in men and 22.5% in women — higher than in the general population ( 7).

A different survey showed that among 135 migraine patients, 32% had metabolic syndrome and 11% had frank insulin resistance (high fasting insulin) ( 8). Only about 10% were obese or had elevated fasting blood glucose, which tells us that that the connection between metabolic syndrome and increased risk for migraine is not driven by body weight or blood sugar, but by insulin.

Features that track with insulin resistance and metabolic syndrome — such as hypertension, type 2 diabetes, and obesity — are common in patients with chronic migraine ( 6).

People who experience migraines are at greater risk for hypertension (high blood pressure) and stroke, both of which are vascular complications also commonly seen in people with type 2 diabetes or insulin resistance ( 9).

Research indicates that people who suffer migraines show adverse changes in blood vessel function throughout the body, which suggests migraines are “a local manifestation of a systemic disease rather than a primary brain phenomenon” ( 10). What this means in plain English is that migraines aren’t something that happen solely in the brain. In some people, they’re related to metabolic abnormalities in other parts of the body, some of which stem from chronically high insulin.

Among a cohort of adolescent migraineurs with obesity who participated in a weight loss program, compared to those who had remission of migraines, those whose migraines persisted had higher waist circumference, body mass index, triglycerides, and HOMA-IR, all of which indicate worse insulin sensitivity ( 11). Study subjects who were insulin resistant were 3.5 times more likely to suffer persistent migraines than were subjects who were insulin sensitive.

Can the Ketogenic Diet Help with Migraines?

Is Migraine a Neurological Disorder?

As noted earlier, some migraines are accompanied or preceded by sensory disturbances or tingling or numbness in different parts of the body.

With this in mind, migraines are better thought of as neurological phenomena as opposed to severe headaches. Additionally, migraines have several pathological features in common with epilepsy, and multiple anti-epileptic drugs are effective for migraine ( 12).

It’s not known for certain what the exact mechanisms are behind migraine, and they may be different in different people. Some of the possibilities include:

  • Inflammation in the brain
  • Brain nerve excitotoxicity
  • Ion (electrolyte) imbalances in the brain, which alter the electrochemical properties of neuronal cell membranes
  • Blood glucose instability

Combined with the association between migraine and metabolic syndrome, the similarities between epilepsy and migraine point toward the ketogenic diet potentially being helpful for those with migraine. After all, epilepsy was the first condition for which a ketogenic diet was proven a successful therapy, and it remains the one with the most impressive track record ( 13).

Can the Ketogenic Diet Help with Migraines?

The Ketogenic Diet for Migraine

Anecdotes about people freeing themselves from migraine abound on low carb and ketogenic forums, but the body of clinical scientific research on this is pretty small. Nevertheless, there are plausible mechanisms by which a KD might reduce or prevent migraines:

  • Reduced excitability in neurons
  • Reduced inflammation
  • Restoration of proper neuronal membrane potential (increased threshold for migraine)
  • Reduced fluctuations in blood glucose and insulin
  • Correction of fluid balance abnormalities in the inner ear

Some people adopt a ketogenic diet for weight loss and are pleasantly surprised to find that an unexpected “side effect” of keto is a reduction in the frequency and severity of migraines, or in some cases, complete remission.

The Evidence

This was the case for 47-year-old twin sisters in Italy: after implementing a KD for weight loss, they reported a significant reduction in the frequency and severity of their migraines ( 14).

According to detailed “headache diaries” they kept, they experienced “5 — 6 attacks/month of severe throbbing headache, of up to 72 hours’ duration; the severity was increased by movement and the attacks were accompanied by photophonophobia [sensitivity to light and sound], nausea and, very occasionally, vomiting.”

In both cases, remission of migraines coincided with following the diet, and migraines returned during periods when they went back to their usual higher-carb diet. However, even when they started eating more carbs, their migraines were reduced in frequency, intensity and duration.

This is in line with what’s been reported in people with epilepsy: some epileptics who experience seizure remission on a KD choose to abandon the diet, but when seizures return, they’re less frequent and severe than before. So it seems that, at least for some people, following a KD for some length of time may correct something at a fundamental level such that even when they go back to eating more carbs, their condition isn’t as severe as it was before doing the KD.

In this case study, the sisters didn’t avoid common dietary migraine triggers, such as aspartame, MSG, nitrates, nitrites, or caffeine. The study authors dismissed some of the potential reasons for migraine remission during the ketogenic periods, writing, “we attribute the improvement observed in these patients to ketogenesis, the sole event found to be time-locked to the disappearance (and recurrence) of their migraine attacks.” In other words, something unique to the KD was responsible for the improvement, rather than an avoidance of common dietary triggers.

Tests for celiac disease were negative in these two subjects, but that doesn’t rule out the possibility of non-celiac gluten sensitivity, which could be a migraine trigger for some people.

There’s increasing recognition in the medical community that some individuals who don’t have overt celiac disease may still have a sensitivity to gluten, and this can affect various tissue systems in the body, manifesting in ways as diverse as ataxia, anxiety, depression, fatigue, brain fog, headache, schizophrenia, psoriasis, dermatitis, inflammatory bowel disease, acid reflux, and autoimmune conditions ( 15,  16,  17).

Ketogenic diets aren’t grain-free by definition, but people who use low-carb high-fiber crackers or grain-based wraps would be taking in far less gluten than those on high-carb diets.

Can the Ketogenic Diet Help with Migraines?

The promising findings about the KD for migraine in these two sisters prompted a larger study, this one involving 96 overweight female migraine sufferers ( 4). In the intervention group, 45 subjects followed a very low-calorie KD for one month, followed by a 5-month standard low-calorie diet. The other 51 subjects followed the standard diet for all 6 months.

In the KD group, attack frequency, number of days with headaches, and amount of medication used were significantly lower after the first month on the diet. In the group following the standard diet, the number of days without headaches decreased only after 3 months, and a significant decrease in attack frequency wasn’t seen until 6 months in. (That subjects on the standard diet improved at all might be due to the low-calorie nature of the diet. This might have induced beneficial metabolic changes, although not as substantial as those from the KD.)

Being that it can take a month or even longer to become fully “keto-adapted,” and some of the neurologically protective effects of a KD might take longer to be established, it would be nice to see studies looking at migraineurs who follow a KD for a longer period of time. But it’s encouraging that the KD showed favorable results even after just one month.

Should You Try a Ketogenic Diet for Migraine?

A better question than “should you try it” is, why wouldn’t you try it?

If you experience migraines, and medications and other interventions have failed you, you truly have nothing to lose by giving keto a go.

You might have to go without some of your favorite foods for a while, but there’s a chance that in exchange, you’ll be free of migraines, or at least get them less often and they won’t be as incapacitating. (And thanks to great keto cookbooks, you don’t actually have to give up your favorite treats!)

Considering the reduced quality of life migraineurs experience at the mercy of these disabling attacks and the lack of effective preventive strategies, the KD is certainly worth trialing.

Do you like this post? Share it with your friends! 

Amy Berger, MS, CNS, NTP
Certified Nutrition Specialist and Nutritional Therapy Practitioner

Amy Berger

Amy Berger, MS, CNS, NTP, is a U.S. Air Force veteran, Certified Nutrition Specialist and Nutritional Therapy Practitioner who specializes in using low-carbohydrate nutrition to help people reclaim their vitality through eating delicious foods, and showing them that getting and staying well doesn't require starvation, deprivation, or living at the gym.

Expert Article

This article was written by Amy Berger, MS, CNS, NTP who is a qualified expert. At KetoDiet we work with a team of health professionals to ensure accurate and up-to-date information. You can find out more on the About us page.

Evidence Based

Evidence-Based articles are based on medical research, and scientific evidence. Our expert authors focus on hard evidence alone and include relevant research references from trusted sources to support their articles. We always aim to deliver relevant, trustworthy and up-to-date information based on trusted evidence and proven research.

Let us know what you think, rate this post!

Leave a comment

Note: Any links to products or affiliate links will not be approved.
Please note that we do not offer personalised advice. For any diet related questions, please join our Facebook community.

Comments (21)

There's no evidence that cheese and chocolate trigger migraines.  In the early stages people often 'crave' certain foods and tastes including cheese, chocolate, carby foods which is where this myth comes from.  There is no doubt however, that cutting out carbs and sugary food and increasing the fat in the diet helps enormously.

Hi, I just wanted to let you know that since I started Keto I noticed two improvements to my health. One was my hands felt better, the Swelling of my finger joints and arthritic pain have lessened dramatically. I knew this, and when the pain in my hands was getting unbearable, I would cut out breads for a week and my hands felt better, but the swelling never disappeared. I would assume that was because I never fully cut out all grains. ( I am an optician and metalsmith so my hands are important to me ). The second improvement was no migraines. It has been almost 3 months and not a one. I would average 2 a week, and this is the biggest benefit of Keto for me. Loosing weight is a just the icing on the cake!

EXCELLENT, Margaret! Thanks for letting us know. Keto is so beneficial for so many things -- you're right -- for many people, weight loss is the *least* of the positive changes that happen.  😊

I used to get at least 1 migraine a month until I went Keto.  The first 13 months after switching, I had ONE - just ONE.  I had two at the beginning of May, but that was likely because I ate some small amounts of off-plan food while on vacation.  Now that I am home and back on plan - back to no migraines!   It was definitely a surprisingly delightful side effect of Keto.

FABULOUS! I love hearing things like this.
If you know anyone else who gets migraines, spread the word!

I wish I could say that being Keto has helped me with my migraines, but no. I just had a week-long bout with a good week and then 4 more days. I think part of the problem with mine is that most actually start as severe muscle tension and then that triggers the migraine and I am stuck with both types of headaches and these last for 3 days usually. I vomit and get diarrhea often with my headaches as well as the extreme pain and light sensitivity. Anything that causes knots in my neck, shoulders, and even mid-back will trigger a headache and then the migraine. I have been doing yoga now for several months and nearly every time, the day after the class, I have a headache, so strengthening (or attempting to strengthen) those muscles is not helping. My Zomig medication aborts the migraines, but only gives me 10-12 hours of relief and then it comes back. So if I take the Zomig in the morning, the headache returns around 0200-0400 and I can't take more Zomig that soon, so I have to wait the 24 hours and so on for 3 days. So now I am in the situation where I am using the Zomig too often and will be rebounding. I am hoping my Neuro and I can come up with a treatment plan for the time it takes to be off all pain meds to break the medication rebounds (I read 6-8 weeks).

I'm sorry keto hasn't been effective for you.
I recommended this podcast for someone else ehre in the comments: https://www.biohackerslab.com/ep65-dr-angela-stanton/
I found it extremely educational. Keto is only factor. There's a lot more to what can trigger a migraine (as I'm sure you are only too aware), and Dr. Stanton really covers a lot of helpful material in the podcast. She also has a very active Facebook group for her Stanton Migraine Protocol.

After dealing with debilitating migraines for years I stumbled into a "diet solution" while trying to address some temporary side effects from an antibiotic by using the Wahl's protocol.  
Having experimented with several diets since then I will say that for me, a clean ketogenic diet eliminates almost every trigger - the one exception being aged cheeses.
I went from taking Immitrex about once per week to a few times a year... and for each of those times I know exactly what caused the migraine.

This is great, Mike! Wow...so many positive testimonials here about keto for migraines. I wish more people knew about this approach! It's not a magical cure for everyone, but it does seem to help most in at least some way.

I started Keto 2 1/2 years ago to help with my Chronic Migraines and got relief for the first 6 months. Then the came back with a vengeance. Since then I have cut out cabquick,luncheon meat, Davinch's syrup and all the other bad stuff I ate in the beginning. I have been following Dr.Eric Burg's healthy Keto with intermittent fasting.  While it is helping me loose weight I still am having more then 15 migraines a month. Any suggestions on what else I can try?

Dr. Berg's approach to keto is very heavy on vegetables. You might be do better (and reach a deeper state of ketosis, which could possibly be more effective/therapeutic for you) with fewer vegetables. Dr. Westman's plan, for example, is *very* low in carbs, including from vegetables -- 20g TOTAL per day.
I also recommend checking out the work od Angela Stanton -- she does FABULOUS work regarding migraine. I recommend listening to this podcast...it was very educational for me -- lots of very helpful info: https://www.biohackerslab.com/ep65-dr-angela-stanton/
There's a lot more than just keto. Electrolyte balance is extremely important, managing stress, etc.

I used to get migraines weekly and from barometric shifts (and nothing worked for those 36-72 hour nightmares). I have been gluten-free since 1993 and dairy-free since 2004 (so those changes preceded Keto for me).
With a number of auto-immune issues, I went to Keto in January of 2016 because of its anti-inflammatory nature. I have had one migraine since then and maybe a few, minor headaches. My lipid proper profile was already good, but it is even better now. I haven't had updated antibody tests yet, but it will be interesting to see what those show.
Keto is eminently sustainable, esp. with all the recipes and tools on this blog and app, and I plan to stick with it. I'm also an endurance athlete (cycling & rowing) and I feel better than ever with that. I ate very well before, but going to Keto has really resonated wth my body and my health. Thanks for the guidance and community!

I have had migraines for years! I take prescription medication and have been having to take it at least 3 times a week! I have been doing Keto since January and have not had ANY migraines! It’s amazing!!

That's amazing Cherie, I'm so happy for you!

Since going keto and becoming fat adapted, I have been able to slowly wean myself off of my prescription migraine medicine without having a migraine and it is wonderful. I feel better, inside and out, and I cannot thank my neurologist enough for recommending a low carb lifestyle as a solution for my intense migraines. I wish I had known sooner that this type of change would help so much!

This is great to hear! I'm so glad keto has been helpful for you. I agree -- wish more people knew about this, but hopefully my article will help.  😊

My husband and I started a ketogenic diet  just before Thanksgiving in 2017 in the hopes of weakening his sarcoma cancer. It 's now April of 2018 and he has noticed two things. 1) He hasn't had a migraine since starting the diet (he used to average about 2/month) and 2) his allergies have gotten much better! Normally he'd be miserable this time of year from itchy eyes, sneezing, etc. etc. This spring... nothing! Amazing! His CT scans have also been clear of any new tumors! His doctors at Massachusetts General Hospital said to keep doing whatever we're doing. We are!!!

NICE!  Fabulous to hear this!

I’ve suffered for over 25 years with migraines and with migraine attacks 12 times a month I finally sought help from a neurologist.  She was able to bring my attacks down to 3 a month but it required me to take daily anti seizure medications.  Unfortunately after a few months I needed to raise the dose.  A friend suggested I look into a KetoDiet.  I started this diet in August 2017 and never looked back.  My migraine attacks now average about 1 1/2 per month and I am slowly withdrawing from my daily medication.  And a great side effect is a 40 lb weight loss and much more energy!  For me a KetoDiet has really improved my life. And this site has given me so many ideas for meals.

Cory, that's amazing! Thank you for sharing your experience with us!

Love this!
Looks like plenty of people have experienced firsthand that keto can be very helpful for migraines.  😄