Practical management

Caffeine and migraine: friend, trigger or both?

If you live with migraine, you have probably been told at some point to cut out coffee, and you have probably also noticed that a cup of tea sometimes seems to take the edge off an attack. Both observations can be true, because caffeine really does sit on both sides of the fence, and the useful question is less "should I give it up?" than "what is my own pattern?"

Why caffeine pulls in both directions

Caffeine is added to some over-the-counter painkillers because it can boost their effect, and it appears to act on adenosine receptors in the brain in a way that may help ease an attack, although that will not work for everyone. At the same time, some people with migraine find it triggers attacks: The Migraine Trust cites research in which between about 6 and 15 per cent of people with migraine said caffeine was a trigger. So for most people it is not a villain, and for a minority it is worth a closer look.

It also helps to know that caffeine does not seem to change the likelihood of attacks with aura, which is one more reminder that triggers vary a great deal from one person to the next.

The weekend headache, and the case for consistency

The bit that catches out more people than any other is withdrawal. If you regularly take in a fair amount of caffeine, stopping or delaying it can bring on a headache of its own, and in people who already have migraine that can tip into a full attack. The International Classification of Headache Disorders describes caffeine-withdrawal headache as starting within 24 hours of the last caffeine after more than two weeks of regular intake above 200 mg a day, and settling within seven days if you stay off it altogether.

That is why the Saturday lie-in, the skipped morning coffee on a travel day or a sudden New Year detox can feel like a mystery migraine when it is partly a dip in a level your body had come to expect. The Migraine Trust's practical advice is to keep your intake steady, weekends included, rather than swinging between lots and none.

How much is sensible?

There is no single number that suits everyone, but the Trust points to a 2020 review recommending that people with migraine keep to no more than around 200 mg of caffeine a day. As a rough guide that is about one mug of filter coffee, two mugs of instant coffee, two cups of tea or five cans of cola, though strength varies a lot from cafe to kitchen, so treat it as a ballpark rather than a rule.

If you want to find out where you stand without turning your life upside down, a few simple steps tend to work better than a dramatic cut-off:

  • Notice what you actually have. Tea, cola, energy drinks, chocolate and some painkillers all count, and the total is often higher than people expect.
  • Keep it steady. Similar amounts at similar times of day, including at weekends, are kinder to a sensitive brain than peaks and troughs.
  • Change one thing at a time. If you do decide to cut down, reducing gradually over a couple of weeks is gentler than stopping overnight, and it makes it easier to tell what is helping.
  • Watch for a real pattern. If attacks consistently follow a particular drink or a missed one, that is useful information for your own diary and for your clinician.

When the painkiller is part of the picture

Some everyday painkillers contain caffeine, and this matters because frequent use of any acute medication can lead to medication-overuse headache, where the treatment starts to keep the headache going. Per The Migraine Trust, the usual thresholds are 15 or more days a month for paracetamol or anti-inflammatories such as ibuprofen, and 10 or more days a month for triptans, codeine and combination painkillers, which includes many of the caffeine-containing ones. The ICHD-3 notes that these thresholds are based on expert opinion, so they are a guide to when to pause and review rather than a hard line.

If you are reaching for painkillers on that many days, it is not a failure of willpower. It is a sign that your plan needs another look, and a conversation with your GP about preventive options is a sensible next step.

The bottom line

Caffeine is not something you must banish, and it is not something to ignore either. Steady habits, a rough idea of your total and an honest look at how often you use painkillers will answer most of the questions, and if the picture still does not add up, a full assessment can look at the other pieces, from neck and jaw to sleep and hormones.

When to seek urgent care

See a doctor promptly, or call 999, if you have a sudden, severe "thunderclap" headache, a headache with fever and a stiff neck, new weakness, numbness or confusion, or a headache after a head injury. New or changing headaches always deserve medical assessment.

If your headaches are frequent or hard to make sense of, a full assessment can help you understand what is driving them and what to do next. You are welcome to book an appointment or get in touch.

  • The Migraine Trust. Migraine and caffeine. migrainetrust.org/migraine-and-caffeine
  • International Classification of Headache Disorders, 3rd edition (ICHD-3). 8.3.1 Caffeine-withdrawal headache, and 8.2 Medication-overuse headache. ichd-3.org
  • Nowaczewska M, Wicinski M, Kazmierczak W. The ambiguous role of caffeine in migraine headache: from trigger to treatment. Nutrients 2020;12(8):2259. doi.org/10.3390/nu12082259