Caffeine: the migraine trigger that also treats migraines.
Some mornings, coffee kills the headache before it starts. Other mornings, the headache is because of the coffee — or the lack of it. Caffeine is the most widely consumed psychoactive substance on the planet and it has a genuinely complicated relationship with migraines. Here's how it actually works.
Why caffeine helps
Caffeine is a vasoconstrictor. It narrows blood vessels — including the ones in your brain. During a migraine, those vessels dilate, and that dilation drives the pulsing pain. Caffeine counteracts it. That's why it's a listed active ingredient in several over-the-counter headache medications, and why an early strong coffee can sometimes abort a mild migraine before it gets going.
Caffeine also enhances the absorption of other pain medications. When combined with acetaminophen or aspirin, it increases their effectiveness by around 40 percent. This is well-established enough that it's built into the formulation of combination headache products like Excedrin.
So caffeine is, in a real sense, a headache treatment. But that's only half the story.
Why caffeine also triggers migraines
The same mechanism that makes caffeine useful creates dependency. Your brain adapts to regular caffeine by upregulating the adenosine receptors it blocks. Over time, you need caffeine just to maintain normal vessel tone. Miss your dose and vessels dilate beyond baseline. Withdrawal headache.
You don't need to be a heavy coffee drinker for this to apply. One or two cups per day, consumed consistently, is enough to establish dependency. And the withdrawal headache can start within 12 to 24 hours of missing your usual dose. It's often described as a dull, diffuse pressure — different in character from a typical migraine but capable of triggering one in people who are already prone.
This is why the "sleeping in on weekends" pattern produces headaches. If your first coffee on Saturday is an hour or two later than your usual weekday timing, that gap may be enough to open a withdrawal window — right on top of the other factors that make weekends prone to letdown migraines.
The amount matters less than the consistency
Most migraine advice focuses on how much caffeine you're consuming. That's the wrong question. For caffeine-related headaches, consistency of timing matters more than quantity.
Someone drinking 300mg of caffeine per day at a consistent time may have fewer caffeine-related headaches than someone drinking 100mg but at variable times — sometimes morning, sometimes noon, sometimes skipped entirely. The brain adapts to the dose it expects. Unpredictability is what creates the vulnerability.
This doesn't mean you should increase your caffeine to avoid headaches. It means that if you're going to consume caffeine, doing so at a consistent time and in a consistent amount removes one variable from your migraine threshold.
If you want to reduce caffeine
Cutting caffeine is a valid choice, especially if you suspect it's contributing to medication overuse headache or daily head pain. But going cold turkey almost always produces several days of withdrawal headache — enough that most people abandon the attempt.
A slow taper works better. Reducing your intake by about 10 percent per week — either by switching part of your coffee to decaf, or by reducing portion size — lets your brain adjust gradually without triggering a significant withdrawal response. It takes longer. But it works.
What logging actually shows you
The relationship between caffeine and your headaches is genuinely personal. Some people with migraines do better cutting it entirely. Others do better maintaining it at a consistent level. Some find that caffeine is a reliable early-treatment tool when a migraine is starting. Others find it more often contributes than helps.
You can't tell which category you're in from general advice. You can tell by logging your caffeine timing and intake alongside your headache pattern for a month. The correlation — or its absence — tells you what the population data can't.
sage tracks caffeine timing, headache days, sleep, and stress together — in plain conversation. It finds your personal picture rather than a generic recommendation. Free to start, no card required.
Start tracking with sage →