Why Do I Wake Up With a Headache Every Morning?
A morning headache is usually one of a short list: sleep apnea, caffeine withdrawal, medication overuse, a mood or insomnia problem, or a neck or jaw problem carried overnight. In a study of 18,980 adults, mood and insomnia tracked morning headaches more closely than breathing did. Match your clues to the causes below — and get checked promptly if the headaches are daily, worsening, or come with any red flag.
Applies to: anyone who wakes up with a headache most mornings and wants the causes ranked by evidence, not by guesswork.
⚠ Get emergency care for a morning headache with any of these
Call emergency services or go to A&E at once if a headache comes with a seizure, numbness or weakness, a sudden onset that is extremely painful, a head injury in the last three months, difficulty speaking, balancing, walking or remembering, drowsiness or confusion, loss of vision, or a very high temperature with a stiff neck (NHS headache guidance). Most morning headaches are not emergencies — but these combinations are.
This page explains published research and official guidance. It doesn't diagnose or treat anything. Talk to a qualified clinician about persistent headaches — especially new, daily, or changing ones.
The question has been studied properly — in 18,980 adults across five European countries. Morning headaches are common: about 1 in 13 adults had one, and the strongest links were not to breathing problems but to mood and sleep itself. Anxiety and depression, insomnia, and disrupted sleep all tracked morning headaches far more closely than sleep apnea did. That does not mean sleep apnea is irrelevant — it is a real cause with a real test — but it does mean the first suspect most people reach for is not the most likely one.
The short list: six causes cover most morning headaches
Ohayon (2004) surveyed 18,980 adults aged 15 and over in the UK, Germany, Italy, Portugal, and Spain about chronic morning headaches — headaches present on waking (Ohayon, 2004, PMID 14718329). The headline number is 7.6%: 1,442 of the 18,980 people had them — daily in 1.3%, often in 4.4%, sometimes in 1.9% — and the median duration was 42 months, so this is a long-standing pattern, not a passing phase. Women had them more often than men (8.4% versus 6.7%), and the peak age band was 45 to 64, at about 9%.
The study's value is the comparison: people with morning headaches against people without them. The largest gaps were psychiatric and sleep-related. Anxiety plus depression together appeared in 28.5% of people with morning headaches versus 5.5% without them; depression alone in 21.3% versus 5.5%; insomnia in 14.4% versus 6.9%; and a circadian rhythm disorder in 20.0% versus 7.5%. A sleep-related breathing disorder was also more common (15.2% versus 7.5%) — but the study's own conclusion is the part that matters: morning headache was a good indicator of major depressive and insomnia disorders, and was not specific to sleep-related breathing disorder: a morning headache points at mood and sleep first, and at breathing only as one possibility among several.
| Cause | The telltale clue | How it is confirmed |
|---|---|---|
| Sleep apnea headache | Loud snoring, witnessed pauses, unrefreshed sleep; headache fades within 4 hours | Overnight sleep study (polysomnography) |
| Caffeine withdrawal | Headache starts 12–24 hours after the last coffee; weekends and holidays worse | A timed caffeine diary, not a blood test |
| Medication overuse | Headache on 15 or more days a month with regular painkiller use | Medication history with your clinician |
| Mood or insomnia link | Low mood, anxiety, or broken sleep alongside the headaches | Clinical assessment; the Ohayon pattern |
| Hypnic headache | Headache only during sleep, waking you, starting after age 50 | Headache diary plus clinician review |
| Neck or jaw origin | Stiff neck, sore jaw, or teeth grinding overnight | Physical examination; see the linked pages |
Two more gaps matter below: anxiolytic medication (20.1% versus 7.3%) and heavy drinking (12.6% versus 7.7%) were both more common, and so were musculoskeletal diseases (14.1% versus 7.1%) — the bridge to the neck and jaw causes: a morning headache is often a neck or jaw problem wearing a headache's clothes.
Sleep apnea: the cause everyone checks first
The International Classification of Headache Disorders (ICHD-3) defines sleep apnea headache precisely: a morning headache, usually bilateral, lasting less than 4 hours, in a person whose sleep apnea is confirmed — an apnea-hypopnea index (AHI) of 5 or more, where 5 to 15 is mild, 15 to 30 is moderate, and above 30 is severe (ICHD-3, 10.1.4). It also requires a causal link — the headache developed with the apnea, worsens as the apnea worsens, or occurs on 15 or more days a month — and a definitive diagnosis requires overnight polysomnography. A questionnaire alone cannot confirm it.
The numbers come from Goksan and colleagues (2009), who compared 462 people with obstructive sleep apnea against 101 controls (Goksan et al., 2009, PMID 19187338). Morning headaches affected 33.6% of the sleep apnea group versus 8.9% of controls — the reason sleep apnea is the first thing many clinicians test for. The treatment result is stronger still: morning headache resolved completely in 90% of those treated with nasal CPAP. That is the strongest treatment signal on this page, and why a sleep study is worth pursuing when the clues fit — loud snoring, witnessed pauses, waking unrefreshed, and daytime sleepiness.
The clues fit less often than people assume: the Ohayon study found sleep-related breathing disorder in only 15.2% of people with morning headaches, and the published prevalence of morning headache in sleep apnea varies from 18% to 74% across studies. A morning headache plus snoring is a reason to test, not a diagnosis. The screen is the STOP-Bang questionnaire — eight questions on snoring, tiredness, observed apnea, high blood pressure, body mass index, age, neck circumference, and male gender (Chung et al., 2016, PMID 26378880). A score of 0 to 2 is low risk; 5 to 8 is high risk; 3 to 4 is the middle. A score of 3 or more catches 93% of moderate to severe apnea and 100% of severe apnea — but it also flags many people who do not have it, which is why the questionnaire screens and the sleep study diagnoses. If your mornings match the pattern, see sleep apnea signs in men and women for the fuller picture.
The caffeine window: withdrawal starts before you wake
Juliano and Griffiths (2004) reviewed the experimental evidence on caffeine withdrawal and put numbers on every part of it (Juliano & Griffiths, 2004, PMID 15448977). In experimental studies where regular users were switched to placebo, headache occurred in 50% — the most common withdrawal symptom. Symptoms begin 12 to 24 hours after the last dose, peak at 20 to 51 hours, and last 2 to 9 days. If your last coffee is at 4 p.m., the 12-hour mark lands at 4 a.m. — you wake up inside the withdrawal window, every morning.
The dose threshold is lower than most people expect: doses as low as 100 mg a day can produce withdrawal symptoms, and 13% of people in the review had symptoms severe enough to cause clinically significant distress or functional impairment. The pattern to look for is the calendar: headaches worse on Saturday and Sunday mornings, when you sleep in and drink your first coffee later — or on holidays, when you skip it — and better on workdays, when the first cup comes early. The fix is a timetable: keep the time of your first caffeine consistent, including weekends, or taper gradually rather than stopping abruptly. A diary recording first-coffee time alongside headache time will show the pattern within a week if it is there.
Medication overuse: the headache that treatment causes
The ICHD-3 definition is deliberately numerical, because the diagnosis is a counting exercise (ICHD-3, 8.2): a headache on 15 or more days a month, a pre-existing headache disorder (usually migraine or tension-type headache), and regular overuse of acute medication for more than 3 months. The threshold depends on the drug: 10 or more days a month for triptans, ergotamines, opioids, and combination analgesics, and 15 or more days a month for simple analgesics such as paracetamol, aspirin, and non-steroidal anti-inflammatory drugs. The classification notes that the headache usually — but not invariably — resolves after the overuse stops, which is why stopping is both the test and the treatment.
This is the cause most often missed, because it feels backwards: the painkillers you take for the headache are keeping it going. The medication wears off overnight, and you wake up in withdrawal from the very drug you took to help. If you take painkillers most days and your headaches are on 15 or more days a month, count the days first. Do not stop abruptly on your own if you use triptans or opioids regularly; plan withdrawal with your clinician, who can also check whether the underlying headache disorder needs preventive treatment.
The rest of the list: hypnic, cervicogenic, grinding, dehydration, oversleeping
Hypnic headache: the alarm-clock headache
Hypnic headache is the only headache defined entirely by when it happens. The ICHD-3 criteria require attacks that develop only during sleep and cause wakening, on 10 or more days a month for more than 3 months, lasting 15 minutes to 4 hours after waking (ICHD-3, 4.9). It usually begins after 50, is bilateral in about two-thirds of cases, and is severe in about one in five. It is uncommon and a diagnosis of exclusion — other causes must be ruled out first — but if your headache wakes you at the same time every night and you are over 50, it belongs on your clinician's list.
Cervicogenic headache: the headache that starts in the neck
Some morning headaches start in the neck: a headache that begins at the back of the head and arrives with a stiff neck points at a cervical source, covered in full on headaches that start in the neck — and a pillow that holds your neck out of line all night can be the cause, as the blinded trial evidence on can your pillow cause morning headaches? shows. If your morning headache and morning stiff neck arrived together, treat them as one problem with two symptoms.
Teeth grinding: a weaker link than the internet suggests
Teeth grinding is routinely blamed for morning headaches, and the evidence says the blame is mostly misplaced. A 2021 systematic review (Réus and colleagues) found no association between sleep bruxism and tension-type headache at all; the association was only with awake bruxism — daytime clenching — with an odds ratio of 5.23, and the evidence was rated low to very low certainty (Réus et al., 2021, PMID 34129658). So if you grind at night and wake with a headache, the grinding may be a fellow traveler rather than the cause — and the daytime clenching at your desk may matter more than the grinding in your sleep. The full grinding picture is on how to stop grinding teeth at night.
Dehydration and oversleeping: real, but indirectly evidenced
Two causes deserve honest framing rather than confident numbers. Dehydration is listed by the NHS among the common causes of headaches (NHS, headache) — but no trial quantifies how often dehydration alone causes a specifically morning headache, so this page will not invent a percentage. The practical test is cheap: a glass of water before bed and one on waking, for a week, with the diary running. Oversleeping is in the same category: the NHS advises against sleeping more than usual because it can make a headache worse, and a lie-in also shifts the caffeine window and the medication window later — three small effects that point the same way. A headache diary — bedtime, wake time, first coffee, medication, headache — separates these from the rest within two weeks.
Match your clues to the cause
| If your mornings look like this | Most likely cause | First step |
|---|---|---|
| Loud snoring, witnessed pauses, waking unrefreshed, daytime sleepiness | Sleep apnea headache | STOP-Bang screen, then a sleep study |
| Worse on weekends and holidays, better on workdays; last coffee was afternoon | Caffeine withdrawal | Fix the first-coffee time, including weekends |
| Painkillers most days; headache on 15+ days a month | Medication overuse | Count the days; plan withdrawal with your clinician |
| Low mood, anxiety, or broken sleep alongside the headaches | Mood or insomnia link | Raise both with your clinician — they are the same visit |
| Wakes you at the same time nightly; you are over 50 | Hypnic headache | Headache diary; clinician review to exclude other causes |
| Stiff neck or sore jaw on waking, headache starting at the back of the head | Neck or jaw origin | See the neck and jaw pages; check pillow height |
The diary is the cheapest diagnostic tool on this page and the one the NHS recommends. Two weeks of five columns — bedtime, wake time, first coffee, medication, headache — will show a weekend, medication, or sleep pattern no reading can. Bring it to the appointment: it turns a vague complaint into a timeline. And if the diary shows no pattern at all, that is itself information — it points toward the sleep study and clinical assessment.
What the evidence cannot tell you
- Ohayon is cross-sectional. The study measured morning headaches and other conditions at the same time, so it shows association, not causation — it cannot say whether mood causes the headache or the headache causes the mood.
- The sleep apnea numbers disagree with each other. Morning headache prevalence in sleep apnea ranges from 18% to 74% across studies. The 33.6% figure and the 90% CPAP resolution come from a single study of 462 patients — the best available numbers, not settled facts.
- Dehydration and oversleeping are indirectly evidenced. The NHS lists dehydration among common headache causes and advises against oversleeping, but neither claim comes with a trial that isolates morning headaches. This page presents them as plausible and cheap to test, not as proven.
- Two findings rest on small evidence bases. Hypnic headache is a diagnosis of exclusion with no test that confirms it directly, and the 2021 review that found no link between sleep bruxism and tension-type headache rated its evidence low to very low certainty, based on only five studies. Both are the best available answers, not final ones.
What would settle it: a study that follows people with new morning headaches forward in time, tracking caffeine, medication, sleep studies, mood, and diaries together, rather than measuring everything at once. Until then, the honest grade is "good map of the suspects, no single test that separates them" — and the two-week diary turns that map into personal evidence.
When to get care
Most morning headaches are investigated in routine care — but "routine" still means "seen." The NHS guidance draws three lines (NHS, headache). The first is the GP line: book a routine appointment if self-treatment is not helping or is getting worse, or if you regularly get headaches. The second is the urgent line: an urgent GP appointment or NHS 111 if the headache comes with vision or eye problems, is triggered or made worse by coughing, sneezing, bending, or exercising, comes with vomiting, or comes with jaw pain when eating or a sore or tender scalp. The third is the emergency line, in the safety box above.
Two patterns deserve a visit even without any red flag. The first is daily: a headache every morning for weeks is a pattern, and patterns get investigated — a sleep study, a medication review, and a mood and sleep assessment, in roughly that order. The second is change: a morning headache new after 50, or one that has changed location, severity, or timing, is a new symptom. Bring the diary — it costs two weeks and five columns.
Key takeaways
- About 1 in 13 adults has morning headaches (Ohayon, 2004) — and mood and insomnia track them more closely than breathing problems do.
- Sleep apnea headache is real and treatable: 33.6% of people with sleep apnea had morning headaches, and 90% resolved with CPAP (Goksan et al., 2009) — but only a sleep study confirms it.
- Caffeine withdrawal starts 12 to 24 hours after the last dose, so a late-afternoon last coffee puts you inside the withdrawal window when you wake (Juliano & Griffiths, 2004).
- Headaches on 15 or more days a month with regular painkiller use point at medication overuse — the treatment keeping the headache going (ICHD-3, 8.2).
- Sleep bruxism has no clear link to tension-type headache; daytime clenching is the association that exists (Réus et al., 2021).
Questions people actually ask
Why do I wake up with a headache every morning?
The most common causes are sleep apnea, caffeine withdrawal, medication overuse, a mood or insomnia problem, or a neck or jaw problem carried overnight. In 18,980 adults, morning headaches affected 7.6%, and the strongest links were to anxiety, depression, and insomnia — not to breathing problems. Match your clues to the table above, run a two-week diary, and see a clinician if they are daily or worsening.
Can sleep apnea cause morning headaches?
Yes. Sleep apnea headache is a defined diagnosis: a morning headache, usually on both sides, that fades within 4 hours of waking, in someone with apnea confirmed by a sleep study. In one study, morning headaches affected 33.6% of people with sleep apnea versus 8.9% of controls, and 90% resolved with CPAP. A STOP-Bang score of 3 or more usually triggers a sleep study.
Can caffeine cause a headache when I wake up?
Yes — through withdrawal, not the caffeine itself. Withdrawal headache affects about half of regular users in experimental studies, starts 12 to 24 hours after the last dose, peaks at 20 to 51 hours, and lasts 2 to 9 days. Doses as low as 100 mg a day can produce it. The classic pattern is worse headaches on weekend mornings, when the first coffee comes later. Keep that time consistent, or taper gradually.
Can dehydration cause a headache when you wake up?
Possibly. The NHS lists dehydration among the common causes of headaches, but no trial quantifies how often it alone causes a morning headache. The test is cheap: a glass of water before bed and one on waking, for a week, with a diary running. If the headaches fade, you have your answer; if not, move on to the stronger suspects.
Can too much sleep cause headaches?
The NHS advises against sleeping more than usual because it can make a headache worse, and a lie-in also pushes your first coffee and painkiller later — shifting both windows into the morning. No trial isolates oversleeping as a cause of morning headaches, so treat it as a factor to test with the diary, not a diagnosis on its own.
What is a hypnic headache?
Hypnic headache is the alarm-clock headache: attacks only during sleep that wake you, on 10 or more days a month for more than 3 months, lasting 15 minutes to 4 hours after waking. It usually begins after 50, is bilateral in about two-thirds of cases, and is severe in about one in five. It is uncommon and a diagnosis of exclusion.
Can teeth grinding cause morning headaches?
Probably not directly. A 2021 systematic review found no association between sleep bruxism and tension-type headache; the association was only with awake bruxism — daytime clenching — with an odds ratio of 5.23, and the evidence was rated low to very low certainty. The migraine link was controversial. If you grind at night and wake with a headache, check daytime clenching and the other causes here before blaming the grinding.
When should I see a doctor about morning headaches?
See a GP if self-treatment is not helping or is getting worse, or if you regularly get headaches. Ask for an urgent appointment if the headache comes with vision problems, vomiting, or jaw pain when eating. Seek emergency care at once for a seizure, numbness or weakness, sudden extreme pain, a recent head injury, difficulty speaking or balancing, confusion, or vision loss. Bring a two-week diary.
Last updated: 2026-11-21 by Adeel Farooq
Published 1 November 2026 — rewritten and retargeted 21 November 2026.
Not medical advice: the content on this site is for education only and isn't medical advice. Nothing here diagnoses or treats any condition. Talk to a qualified clinician about any health concern — especially headaches that are new, daily, worsening, or come with any red flag.
References
- Ohayon, M. M. (2004). Chronic morning headache: prevalence and comorbidity (n=18,980; 7.6% prevalence; median duration 42 months). Archives of Internal Medicine, 164(1), 97–102. PubMed 14718329
- Juliano, L. M., & Griffiths, R. R. (2004). A critical review of caffeine withdrawal: empirical validation of symptoms and signs, incidence, severity, and associated features (headache incidence 50%; onset 12–24 h; peak 20–51 h; duration 2–9 days). Psychopharmacology, 176(1), 1–29. PubMed 15448977
- Goksan, B., et al. (2009). Morning headache in sleep apnoea: clinical and polysomnographic evaluation (462 OSAS vs 101 controls; 33.6% vs 8.9%; 90% resolved with CPAP). Cephalalgia, 29(6), 635–641. PubMed 19187338
- Headache Classification Committee of the International Headache Society. (2018). The International Classification of Headache Disorders, 3rd edition: 10.1.4 Sleep apnoea headache; 4.9 Hypnic headache; 8.2 Medication-overuse headache. ICHD-3
- Chung, F., Abdullah, H. R., & Liao, P. (2016). STOP-Bang questionnaire: a practical approach to screen for obstructive sleep apnea (score ≥3: 93% sensitivity for moderate to severe OSA, 100% for severe OSA). Chest, 149(3), 631–638. PubMed 26378880
- Réus, J. C., et al. (2021). Association between primary headache and bruxism: an updated systematic review (5 studies; sleep bruxism not associated with tension-type headache; awake bruxism OR 5.23). Journal of Oral & Facial Pain and Headache, 35(2), 129–138. PubMed 34129658
- Gordon, S. J., Grimmer-Somers, K., & Trott, P. (2010). Pillow use: the behaviour of cervical pain, sleep quality and pillow comfort in side sleepers (106 commenced; latex recommended for waking headache control). Journal of Pain Research, 3, 137–145. PubMed 21197317
- NHS. Headaches: how you can ease headaches yourself; when and where to get medical help (page last reviewed 17 April 2024). NHS headache guidance
How we researched this page
We answered 8 reader questions on this page, drawn from collected "people also ask" queries on why do I wake up with a headache every morning (searched 21 November 2026), and traced every claim to 8 sources: Ohayon (2004), Juliano & Griffiths (2004), Goksan et al. (2009), the ICHD-3 classification (three entries), Chung et al. (2016), Réus et al. (2021), Gordon et al. (2010), and the NHS headache guidance page. The papers are linked to their primary PubMed records and the ICHD-3 to its official site. Where the evidence is indirect — dehydration and oversleeping — the page says so rather than inventing a number. No manufacturer claims were used as evidence. Full method: how we research.
Editorial notice: this page links to our internal guides and to no product pages. We may receive compensation if you later buy through links on some of our pages, at no extra cost to you; it never affects our scores or recommendations. Editorial policy