Sleep Apnea

Migraine, Tension Headache or Sleep Apnea Headache?

A third of people with sleep apnea get headaches. But pooled across 23 studies, having apnea did not raise the risk of headache compared with people who do not have it. Both things are true, and the useful question is which kind of headache you are getting.

Headaches are common in sleep apnea and apnea does not appear to cause more of them than you would get anyway. Both of those come from the same meta-analysis, and reconciling them is the point of this page.

The practical question is not whether apnea gives people headaches in general. It is whether your headache is the type that resolves when the breathing is treated.

What the pooled data shows

A 2024 systematic review and meta-analysis in Sleep Medicine Reviews screened 1,845 articles and included 23 studies covering 15,402 patients, with risk of bias assessed by the Joanna Briggs Institute tool.

Prevalence of each headache type among people with obstructive sleep apnea:

Headache type Pooled prevalence 95% CI
Any headache 33% 25–41%
Morning headache 33% 24–45%
Sleep apnea headache 25% 18–34%
Tension-type headache 19% 15–23%
Migraine 16% 9–26%

And then the comparison that complicates it: the relative risk of headache in people with apnea versus people without was 1.43, 95% CI 0.92 to 2.25.

That confidence interval crosses 1. The authors state it plainly: "OSA did not increase the risk of headache." Men and women with apnea had morning headaches at similar frequency.

Evidence tier 1 for the prevalence figures — 15,402 patients across 23 studies. Tier 2 for the risk comparison, where the point estimate of 1.43 suggests an effect the confidence interval cannot confirm, which usually means the studies were too few or too varied to settle it.

How can both be true?

Because prevalence and relative risk answer different questions.

A third of people with apnea get headaches. A third of people without apnea get headaches too, roughly — headache is extremely common in the general population. So finding headaches in a third of apnea patients tells you about headaches, not about apnea.

What it does not rule out is that a specific subtype is caused by apnea while the overall rate stays unremarkable. That is exactly what "sleep apnea headache" is — a recognised entity with its own diagnostic description, present in 25% of these patients.

This is also why the site's existing page on morning headaches is not contradicted by this one. That article reports that morning headaches improved markedly with treatment, and that they travel with sex, hypertension, unrefreshing sleep and nocturnal choking rather than with the apnea-hypopnea index. A symptom can respond to treatment in the people who have both conditions without apnea raising the population rate of headache. Morning headaches and sleep apnea.

Telling the types apart

Not diagnostic, and useful enough to take to an appointment.

Sleep apnea headache. Present on waking, typically both sides of the head, pressing rather than pulsating, without nausea or light sensitivity, and resolving within about four hours of getting up. Occurs on most mornings. The defining feature is that it resolves when the apnea is treated.

Migraine. Usually one-sided, pulsating, moderate to severe, worsened by routine activity, and accompanied by nausea or sensitivity to light and sound. Can wake you from sleep or be present on waking, which is where the confusion starts. Lasts hours to days rather than clearing by mid-morning.

Tension-type headache. Both sides, pressing or tightening, mild to moderate, not worsened by activity, no nausea. Overlaps most closely with apnea headache in character, and timing is the main discriminator.

The overlap worth knowing: waking with a headache does not point at apnea on its own, because migraine and tension headache both do it. And morning headache tracks with hypertension, which is itself associated with apnea — so the symptom arrives with company.

When a headache should prompt a sleep study

The headache alone should not. The combination should.

Ask for an assessment if morning headaches come alongside witnessed breathing pauses, gasping or choking arousals, unrefreshing sleep regardless of hours, or daytime sleepiness that more sleep does not fix. Nocturnal choking was one of the specific predictors of morning headache in the data behind the other article.

Conversely, if you wake with headaches and have none of those, the yield from a sleep study is lower and a headache assessment is the better first step. Chronic morning headache also has causes that have nothing to do with breathing — medication overuse being among the most common and most missed.

What not to do

Do not treat the headache as a severity gauge. It does not track AHI or oxygen measures, so a bad headache does not mean bad apnea and a mild one does not mean mild apnea.

Do not buy an anti-snoring product to fix a headache. No consumer product treats obstructive sleep apnea. If the headache is an apnea headache, the treatment is treating the apnea; if it is a migraine, the mouthpiece is irrelevant to it.

And do not let one diagnosis absorb the other. People with an established headache diagnosis tend to have new morning symptoms attributed to it, which is the same referral-loop failure that happens elsewhere. Snoring versus sleep apnea.

Common questions

How common are headaches in sleep apnea?
Pooled across 23 studies and 15,402 patients: 33% had any headache, 33% morning headaches, 25% sleep apnea headaches, 19% tension-type and 16% migraine.
Does sleep apnea cause headaches?
Not at a population level, on this evidence. The relative risk of headache in apnea versus no apnea was 1.43 with a confidence interval of 0.92 to 2.25, which crosses 1, and the authors concluded apnea did not increase headache risk.
Then why do my headaches improve on CPAP?
Because a specific subtype — sleep apnea headache, present in about 25% of patients — can respond to treatment without apnea raising the overall population rate of headache. Prevalence and relative risk answer different questions.
How do I tell a sleep apnea headache from a migraine?
Apnea headache is usually present on waking, on both sides, pressing rather than pulsating, without nausea or light sensitivity, and clears within about four hours of getting up. Migraine is more often one-sided and pulsating with nausea, and lasts hours to days.
Does a worse headache mean worse apnea?
No. Morning headache does not track the apnea-hypopnea index or the oxygen measures, so its severity tells you nothing about the severity of the breathing problem.
Should a morning headache alone send me for a sleep study?
Not on its own. It is worth investigating when it comes alongside witnessed pauses, gasping or choking arousals, or unrefreshing sleep. Without those, a headache assessment is the better first step.