Caffeine's effect on migraine follows a U-shaped dose-response curve. At low to moderate doses (65 to 200 mg, roughly one to two cups of coffee), caffeine constricts dilated blood vessels and boosts the effectiveness of NSAIDs and triptans by 40%, which is why it is in Excedrin Migraine. At higher daily doses (above 300 to 400 mg), it causes vasodilation rebound, sleep fragmentation, and full-blown caffeine-withdrawal headache. The same molecule helps and harms depending on the dose, the timing, and how often you use it.
Caffeine is the most studied legal drug in headache medicine, and also the most misunderstood. People go off it cold turkey and get worse. People drink three cups a day and stay stuck in chronic headache. Both groups are missing the curve.
Why caffeine helps at the right dose
Caffeine works on migraine through three mechanisms:
- Adenosine receptor antagonism: blocks the adenosine that drives migraine vasodilation
- Analgesic potentiation: increases gut absorption and brain bioavailability of NSAIDs and acetaminophen by roughly 40%
- Mild vasoconstriction: reduces the cerebral blood vessel dilation that contributes to throbbing pain
This is the science behind combination products like Excedrin Migraine (250 mg acetaminophen + 250 mg aspirin + 65 mg caffeine) and Anacin. See our Excedrin Migraine guide.
A single 65 to 130 mg caffeine dose taken at the first sign of an attack, paired with an NSAID, can abort a mild-to-moderate migraine in 30 to 60 minutes.
Why caffeine harms at the wrong dose
The same mechanisms that help acutely cause problems chronically.
- Tolerance: regular daily caffeine downregulates adenosine receptors. The acute migraine benefit disappears within 1 to 2 weeks of daily use.
- Withdrawal: missing your usual dose by even a few hours triggers a textbook withdrawal headache that is itself a migraine trigger
- Sleep disruption: caffeine has a half-life of 5 to 7 hours. A 3pm coffee still has 25% of its peak level in your system at midnight, fragmenting deep sleep and raising the next-day attack risk
- Medication overuse headache: caffeine-containing combination analgesics taken 10+ days per month are a leading cause of medication overuse headache
The U-curve in practice
Approximate daily intake mapped to migraine impact:
- 0 to 100 mg per day (less than one cup of coffee): safe baseline. Caffeine remains effective as an acute treatment because you have not built tolerance.
- 100 to 200 mg per day (1 to 2 cups): generally safe for most people. Avoid after 2pm for sleep protection.
- 200 to 300 mg per day (2 to 3 cups): the "edge zone." Many people start having more frequent attacks here, especially if intake varies day to day.
- 300 to 400 mg per day: high risk for caffeine-driven chronic migraine and rebound headache.
- Above 400 mg per day: strongly associated with progression from episodic to chronic migraine.
A 12-ounce drip coffee has roughly 200 to 240 mg. A 16-ounce dark roast can hit 300+. An espresso shot is 65 mg. Black tea is 40 to 50 mg per cup. Diet sodas range from 35 to 70 mg. Pre-workout supplements and energy drinks can be 200 to 400 mg per serving.
How to find your right dose
There is no universal correct intake. There is a personal sweet spot. Find it by:
- Track your current intake for 2 weeks with your migraine log
- Stabilize the dose: pick a daily total and keep it constant 7 days a week (no weekend spikes)
- Cap timing: nothing after 2pm to protect sleep
- Reserve acute use: if you use caffeine in Excedrin or as a rescue agent, do not also drink coffee on those days
If you are above 300 mg daily and chronically headache-prone, the answer is often to taper down, not eliminate. See the taper protocol below.
How to taper safely
Cold turkey will give you a 3 to 7 day withdrawal headache. Taper instead:
- Week 1: reduce by 25% (e.g., 4 cups becomes 3)
- Week 2: reduce by another 25%
- Week 3: reduce by another 25%
- Week 4: hold at 25% of original, or zero
Hydrate aggressively. Add an NSAID for the first 3 days of any drop. Most people land at a final intake of 100 to 150 mg daily with dramatically fewer attacks within 4 to 6 weeks.
The bottom line
Caffeine is not the enemy and it is not the cure. It is a dose-dependent tool. Used at 65 to 130 mg acutely, it is a powerful adjunct. Used at 300+ mg daily, it can be the single biggest contributor to chronic migraine progression. The same molecule. Different math.
Sources
- Lipton RB et al. "Caffeine in the Management of Patients with Headache." Journal of Headache and Pain, 2017.
- Scher AI et al. "Caffeine as a Risk Factor for Chronic Daily Headache: A Population-Based Study." Neurology, 2004.
- Diener HC, Limmroth V. "Medication-Overuse Headache: A Worldwide Problem." Lancet Neurology, 2004.
- Goldstein J et al. "Acetaminophen, Aspirin, and Caffeine in Combination Versus Ibuprofen for Acute Migraine." Headache, 2006.
- Nehlig A. "Effects of Coffee on the Brain." Practical Neurology, 2016.
