If you live with migraine, you have almost certainly been handed a long list of "forbidden" foods at some point, and told that a strict migraine diet is the answer. In my practice I meet many people who have quietly given up cheese, chocolate, wine and half a dozen other favourites, only to find their attacks continuing much as before. The truth is more nuanced and, I think, more hopeful: food does matter for migraine, but the most powerful dietary levers are usually not the exotic ingredients you have been told to fear. They are the steady, unglamorous habits of eating regularly, staying hydrated and keeping your caffeine consistent.
Before we go further, a word of caution. Nutrition works alongside your medical care, never instead of it. Migraine is a genuine neurological condition, and if your headaches are new, changing in pattern, unusually severe, or accompanied by symptoms such as visual loss, weakness or confusion, you need proper medical review rather than a diet plan. Please do not stop any prescribed medication because you have read a blog post, mine included. The ideas here are meant to sit next to your neurologist's or GP's advice, helping you get more from the treatment you are already receiving.
For deeper context, see: 5 Nutrition Changes That Actually Help with PCOS (From a Dietitian Who Gets It).
Why the "avoid everything" approach usually fails
The classic migraine trigger list can run to forty or fifty items. On paper it looks thorough. In practice, it often causes more harm than good. When people try to avoid every reported trigger at once, they end up eating a narrow, joyless diet, frequently skipping meals because "there is nothing safe to eat", and feeling anxious around food. That anxiety and those missed meals can themselves provoke attacks, so the strategy quietly backfires.
The other problem is that triggers are deeply individual. A food that reliably sets off an attack for one client is completely harmless for another. There is no single migraine diet that fits everyone, which is exactly why the printed lists disappoint so many people. What helps is not blanket elimination but careful, personal detective work, and that is where a food diary earns its keep.
The biggest dietary levers: meals, blood sugar and hydration
Before worrying about individual foods, I always start clients with the foundations, because these are where most of the benefit lies.
- Regular, evenly spaced meals. Skipping meals is one of the most consistently reported migraine triggers, and one of the most fixable. Aim to eat something every three to four hours rather than going long stretches on an empty stomach.
- Steady blood sugar. Big swings in blood glucose can precede attacks in some people. Building meals around slow-release carbohydrates (wholegrains, oats, pulses, whole fruit) with protein and healthy fat helps keep levels even, rather than the peaks and crashes that come from sugary snacks eaten alone.
- Genuine hydration. Dehydration is a common and underrated trigger. Many clients feel noticeably better simply by drinking water consistently through the day rather than realising at 4pm that they have barely touched a glass.
- A steady wake and sleep pattern. Meals and sleep are linked. An erratic schedule that leads to late, skipped or rushed meals is often the real culprit behind an attack blamed on a particular food.
If you change nothing else, working on these four habits gives most people more mileage than removing any single ingredient.
Caffeine: consistency matters more than quantity
Caffeine deserves its own section because it confuses so many people. It is not simply "good" or "bad" for migraine. In modest, steady amounts it can even be helpful, and it appears in some acute migraine medications for that reason. The trouble comes from inconsistency.
If you drink three or four coffees on weekdays and then have none on Saturday morning, that abrupt drop can bring on a classic caffeine-withdrawal headache. In my practice, the advice is usually not to quit caffeine dramatically but to keep your intake modest and, above all, consistent from day to day. If you do want to cut down, taper slowly over a couple of weeks rather than stopping overnight.
Common reported food triggers to test, not fear
Once the foundations are solid, it is reasonable to look at specific foods, but as suspects to investigate individually rather than a list to ban wholesale. These are the ones most commonly reported:
- Aged and mature cheeses (such as blue cheese, mature cheddar, parmesan), which are high in tyramine.
- Processed and cured meats (salami, bacon, hot dogs, some deli meats), which contain nitrates and nitrites.
- Alcohol, especially red wine. Alcohol is one of the more reliably reported triggers, and red wine features often, though for some people any alcohol will do it.
- Chocolate. Interestingly, chocolate is sometimes a craving that appears in the early phase of an attack rather than its cause, so it can be wrongly blamed.
- Foods containing MSG and some heavily processed savoury foods.
- Artificial sweeteners, particularly aspartame, reported by some people.
- Skipped meals and dehydration, which belong on any honest trigger list even though they are habits rather than foods.
Notice that the last point brings us back to the foundations. That is deliberate. For most people, meal timing and hydration matter more than any single item above.
Keep a headache-and-food diary before you eliminate anything
The single most useful tool I give migraine clients is not a supplement or a forbidden-foods list. It is a simple headache-and-food diary. For two to four weeks, note what you eat and drink, your meal timings, sleep, stress, menstrual cycle where relevant, and any attacks with their timing and severity.
Patterns that no printed list could predict start to emerge. You might discover your attacks cluster on days you skipped breakfast, or after poor sleep, far more reliably than after any particular food. If a genuine food trigger exists for you, the diary will usually reveal it, and then you can test that one food deliberately rather than eliminating dozens on suspicion. This targeted approach protects the variety and enjoyment of your diet, which matters enormously for both nutrition and quality of life.
Magnesium, riboflavin and an anti-inflammatory pattern
Beyond triggers, some nutrients have reasonable evidence for reducing migraine frequency, and these are about what to include rather than avoid.
- Magnesium. There is decent evidence that magnesium can help reduce migraine frequency for some people. Food sources include nuts, seeds, wholegrains, pulses and dark leafy greens. Supplements are sometimes used at therapeutic doses, but discuss this with your doctor or dietitian first, as they are not right for everyone.
- Riboflavin (vitamin B2). Riboflavin has been studied for migraine prevention with some encouraging results. It is found in dairy, eggs, lean meat and fortified foods, and is sometimes used as a supplement under guidance.
- An anti-inflammatory, Mediterranean-style pattern. Rather than chasing single "superfoods", I encourage a way of eating built on vegetables, fruit, wholegrains, pulses, olive oil, oily fish and nuts, with less in the way of ultra-processed food. This pattern supports overall brain and vascular health and happens to naturally moderate many of the reported triggers.
I want to be honest here: supplements are not magic, the evidence is modest rather than dramatic, and they work best as part of a broader plan agreed with your clinical team.
A sample day for migraine-friendly eating
People often ask what all this looks like on a plate. Here is a sample day I might build with a client. It is an illustration, not a prescription, and your own diary should shape the details.
- On waking: A glass of water first thing, and your usual coffee or tea if you have one, at a consistent time each day.
- Breakfast (within an hour or two of waking): Porridge made with milk or a fortified alternative, topped with a handful of nuts, seeds and berries. Slow-release energy and magnesium to start the day steady.
- Mid-morning: A piece of whole fruit with a small handful of almonds if there is a long gap before lunch.
- Lunch: A wholegrain wrap or bowl with chickpeas or lentils, plenty of salad and vegetables, olive oil dressing, and some grilled chicken or hummus. Balanced carbohydrate, protein and fat.
- Afternoon: Yoghurt with a few walnuts, and importantly, more water. This is the time of day dehydration tends to creep up.
- Dinner: Baked oily fish such as salmon, or a bean stew, with wholegrains and a generous helping of leafy greens.
- Through the day: Water regularly rather than in one go, and meals spaced no more than three to four hours apart so you never reach the ravenous, blood-sugar-crash state that so often precedes an attack.
Notice how ordinary and generous this looks. Good migraine eating is rarely about restriction; it is about rhythm and steadiness.
When to see a doctor
Diet is a supportive tool, not a substitute for medical assessment, and there are clear situations where you should seek proper care. Please see a doctor if:
- Your headaches are new or have changed in their usual pattern, frequency or intensity.
- You experience the "worst headache of your life", or a headache that comes on suddenly and severely.
- You have migraine with symptoms such as weakness, difficulty speaking, prolonged visual disturbance, numbness or confusion.
- Headaches wake you from sleep, worsen with coughing or straining, or come with fever, a stiff neck or a rash.
- You are relying on painkillers very frequently, which can lead to medication-overuse headache and needs medical guidance to unpick.
Migraine also deserves proper treatment in its own right. A dietitian and a neurologist working together tend to achieve far more than either alone, and there are effective preventive and acute treatments your doctor can offer alongside the nutrition work.
A calmer, kinder approach to migraine and food
If there is one message I hope you take from this, it is that you probably do not need to live on a tiny list of "safe" foods, anxious at every meal. For most of the clients I work with, the real progress comes from steadying the basics: eating regularly, keeping blood sugar even, staying hydrated, being consistent with caffeine, and using a diary to identify your genuine, individual triggers rather than avoiding foods on suspicion. Add a nourishing Mediterranean-style pattern and, where appropriate, a conversation about magnesium or riboflavin, and you have a plan that supports your whole health, not just your head.
If you would like help building a migraine diet that fits your life, your culture and your kitchen, I would be glad to work with you one to one. At Hanzi Nutrition I create personalised, evidence-based plans that sit alongside your neurology care, so you can spend less time fearing food and more time enjoying it. Do get in touch to book a consultation, and let us build your plan together.
Related Reading
More on this topic from the journal:


