If you get migraines, you already know they are far more than a bad headache, and you have probably tried more remedies than you care to count. One of the quieter corners of keto research looks at the brain rather than the waistline and asks a simple question: can running the brain partly on ketones instead of glucose make attacks less frequent? The early evidence is genuinely interesting, though it comes with real limits, and it helps to separate what the studies show from what gets promised online.
Newsletter
Get keto tips in your inbox
Practical, evidence-minded notes on keto and low-carb living, with a Brussels slant. New posts and the odd useful tip, no fluff.
Free. Unsubscribe any time.
Why the brain angle makes sense
There is a sensible theory underneath this. The migraine brain seems to have quirks in how it handles energy, and some researchers describe it as running slightly short on fuel and being easily tipped into an attack. Ketones, the molecules the body makes when carbohydrate is scarce, are a steady alternative fuel the brain uses readily, and they may also calm some of the excitability and low-grade inflammation thought to feed migraines. That is the mechanism scientists are chasing. It is plausible rather than settled, which is precisely why the trials matter more than the theory.
The 2024 study
Abagnale and colleagues, writing in Clinical Neurophysiology Practice, followed 20 people with episodic migraine through one month on a ketogenic diet, tracking both their attacks and some markers of brain activity. It was a small, real-world study rather than a large trial, but the numbers they recorded stood out.
Over the month, the average number of attacks fell from about 4.3 a month to 1.3, and the average length of an attack dropped from nearly 48 hours to under 17. Both changes were large and statistically significant. Participants had fewer attacks, and the ones they still had were shorter. The team also saw shifts in their brain-activity readings, consistent with the diet altering how the brain processed signals, although those electrical changes did not line up neatly with how much better people felt.
What the wider evidence says
A single small study, however striking, is not much to lean on. The reassuring part is that it does not stand alone. Interest in diet and headaches goes back decades, and the modern keto literature now holds a scattering of small trials and case series, several of them pointing the same way: fewer migraine days, sometimes fewer tension headaches too. A few looked at the modified Atkins approach and at exogenous ketone drinks rather than a full diet, with mixed but often encouraging results.
What is missing is scale. Most of these studies involve a few dozen people at most, run for weeks rather than months, and rarely use a proper placebo arm. So the fair summary is a consistent, hopeful signal from small work, not a verdict from a big trial. That distinction matters on a topic where it is easy to oversell.
Is it the ketones, or just the weight loss?
This is the honest complication. Losing weight can reduce migraine frequency on its own, and keto usually causes weight loss, so any diet that trims body fat might help headaches through that route rather than through ketones specifically. The 2024 study ran for only a month, which limits how much weight change could explain, and the brain-activity shifts hint at something more direct. Even so, nobody can yet say how much of the benefit is the fuel switch and how much is the pounds. For someone deciding whether to try it, the mechanism matters less than whether it works for them, but it is worth knowing the picture is not clean.
The keto flu trap
Here is the practical wrinkle that trips people up. The first week or two of keto can itself bring on headaches, the cluster of symptoms known as keto flu, driven mostly by fluid and salt shifts as the body adjusts. If you start keto to help migraines and then judge it during that adjustment window, you may conclude it makes headaches worse when the opposite could be true a fortnight later. Getting your electrolytes right from day one, sodium especially, blunts most of that early ache, and the keto flu guide covers what to expect. Give any trial several weeks past the wobble before you draw a line under it.
How to give keto a fair trial for migraines
If you live with migraines and want to test this properly, a few habits make the results trustworthy:
- Keep a headache diary from before you start. Real numbers, attacks per month and hours per attack, beat vague impressions, and they let you see a trend through the noise.
- Ease in rather than crashing in. Easing down on carbohydrate over several days, as the beginners guide sets out, tends to soften the transition headaches.
- Mind your magnesium. Magnesium is one of the better-supported supplements for migraine in its own right, and low magnesium is common when you first cut processed carbohydrate. Food sources and sensible supplementing sit inside the electrolyte picture.
- Stay hydrated and salted. Dehydration is a classic migraine trigger, and keto is mildly dehydrating early on, so drink to thirst and do not fear salt.
- Give it six to eight weeks. That is long enough to clear the adjustment period and see a genuine pattern rather than a fluke week.
Who should be cautious
Migraine can occasionally signal something that needs a doctor rather than a diet, so new, severe, or changing headaches deserve medical attention first. Anyone on migraine medication, or managing another condition, should treat keto as a change to discuss with whoever manages their care rather than a swap to make alone. Diet is a reasonable thing to add to a plan, not a reason to abandon treatment that already helps.
Common questions
Does keto cure migraines? No. The evidence suggests it may reduce how often and how long they strike for some people, which is a meaningful help, but it is not a cure and it does not work for everyone.
How long until I know if it helps? Give it at least six weeks past the initial adjustment. Judging it in the first fortnight risks mistaking keto flu for failure.
Could keto make my migraines worse? The early adjustment can bring headaches, and for a minority they persist. Good electrolytes prevent most of that. If attacks clearly worsen beyond the first few weeks, it may not be your approach.
Do I need strict keto, or is low-carb enough? The studies mostly used fairly strict ketogenic diets, and some used ketone drinks. Whether a gentler low-carb approach helps migraines specifically is not well tested yet.
The bottom line
In a 2024 study, a single month of ketogenic eating cut migraine attacks from roughly four a month to one and more than halved their length, and it sits alongside a handful of other small studies pointing the same way. That is a strong hint rather than proof, tangled up with the effects of weight loss and short follow-up. For a migraine sufferer curious enough to try it, keto is a reasonable, low-risk experiment to run with your clinician’s knowledge, provided you ride out the adjustment period and keep honest records.
This is general information about the ketogenic diet, not medical advice. Migraine can have serious underlying causes; if you have frequent or severe headaches, see a doctor, and discuss any major dietary change with them rather than relying on diet alone.
Source: Abagnale C, et al. A 1-month ketogenic diet in patients with migraine gives a clinical beneficial effect associated with increased latency of somatosensory thalamo-cortical activity. Clinical Neurophysiology Practice. 2024;9:292-298. Read it here.