Factsheet 27 · Triggers

Food, drink and migraine

What the evidence says about meals, caffeine, alcohol and food triggers.

Key points

  • Skipping meals is a more common trigger than any single food. Over half of people with migraine say hunger sets off attacks.
  • Many “food triggers” are actually cravings in the early warning phase of an attack.
  • 1 or 2 caffeinated drinks a day aren’t linked to attacks, but 3 or more may be.
  • Alcohol, especially red wine, triggers attacks in around 1 in 3 people with migraine.
  • 1–2 drinksa day weren’t linked to more headaches
  • 3 or morea day were linked to a higher chance of a headache that day or the next

Regular meals

Going too long without food is a well-known trigger. Eat breakfast, have regular meals and carry a snack. Avoid crash diets and long fasts.

Drink enough water. Dehydration can trigger attacks and make them worse. Sip water through the day, and more in hot weather or when exercising.

Foods often blamed

Chocolate, cheese, citrus fruit, processed meats and MSG are often listed as triggers. The evidence for most is weak, and food triggers seem to affect only a minority of people.

Craving or trigger? In the hours before an attack, many people crave sweet or salty foods. If you eat chocolate and then get a migraine, the chocolate may have been an early symptom, not the cause. See our The hypothalamus and migraine factsheet.

Should I cut foods out?

Don’t cut out lots of foods at once. It can lead to a poor diet and worry about eating. If you suspect a food, avoid it for a few weeks, check your diary, then try it again. Food intolerance tests sold online aren’t reliable.

Weight-loss diets

Rapid weight loss, very low-calorie diets and fasting can all trigger attacks. If you want to lose weight, aim for slow, steady changes and regular meals. See our Weight and migraine factsheet.

Fasting for religious reasons

If you fast, for example during Ramadan, attacks can be more likely. Plan ahead: cut down on caffeine gradually beforehand, drink plenty when you can, and eat a slow-release meal before the fast begins. Talk to your GP about your medicines.

Caffeine

Caffeine can help or harm. A little can make painkillers work better. But high intake, and withdrawal when you miss your usual coffee, can both trigger attacks. Keep caffeine steady and moderate, at similar times each day. To cut down, do it gradually over a few weeks. Tea, cola, energy drinks and some painkillers count too.

How much caffeine?

  • Mug of instant coffee: about 100 mg
  • Mug of filter coffee: about 140 mg
  • Mug of tea: about 75 mg
  • Can of cola: about 40 mg
  • Energy drink (250 ml): about 80 mg

Alcohol

In a large European survey, about 1 in 3 people with migraine said alcohol triggered attacks, and red wine was named most often. Many had cut down or stopped because of migraine. If alcohol affects you, try drinking less, choosing a different drink, and having water and food alongside.

Tips for social occasions

  • Alternate alcoholic drinks with water
  • Eat before and while drinking
  • Try low or no-alcohol options
  • Notice which drinks affect you. It isn’t the same for everyone

Eating patterns

Small studies suggest a ketogenic (very low carbohydrate) diet may reduce attacks for some people. It’s restrictive, so only try it with support from a dietitian or doctor. A balanced diet with plenty of vegetables, wholegrains and oily fish is a good base for everyone.

Where to find support

  • The Migraine Trust: helpline 0808 802 0066, migrainetrust.org
  • NHS 111: for urgent advice when your GP is closed
  • Your GP: for referral to a dietitian

When to see your GP

See your GP if you are worried about your diet, want to try a major diet change, or your headaches are changing. Call 999 for a sudden, severe headache unlike any you have had before. For advice, call NHS 111.

References

  1. Hindiyeh, N.A. et al. (2020) ‘The role of diet and nutrition in migraine triggers and treatment: a systematic literature review’, Headache, 60(7).
  2. Kelman, L. (2007) ‘The triggers or precipitants of the acute migraine attack’, Cephalalgia, 27(5), pp. 394–402.
  3. Mostofsky, E. et al. (2019) ‘Prospective cohort study of caffeinated beverage intake as a potential trigger of headaches among migraineurs’, American Journal of Medicine, 132(8).
  4. National Health Service (2023) Foods to avoid in pregnancy: caffeine content of food and drinks.
  5. Onderwater, G.L.J. et al. (2019) ‘Alcoholic beverages as trigger factor in migraine’, European Journal of Neurology, 26(4).

Factsheet 27 · Version 1.0 · November 2026 · Next review November 2028. General information, not medical advice. Talk to your GP or pharmacist before starting, stopping or changing any treatment.