Does Keto Help Migraine? What the EMIKETO Trial Found
Most people who live with migraine eventually land on the same conclusion: medication helps up to a point, and beyond that, it comes down to diet, sleep, and stress. In recent years, the ketogenic diet has entered that conversation β the idea being that a way of eating used for decades to treat epilepsy might reduce migraine frequency through a similar brain mechanism. The claim isn't new, but the evidence base genuinely is: studies published in 2023 and 2024 were the first to look at this with randomized, measurable data. Here's what those studies actually found, how far that evidence goes, and an important safety note for anyone on migraine medication.
Why Might the Brain Respond Differently to Ketones?
Some migraine researchers propose that in the period before an attack, the migraine brain's energy metabolism works differently than usual β essentially, a degree of inefficiency in how the brain uses glucose. Ketone bodies produced on a ketogenic diet, especially beta-hydroxybutyrate, offer the brain an alternative fuel source distinct from glucose, and some researchers believe this may help stabilize neuronal excitability. That overlaps with one of the mechanisms proposed to explain why ketogenic diets work in epilepsy treatment. One important caveat: this remains a hypothesis. There isn't yet a settled explanation precise enough to say "ketones stop the migraine-triggering process this specific way" β it should be read as a theory attempting to explain an observed clinical improvement.
EMIKETO: The First Randomized Controlled Trial
Published in 2023 in the Journal of Translational Medicine, EMIKETO is the strongest piece of evidence on this topic. The trial enrolled 57 people with a body mass index (BMI) above 27 and high-frequency episodic migraine (averaging 11-15 migraine days a month); participants were randomized into two groups β one followed a very-low-calorie ketogenic diet (VLCKD), the other a balanced hypocaloric diet. The primary outcome was the change in monthly migraine days from baseline.
At week 8, the VLCKD group's migraine days fell by an average of 6.4 days, compared with 2.2 days in the balanced-diet group (p=0.008) β a statistically significant difference. The gap held at week 12 as well: -7.2 days for the VLCKD group versus -3.13 days for the comparison group. Over the same period, the VLCKD group lost more weight and BMI (-8.2 kg versus -4.3 kg at week 8). The study authors noted that weight loss in the VLCKD group was better maintained by the end of the study, while the balanced-diet group showed a slight regain.
A 2024 Pilot Study: Does the Effect Hold Without Weight Loss?
EMIKETO's biggest limitation is that its participants were overweight, and obesity has a known association with migraine β so how much of the observed improvement came from ketosis itself versus weight loss isn't cleanly separated. A smaller pilot study published in 2024 in Clinical Nutrition partly addresses this: 25 people with chronic migraine followed a Mediterranean-style ketogenic diet for 8 weeks (under 25 grams of carbohydrate a day). The researchers reported a significant reduction (p<0.01) in migraine frequency and intensity that appeared as early as week 4; by week 8, fat mass, an insulin-resistance marker (HOMA), and insulin levels also dropped.
What makes this notable is that the effect showed up well before meaningful weight loss would typically occur β four weeks is a short window for significant weight change β suggesting ketosis itself may carry an independent effect. But note the caveat: this is a pilot study with no control group, so it can't answer "what would have happened without the diet change." The authors themselves say larger, controlled trials are needed.
A Critical Warning for Anyone on Migraine Medication: Topiramate
Topiramate, a commonly prescribed migraine preventive, is a carbonic anhydrase inhibitor, and on its own can lower urinary citrate excretion and lead to hyperchloremic metabolic acidosis β a known side effect listed in the drug's official prescribing information. A ketogenic diet independently produces a mild tendency toward acidosis and changes in urine chemistry. The drug's prescribing information states that combining topiramate with another agent that causes metabolic acidosis β including a ketogenic diet β may create a physiological environment that increases the risk of kidney stone formation, and recommends caution and adequate fluid intake, particularly for people with a history of kidney stones.
In practical terms: if you're taking topiramate (or a similar drug like zonisamide), don't start keto on your own. Talking to your neurologist first, monitoring certain markers (like serum bicarbonate) if needed, and drinking plenty of water substantially lowers the risk.
What Does This Mean in Practice?
- The evidence is real but still early. Both studies have small samples (57 and 25 people); EMIKETO is more reliable since it's randomized and controlled, while the pilot study is uncontrolled. Together, they paint a promising but not yet settled picture.
- If you're on migraine medication, especially topiramate or zonisamide, talk to your doctor before starting keto and specifically mention it if you have a history of kidney stones.
- Don't try to separate out the weight-loss effect in your own experience. If you're overweight, some of the improvement may come from weight loss; that doesn't invalidate any benefit from ketosis, it just makes it harder to know which mechanism is doing how much.
- Don't confuse a migraine attack with keto flu. Headaches from electrolyte imbalance are common in the first weeks of keto and work through a different mechanism than migraine (see our article on electrolyte balance); adequate sodium and water intake prevents most of them.
- If you want to learn the basics of starting keto, see our article on what the ketogenic diet is.
Limitations
In EMIKETO, baseline migraine days differed between groups (the VLCKD group already had more), and the study was designed as exploratory, without correction for multiple comparisons. Dropout rates were also uneven between groups (13.8% in VLCKD versus 50% in the balanced-diet group) β raising the possibility that people who found the balanced diet harder, or saw less benefit, were more likely to leave the study. The 2024 pilot study has no control group, so it's unclear how much of the observed improvement might be a placebo effect or spontaneous change over time. Neither study shows that a ketogenic diet can replace migraine medication; both are limited, short-term studies with small samples.
Sources: Caprio et al., "Very-low-calorie ketogenic diet vs hypocaloric balanced diet in the prevention of high-frequency episodic migraine: the EMIKETO randomized, controlled trial", Journal of Translational Medicine (2023) Β· Olivito et al., "Mediterranean ketogenic diet accounts for reduced pain frequency and intensity in patients with chronic migraine: a pilot study", Clinical Nutrition (2024)
Want a balanced keto plan that takes your migraine history into account?
Create My Free Plan β