Health

Keto and migraine: what the research shows, and where it stops

Migraine is not an ordinary headache. It is a neurological disease that can take days out of a life. What the keto studies show, where the mechanism ideas come from, and why a favorite keto cheese can itself set off an attack.

"It is just a headache. Drink some water."

If you have ever heard "just drink some water and lie down" in the middle of a real migraine attack, you know how infuriating that sentence is. Migraine is not an ordinary headache that passes from a tablet and a glass of water. It is a neurological disease with its own biochemistry. An attack can take a person out of life for a day, or even for several days: light cuts the eyes, sound is unbearable, there is nausea, and sometimes a visual aura before the attack.

I need to say this at the very start. People with migraine spend years having to prove that their state is not "weak nerves" and not "just a headache." That is why I come to any data about migraine easing with respect for how heavy the disease is, not with a light tone of "here is a hack."

Olga came to me. She has had migraine with aura for almost fifteen years, four or five attacks a month. She had heard about studies of keto in migraine and asked straight out: "Maria, does this work, or is it another fairy tale about a diet that sorts out every problem it meets?" I will answer honestly, with no fairy tales.

What the studies show

A ketogenic diet in migraine has been studied for more than ten years, mainly in Italian research groups. Several small studies have shown a drop in how often attacks come, in some of the people. The people in question were on keto, or on a strict version of keto that uses ketogenic formulas.

In some participants the number of attacks in a month fell noticeably. In some, the intensity of the pain fell as well. Let us be honest about the scale of the data right away. These are studies with a relatively small number of participants. Their length is usually short too: several months, not years. That does not mean the result is false. It means what is in front of us is early, encouraging data, not an established fact for every person with migraine. The difference between data like these and a solid proof is what I go through in the piece on how to read nutrition studies.

An important detail: part of the studies did not use household keto with ordinary food. They used strict ketogenic protocols under medical supervision. Carrying that straight over to "I will just take the bread out at home" needs caution.

What the mechanism hypotheses are

Why might keto affect how often migraine comes at all? Researchers have several versions, and none of them is yet considered the only correct one.

The first version is about the energy of neurons. In some people with migraine there are data that, between attacks, the brain is working in a slight energy deficit. Like a power plant running at the limit of its capacity, with no reserve. Ketones give an alternative fuel, and a more stable one. In theory, that may lower how often a system under that kind of load fails.

The second version concerns CGRP, a protein that plays a key role in the mechanism of the migraine attack itself. Modern drugs of the latest generation aim at that protein. There are data that the metabolic changes on keto may affect its level, though that link is still being actively studied and is far from full clarity.

The third version is about inflammation. Migraine is tied to a certain level of neuroinflammation, and in some people keto lowers general markers of inflammation in the body. I write about that connection more broadly in a separate piece on inflammation and how you eat.

10+ years
keto in migraine has been studied, mostly by Italian groups
Dozens of participants
the typical size of most of the studies
3 hypotheses
neuron energy, CGRP, inflammation, and none of them is the only one

The trap: favorite keto foods and migraine triggers overlap

Here is a point almost nobody warns you about ahead of time. I think it is critical to say it out loud. Some people with migraine have food triggers, meaning foods that set off an attack in them specifically. And some of those triggers are favorite foods on keto.

Aged cheese is a frequent trigger because of tyramine, a substance that builds up during aging and ripening. Tyramine is a close relative of histamine, and these reactions follow a similar logic. I go through that in the piece on histamine intolerance on keto. Red wine is a classic trigger for many people with migraine as well. Not necessarily because of the alcohol itself. Often it is the combination of substances in the drink. Both foods fit a keto plate perfectly well by their carbohydrate. And both are capable of setting off the very attack a person hopes a change in food will ease.

That means a move to keto with migraine is not a universal instruction to "eat cheese and wine instead of bread." What is needed is a more careful choice of the foods that do not match your own triggers. For Olga, for example, aged cheese turned out to be one of the main provokers of an attack. We simply took it out of her food and left the rest of the keto structure in place.

Food Status on keto Migraine risk
Aged cheese An excellent source of fat and protein A frequent trigger because of tyramine
Red wine Formally low in carbohydrate A classic trigger for many people
Fresh cheese, cottage cheese A good source of fat and protein Usually not a trigger
Nuts A source of fat, and a trigger for some Individual, less often than cheese and wine

An adaptation headache and a migraine are not the same thing

There is another mix-up worth naming on its own. In the first days of any move to keto, many people get a headache. It is part of what gets called keto flu. The cause is usually simple: a fall in insulin leads to a loss of fluid and electrolytes, especially sodium. I write about that stretch, and about how to make it easier, in the piece on keto flu.

That is not a migraine. It is an adaptation headache, and it has a different nature. It usually passes in several days with enough salt, water, and electrolytes. A good balance of sodium, potassium, and magnesium in the first weeks noticeably lowers these symptoms in most people. The specific figures live in a separate piece on electrolytes for training on keto.

If you already know migraine in yourself, it matters that you can tell an ordinary adaptation headache apart from the start of a real attack. An aura, light sensitivity, nausea, the pain pattern that is yours: that is a signal that what is in front of you is not keto flu. It is your usual attack. You handle it the way you usually handle migraine. You do not wait for it to pass on its own from water with salt.

All of it, together with a neurologist

I want to underline the main point again. Migraine is a diagnosis a neurologist makes and follows. Any experiment with food in migraine is better discussed with that neurologist, especially if you already take medicines aimed at keeping attacks down. Some migraine medicines interact with changes in how you eat, and that is the clinician's ground, not a decision to make alone.

Olga and I agreed on this. She told her neurologist about the plan to try keto. Together they went through her current medicines and her triggers. Only after that did she start changing how she ate, gradually, and she kept an attack diary. Two months later, her attacks were coming less often. Olga herself is clear about the limit: "I do not know exactly what did it, the way of eating, taking out the cheese that was a trigger, or both together. What matters to me is that it got easier, and that I did not do it blind."

The short version

  • Keto in migraine has been studied for more than ten years, mainly in Italian studies, and some patients report attacks coming less often. The samples are still small, and the follow-up is short.
  • The mechanism hypotheses, neuron energy, an effect on CGRP, and lower inflammation, are not finally established, and the work on them continues.
  • Aged cheese and red wine fit keto perfectly well by their composition, and for many people with migraine they are frequent food triggers. They are worth tracking on their own.
  • An adaptation headache in the first days of keto is important not to mix up with a real migraine attack. Different nature, different next step.
  • Discuss any change in how you eat, when you have migraine, with a neurologist, especially if you take medicines aimed at keeping attacks down.

This is education, not medical care. Ketones are a fuel the liver makes from fat. If you are pregnant, nursing, have diabetes, kidney or liver disease, an eating disorder, or you give this food pattern to a child, talk with your clinician before you change how you eat.