Blog - Keto Lifestyle - Ketosis for migraine headache – does it work?

Ketosis for migraine headache – does it work?

Authors: Beth Zupec-Kania, Kristi Storoschuk, Dominic D’Agostino, Elena Gross

The World Health Organization (WHO) reports that migraine headache is the third most common disease worldwide. One in seven adults in the US are affected by migraines; approximately 20% of women and 7% of men. Migraine can truly limit one’s quality of life and leads to extreme suffering, loss of work productivity, and can incur steep medical costs. Understanding the underlying cause is essential before addressing effective treatments.

What is Migraine? 

A migraine attack is not simply a “bad headache”. On the contrary, apart from severe pain, a migraine often includes intense sensitivity to light, sound, and/or smell, nausea and vomiting, and in one third of sufferers, an aura that can range from blindness in parts of the visual field to paralysis of the body (hemiplegic paralysis). 

The cause of migraine is still not fully understood, and because of this, current therapies are limited, relatively ineffective, and/or accompanied by undesirable side effects. Temporary relief can be achieved with medications that treat the symptoms of individual attacks, but do not address the root cause. Beyond this issue, it is not recommended that they be taken on frequent occasions due to the risk of “overuse headaches”, addiction, and side effects.

Migraine and Brain Energy Metabolism

Without getting too far into the weeds, there is increasing evidence to suggest that the cause of migraine is in part due to reduced brain glucose metabolism leading to mitochondrial dysfunction. This is similar to other neurological disorders such as epilepsy, Alzheimer’s disease and Parkinson’s disease, among others. Mitochondria are called the “powerhouse of the cell” where our energy (called ATP) is produced. Thus, when mitochondria are functioning poorly, our cells are not generating  adequate amounts of energy. In essence, it is likely that migraines are due to the brain not receiving enough glucose and/or mitochondria are not functioning as they should. Similar to an old-fashioned car that is almost out of gas and is struggling to  function, the brain is suffering an energy deficit, ultimately promoting symptoms of migraine. 

What Triggers Migraine?

Various factors have been identified as common migraine triggers and in all cases can be linked to reduced brain energy metabolism and oxidative stress.

  • Stress
  • Fasting/skipping meals
  • Changes in sleep (too much or too little)
  • Female hormonal changes (e.g. menstruation and oral contraceptives)
  • Changes in weather (wind, high and low altitudes)
  • Exercise
  • Diet triggers; caffeine, nitrates, sulfates, sugar or high-glycemic index foods
  • Alcohol
  • Strong scents, i.e. the often toxic chemicals included in them (e.g. perfumes and cigarette smoke)
  • Intense light (e.g. bright and blue light) 
  • Loud noises

Potential Targets of Ketosis for Migraine Protection 

Interestingly, there are various features shared between migraine and epilepsy, so it is not too surprising that therapeutic ketosis can be applied here. 

Features of migraine where ketones may be protective:

  • Reduced glucose metabolism and transport
  • Reduced mitochondrial function
  • Oxidative stress
  • Increased neuronal firing (cerebral excitability)
  • Increased inflammation

Ketones are an alternative energy source to glucose

The inability to properly transport glucose into the brain, and/or utilize glucose as fuel efficiently can cause an energy deficit in the brain and contribute to migraine. Hypoglycemia (low blood glucose) itself is a known trigger of migraine, and in this scenario the brain isn’t receiving enough fuel. 

On a typical carbohydrate-rich diet, the main source of energy is glucose which enters the trillions of mitochondria in the brain and makes loads of ATP. However, we know that the brain can use up to 70% of its energy needs from ketones. Ketones are small fat-derived compounds produced by the liver during times of fasting and can serve as an alternative fuel when glucose availability is limited. One of the greatest benefits of a ketogenic diet, a diet that mimics fasting and hence the production of ketone bodies, is more stable blood glucose levels . Ketones and glucose use separate transporters to enter into the brain; imagine two separate doors. The advantage of ketosis, i.e. the presence of ketones, is if the glucose “door” is closed, the ketone “door” is open. Ketones generate energy through a different pathway than glucose, so if any of the steps of glucose metabolism are impaired, ketones can bypass this.  In addition, the amount of energy ATP that is produced from ketones is greater than ATP from glucose. You can think of it a bit like petrol gas (glucose) versus diesel (ketone) engines (brain) in cars. If you feed a diesel engine with petrol gas, it will never reach its full speed and will at some point break down. The same is true for the brain.

Ketosis is a strategy to overcome hypoglycemia and/or impaired glucose transport and metabolism, restoring the flow of energy to the brain and preventing the energy crisis that could be contributing to a migraine attack.

Ketones can enhance mitochondrial function 

Poor mitochondrial health has been associated with migraine. In fact, the prevalence of migraine in individuals with mitochondrial disorders is more than twice as high.  

Ketones support the health of our mitochondria on in several ways. First, ketones have been shown to increase mitochondrial biogenesis, a fancy way of saying an increase in mitochondria power. For the sake of generating energy, the more mitochondria, the better. Again, ketones can generate more energy (ATP) than glucose when it comes down to the nitty gritty of energy metabolism. 

The mitochondria are also the major source of a process called oxidative stress. Oxidative stress occurs when we burn fuel to make ATP resulting in byproducts called reactive oxygen species (ROS). We often hear of the benefits of anti-oxidants, well ROS are the pro-oxidants that anti-oxidants are trying to get rid of. Burning ketones produce less ROS then burning glucose. Ketones are not only more efficient, but also a cleaner fuel source, a bit like renewable energy versus coal which emits pollutants. Migraine is associated with an increase in oxidative stress, therefore strategies that lower this stress can be very beneficial. Ketones can protect our cells from oxidative stress further by supporting our anti-oxidant pathways. By enhancing mitochondrial function while simultaneously reducing oxidative stress, ketones may offer protection against this aspect of migraine.

Ketones can stabilize the brain 

Excessive neuronal firing can “over-excite” the brain, this is referred to as neuronal hyperexcitability and is a characteristic feature of migraine. 

By simply offering an alternative source of fuel, improving mitochondrial function, and reducing oxidative stress, ketones can aid in reducing neuronal excitability. In fact, frequent blood glucose fluctuations, which are mitigated by a ketogenic diet, can promote a hyperexcited brain. Another mechanism to highlight is ketone’s ability to increase brain levels of a compound called  GABA and also reduce glutamate. GABA (short for Gamma-Aminobutyric Acid)

and glutamate are neurotransmitters that work in opposition, controlling and maintaining stability of the brain’s overall electrical impulses. GABA acts like a yoga class, calming the brain acting as an inhibitory neurotransmitter, whereas glutamate is like a trampoline, the brain’s excitatory neurotransmitter. An imbalance of these two highly in favor of glutamate promotes this hyperexcitability that contributes to migraine. Glutamate in excess can even damage neurons,  a toxic effect. Ketones have been shown to lower glutamate and increase GABA, shifting this ratio in favor of GABA, reducing the potential excitability contributing to migraine.  

Ketones may reduce inflammation in the brain 

Inflammation in the brain, otherwise known as neuroinflammation, is an underlying feature of migraine. Ketones may act as potent anti-inflammatory agents, targeting inflammation in more than one way. For one, oxidative stress can trigger an inflammatory response, and as mentioned, ketones can lower oxidative stress. Improving the energy function can aid in lowering inflammation, as metabolic stress can also promote inflammation. In addition, ketones have been shown experimentally to block inflammatory pathways preventing the release of angry inflammatory molecules. Through these various mechanisms, ketones may protect against the neuroinflammation contributing to migraine. 

Things to consider

Exogenous Ketones

A pilot study conducted by Dr. C. Di Lorenzo in 2014 of 96 overweight women diagnosed with chronic migraine headaches found improvement in those who followed a professionally supervised low calorie (800) and low-carbohydrate (30gm/day) diet over those on a standard diet. He concluded that “the underlying mechanisms of KD efficacy could be related to its ability to enhance mitochondrial energy metabolism and counteract neural inflammation.” 

Exogenous ketones or ketogenic agents such as MCTs could be very useful along with a low-carbohydrate diet to assist with ketone production. Ketone salts (also known as racemic ketone salt) are another option, for inducing immediate but short sustained ketosis. Taking such substances can prevent the major symptoms of temporary hypoglycemia as your body switches from a glucose dominant metabolism to a fat-based metabolism. The transition can be uncomfortable for even healthy individuals, but for migraine sufferers, could trigger an attack and should therefore be carefully considered along with a health professional. A more powerful ketone supplement containing the human identical ketone body, D-beta-hydroxybutyrate, might be preferable. It does not lower blood glucose as much as a racemic ketone salts and can be longer lasting. Products with as little additives and sweeteners as possible are advised.


Carbohydrate restriction is often accompanied by an increase in electrolyte , risking imbalances or deficiencies that can contribute to migraine. Electrolyte and mineral supplements, notably sodium, potassium, and magnesium, are recommended to prevent any potential issues. Ketone body salts with a balanced mineral mix can also be helpful as they help both with the energy deficit and the minerals being excreted.

Potential keto-friendly triggers

There are certain foods and products that may be ketogenic, such as caffeine, dairy, artificial sweeteners, alcohol and vegetable oils, but may be problematic for migraine. If migraines persist with a ketogenic diet and you are consuming these foods, it may be worth keeping a diary to see if any of these foods are triggering migraine. 


If migraine is in fact rooted in the intricacies of energy use in the brain, ketosis is very likely to offer an effective, safe, and sustainable treatment. Ketosis and the actions of ketones themselves have the ability to target the root causes of migraine and prevent or relieve the symptoms that occur. This includes restoring brain energy metabolism, improving mitochondrial function, reducing oxidative stress, calming the brain, and preventing and lowering inflammation.


Migraine improvement during short lasting ketogenesis: a proof-of- concept study. European Journal of Neurology 2015, 22: 170–177.


Beth Zupec-Kania

A Registered Dietitian Nutritionist who has managed ketogenic diet therapies since 1991. Designer of KetoDietCalculator, online program for creating ketogenic diets, and prolific author. Beth has trained over 300 medical centers globally on implementing keto diets and has recently published a keto pocket guide for professionals.

Other Articles by Beth Zupec-Kania


How can adjusting the foods we consume every day change our lives? Especially the lives of those struggling with epilepsy. Doctors encourage all of us to eat fewer carbohydrates and processed sugar that we find in candy and soda. But there was a time when few people understood the importance of diet as...

KetoDietCalculator: Calculating Ketogenic Meals

Although ketogenic diets are riding a wave of popularity, it’s fascinating to know the history of this discovery and how it evolved. The Charlie Foundation is celebrating 100 years since the invention of ketogenic metabolic therapy. In the 1920s, Dr. Russel Wilder at the Mayo Clinic began using a ketogenic...

Adrianna Stephenson, keto advocate and super woman

Adrianna Stephenson is the mother of two, a ketogenic diet advocate, and crusader for eating real (not processed) food. Her 4 year old son, Parker was diagnosed with a brain tumor and over the past 2 years they’ve used the ketogenic diet, alongside standard of care including surgery and chemotherapy....

I’m curious to know if ketosis is effective for treating migraine headaches. I’ve heard that it can help reduce inflammation and pain, but I’m not sure if it’s really effective.

Ketogenic diet therapy can be effective in reducing severity of and in preventing migraine headaches. Check out this article for the latest evidenceHaslam,R.L.;Bezzina,A.; Herbert, J.; Spratt, N.; Rollo, M.E.; Collins, C.E. Can Ketogenic Diet Therapy Improve Migraine Frequency, Severity and Duration? Healthcare2021,9,1105. https://

Thank you for this article! Today I’m researching brain energy deficit causing migraines (and cortical spreading depression). Six+ years ago I had what the neurologist could not determine if it was migraines or simple partial seizures, episodes starting with an aura (flashing lights, always starting at the same spot) and sometimes ending in a migraine but not always. Over time, I developed as part of those episodes numbness on my face, labored breathing, difficulty speaking and walking, impaired judgement and afterwards dark holes in my visual field, residual numbness and cognitive difficulties lasting up to 4 days after each episode. As a last resort effort (that I figured out on my own by doing research) I went on a ketogenic diet and after two weeks I didn’t have a problem again. I’ve remained on the diet for over 6 years. In the last 1.5 months I’ve had 3 new episodes and am not really sure why. The weird thing is they start at different spot than before, but all three I’ve had lately started on the same side, mostly same spot. I’ve had random blind spots in that area while working In the computer in the days prior To an episode. Not really sure what’s causing that. Yesterday I had the third one and it was quite scary to notice how impaired my brain was afterwards for the rest of the afternoon until I went to sleep. I need to double down on control. There is Alzheimer’s, Parkinson’s, cancer and diabetes in our family so I know that metabolism is a weak link here. So grateful for the ketogenic diet!

My teenage daughter’s life was racked with migraines and chronic-fatigue-like symptoms. I was afraid she wouldn’t finish high school. Toward the end of sophomore year, I put her on the Keto diet. Four days later, she was pain-free. That was 1 year ago. She has since remained pain-free as long as she stays low-carb and avoids sugar as much as possible.
Prior to me taking this action, neurologists had been treating my daughter with drugs (prescr. pain relievers, opiods, and infusions). The last neurologist to see my daughter was treating her own migraines successfully with the keto diet and yet had said nothing to us about lowering carbs. She knew exactly how carbs lead to inflammation in the blood vessels of the brain and the history of the diet and its success treaing children with epilepsy, and yet, she said nothing about this when she was observing my daughter’s extreme decline. (There were many days where my daughter was unable to move, speak, or function until 2 or 3 in the afternoon.) Once my daughter had her dramatic recovery, the physician said she would discuss my daugther’s case with the other doctors in her clinic. However, she would not engage with me about whether she would communicate any of this to her patients.

Thank you for sharing. This parallels the unfortunate trajectory that so many people go through to get to ketogenic diet therapy for epilepsy – even with dozens of published studies proving benefit. We are so incredibly happy for your daughter and commend you for not giving up on finding a solution and look forward to sharing your daughter’s story in her words (as you indicated in a private email to the Charlie Foundation).

I went low-carb 15 years ago and lost 60 lbs. Then migraines started happening. Today I must eat between 7am and 8 am, 11 and 12 and 4 and 5. I eat double what most eat at each meal for protein. And i must eat carbs to maintain homeostasis. Outside these parameters I risk a migraine. Ive gained the weight back and am at 300lbs. Triptans help mask the pain when I miss a window
(life happens, work etc) But I only get 2-3 migraines per month now which is better than it was. Wondering if I can take exogenous ketones to help, if so how much and when and how to wean off this diet on onto ketogenic..

Hi John. Consider a consultation with one of our Ketogenic Specialists to assist you with a review of your diet and adjustments that can be made to improve it. Be hopeful that you can get rid of migraines completely through diet and support. There’s a list of Ketogenic Specialists with a link to their websites and email on the Charlie Foundation’s website under “Resources/Professionals”.

I have been utilizing a ketogenic diet for several years now to control my chronic migraines. It has been a life saver, and without the diet, I have an almost constant, daily migraine that triptans typically only give me short-term relief from. The keto diet has given me my life back. I also happen to be one of the few who experience an increase in my unhealthy cholesterol after starting the diet (my cholesterol previously had been excellent), but I found I dietician through The Charlie Foundation and she has been helping me to make the adjustments necessary to bring that down and I have been beginning to improvements. Thank you for this excellent article!

Its great to hear this feedback. You referred to “unhealthy cholesterol” which is LDL. If your LDL is elevated you could get it evaluated for particle size. The smaller particle size is the type of LDL that gets lodged into vascular tissue and causes plaque. The larger fluffy LDL is carried out of the bloodstream to be eliminated. Most people have an increase in the large LDL and a decrease in the small LDL. Best wishes for a migraine-free fantastic life!

Leave a Reply

Your email address will not be published. Required fields are marked *