Why do I wake up with a headache? Most often, the cause sits in the night before: sleep that was too short, broken, or later than usual, a change in caffeine timing, alcohol, teeth grinding, or snoring linked to sleep apnea. A headache that shows up on waking now and then is common and usually harmless. If it comes back most mornings, the pattern can help you find the cause.
Why do I wake up with a headache? The short answer
- It is common. In a large European survey, about 1 in 13 people said they had chronic morning headaches.
- Sleep is a frequent trigger. Too little sleep, broken sleep, and sleeping much later than usual are all linked to headaches on waking.
- Coffee timing counts. If you drink caffeine daily and have it later than usual, a withdrawal headache can start before the first cup.
- Snoring matters. Loud snoring with gasping or breathing pauses can mean sleep apnea, and a headache on waking is one of its listed symptoms.
- Check your jaw. Night-time teeth grinding can leave you with a sore jaw and a headache.
- Some signs need care fast. A sudden, severe headache, or one with weakness, confusion, vision loss, a stiff neck, or fever, needs urgent help.
How common are morning headaches?
Fairly common. Stanford sleep researcher Maurice Ohayon surveyed 18,980 people aged 15 and older across the United Kingdom, Germany, Italy, Portugal, and Spain. Overall, 7.6% reported chronic morning headaches, and 1.3% had them daily. Rates were higher in women and in people aged 45 to 64.
The strongest links were with anxiety and depression, insomnia, and body clock problems. Breathing problems during sleep, high blood pressure, and heavy drinking were also linked. Contrary to an earlier idea, morning headaches were not specific to breathing problems during sleep. So a morning headache alone does not mean sleep apnea.
The most common causes of waking up with a headache
1. Short, broken, or irregular sleep
Sleep and headaches affect each other. In a study of 1,207 people with migraine, about half (49.8%) named sleep disturbance as a trigger, and about a third (32.0%) named sleeping late. A 2018 review in the journal Headache noted that insomnia is the most common sleep disorder in people with headaches, and that controlled trials of more regular sleep habits reduced how often migraines happened.
You do not need a migraine diagnosis to notice this. A late night or an early alarm can show up as a dull head the next morning. Adults are advised to get at least 7 hours of sleep on a regular basis, according to a joint statement from the American Academy of Sleep Medicine and the Sleep Research Society. If you are often below that, our guide on whether 6 hours of sleep is enough is a useful place to start. If you get a full night and still wake up groggy, see why you can feel tired after 8 hours of sleep.
2. Snoring and sleep apnea
Obstructive sleep apnea is when the airway narrows or closes again and again during sleep, so breathing stops and starts. The NHS lists loud snoring, gasping or choking noises, waking up a lot, daytime tiredness, and a headache when you wake up among its symptoms.
The international headache classification (ICHD-3) describes a "sleep apnoea headache": present on waking, usually on both sides of the head, and typically gone within 4 hours. It often feels pressing rather than throbbing, without the nausea or light sensitivity of a migraine. It improves when the apnea is treated, and diagnosis requires an overnight sleep study.
A 2024 review of 23 studies (15,402 patients) found that about a third of people with sleep apnea reported morning headaches, but it did not find that sleep apnea clearly raised the overall risk of headache. So snoring plus morning headaches is worth raising with a doctor, especially if someone has seen you gasp or stop breathing. The headache alone is not proof.
If it is your partner who snores and you are the one waking up foggy, our guide on how to sleep next to a snoring partner has practical tips.
3. Teeth grinding and jaw clenching
Many people grind or clench their teeth at night without knowing it. The NHS lists headaches, a painful jaw, earache, and worn teeth among its symptoms, and links it most often to stress and anxiety. Clues include a tight jaw in the morning, pain near the temples, or a partner who hears grinding. A dentist can check for wear and may suggest a night guard. We go deeper in why you grind your teeth at night.
4. Caffeine timing and the "weekend headache"
If you drink caffeine daily, your body expects it at a certain time. ICHD-3 describes caffeine-withdrawal headache in people who have had more than 200 mg a day for more than two weeks. When that intake is interrupted or delayed, a headache can develop within 24 hours of the last dose. By the ICHD-3 definition, about 100 mg of caffeine relieves it within an hour, and if you stop caffeine completely, it clears within about a week.
This helps explain the Saturday-morning headache. In a 1992 study of 151 headache clinic patients, people who both drank a lot of caffeine and slept in much later on weekends had a 69% risk of weekend headaches. People with only one of those habits had a 4% risk, and those with moderate habits in both had none. The authors concluded that sleeping in on its own was not a significant cause.
One fix: keep your first caffeine close to your usual time, even on days off, or cut down slowly. Our caffeine curfew guide deals with the other end of the day.
5. Alcohol the night before
ICHD-3 recognizes alcohol-induced headache, which can come on right away or after a delay, and goes away on its own. The delayed kind is the familiar hangover headache. Alcohol can also leave sleep more broken. Our honest look at alcohol and sleep explains what a nightcap does to the rest of the night.
6. Sleeping much longer than usual
Sleeping late was a named trigger for about a third of the people in the migraine study, and the NHS advises people with a headache not to sleep more than they usually would, because it can make the headache worse. A long lie-in also tends to come with a late first coffee and a skipped breakfast. To catch up after a short week, go to bed earlier rather than waking hours later. Our guide to weekend catch-up sleep explains how to do it without throwing off your body clock.
7. Migraine and tension-type headache
Some morning headaches are simply migraine or tension-type headache arriving early. A migraine is usually throbbing, often on one side, and may come with nausea or sensitivity to light and sound. A tension-type headache feels more like pressure or a band on both sides. If yours keep coming back, a doctor can help you sort out which type you have. If light bothers you at night, see our guide to light sensitivity and sleep.
8. Neck position, pillow, and posture
The NHS lists bad posture among common causes of headaches, and neck pain was a named migraine trigger for 38.4% of people in the 1,207-patient study. A pillow that is too high or too flat can leave your neck stiff and your head aching. A clue is pain that starts at the back of the head or neck and eases as you move around. Our guide to the best sleeping position includes neck-friendly options.
9. Taking painkillers too often
In people who already have a headache disorder, using headache medicines on 10 to 15 or more days a month (depending on the drug) for over three months can lead to medication-overuse headache, defined in ICHD-3 as headache on 15 or more days a month. It usually improves once the overuse stops. If you reach for pain relief most mornings, talk to a doctor before changing anything on your own.
10. Not enough water or food
The NHS includes not drinking enough fluids and skipping meals among common headache causes. A long gap between an early dinner and a late breakfast, or a night of drinking, can leave you dry and low on fuel. Water and a regular breakfast are easy things to test first.
11. A headache that wakes you up
Being woken by a headache is different. ICHD-3 describes a rare condition called hypnic headache, nicknamed the "alarm clock" headache. Attacks happen only during sleep, wake the person up, last from 15 minutes to 4 hours, and occur on at least 10 days a month for more than three months. It usually starts after age 50. Because other causes need to be ruled out first, including sleep apnea, high blood pressure at night, low blood sugar, and medication overuse, a headache that regularly wakes you from sleep is a reason to see a doctor.
Read the pattern: a simple two-week log
The NHS suggests a headache diary to find triggers. For two weeks, jot down:
| What to note | What it can point to |
|---|---|
| Bedtime, wake time, and roughly how long you slept | Short or irregular sleep; much longer sleep than usual |
| Time of your first caffeine, and how much you had the day before | Caffeine timing, especially on weekends |
| Alcohol the evening before | Alcohol-related headache or broken sleep |
| Jaw tight or sore on waking? Pain near the temples? | Teeth grinding or clenching |
| Snoring, gasping, or pauses noticed by a partner; very sleepy days | Possible sleep apnea (worth a doctor's visit) |
| Where it hurts (both sides, one side, back of head and neck) and how it feels | Tension-type, migraine, or neck-related pain |
| How long it lasts after you get up | Headaches that fade within a few hours fit several sleep-related causes |
| Pain relief taken, and on how many days | Possible medication overuse |
Look for repeats. Weekend-only headaches often come down to caffeine timing and lie-ins. If they follow short nights, sleep debt is the likely link. A sore jaw suggests grinding. And near-daily headaches with loud snoring and daytime sleepiness are worth a sleep evaluation.
What helps
- Keep your wake time steady. Get up at a similar time every day, weekends included. If you need more sleep, go to bed earlier.
- Protect enough sleep. Aim for at least 7 hours. If you lie awake for a long time, our guide on what to do when you cannot sleep explains a method sleep clinicians use.
- Keep caffeine on schedule. Have your first cup near your usual time, even on days off. To cut back, reduce slowly.
- Try a few alcohol-free nights and compare how your mornings feel.
- Check your pillow. Your head and neck should rest in a roughly straight line, not propped high or tilted.
- Keep the bedroom dark and quiet. The NHS includes this in its advice on better sleep habits. Heavy curtains or blinds can block streetlight, and steady background sound such as a fan can mask sudden noises. Our guide on why a cool room helps you sleep explains the temperature side.
- Ease stress before bed. Stress can make headaches worse and is the most common cause of teeth grinding. See our tips for quieting racing thoughts at night.
- Take snoring seriously. If a partner says you snore loudly, gasp, or stop breathing, see a doctor rather than trying to fix it alone.
When to see a doctor
See a doctor if:
- You wake with a headache on most days, or it is getting worse despite self-care.
- You snore loudly, someone has seen you gasp or stop breathing, or you feel very sleepy during the day.
- Headaches regularly wake you up from sleep.
- You are using pain relief on many days each month.
- You have jaw pain or worn teeth (a dentist is a good first stop).
Get urgent help (in the US, call 911 or go to an emergency room; in the UK, call 999 or go to A&E) if a headache:
- Starts suddenly and is extremely painful.
- Comes with numbness or weakness in the face or body, trouble speaking, walking, balancing, or remembering.
- Comes with drowsiness, confusion, a seizure, or loss of vision.
- Follows a head injury in the last 3 months.
- Comes with a very high temperature, a stiff neck, a rash that does not fade when a glass is rolled over it, or bright light bothering you.
The NHS also advises an urgent appointment for a headache with vision problems, vomiting, or jaw pain when eating, or one made worse by coughing, sneezing, bending down, or exercise.
Frequently Asked Questions
Is it normal to wake up with a headache sometimes?
Yes. An occasional morning headache after a short night, a late evening, or a drink or two is common. It becomes worth looking into when it happens most mornings, keeps getting worse, or comes with other symptoms such as loud snoring or a sore jaw.
Why do I only get headaches on weekend mornings?
A common reason is caffeine timing. If you sleep in, your first coffee arrives hours later than on weekdays, and a withdrawal headache can start before you have it. In one study, people who had both high caffeine intake and much later weekend wake times were far more likely to get weekend headaches. Keeping your wake time and first cup close to your weekday routine often helps.
Can sleeping too much give you a headache?
For some people, yes. Sleeping late is a commonly reported migraine trigger, and long lie-ins also delay caffeine and breakfast.
Does a morning headache mean I have sleep apnea?
Not on its own. About a third of people with sleep apnea report morning headaches, but morning headaches have many other causes too. The combination to take seriously is morning headaches plus loud snoring, gasping or breathing pauses, and heavy daytime sleepiness. A doctor can arrange a sleep test.
Can stress or anxiety cause morning headaches?
They are closely linked. In the large European survey, anxiety and depression were the factors most strongly associated with chronic morning headaches. Stress can also fuel teeth grinding. If low mood, worry, or poor sleep have been building for a while, it is worth talking to a doctor about all of it together.
What can I do right now if I woke up with a headache?
Drink some water, eat something, and have your usual caffeine if you drink it daily. Over-the-counter pain relief can help now and then, but follow the label and avoid using it on many days a month. If the headache is sudden and severe or comes with any warning signs above, get urgent help.
The bottom line
A morning headache usually starts with the night before: short or broken sleep, a late first coffee, alcohol, grinding, or an awkward pillow. Keep a steady wake time and caffeine schedule, and jot down a few notes for two weeks. If headaches come most mornings, wake you up, or come with loud snoring and gasping, see a doctor. If one is sudden, severe, or comes with warning signs, get help right away.
Sources
- Ohayon MM. Prevalence and risk factors of morning headaches in the general population. Archives of Internal Medicine. 2004;164(1):97-102. PubMed
- Błaszczyk B, Martynowicz H, Więckiewicz M, et al. Prevalence of headaches and their relationship with obstructive sleep apnea (OSA): systematic review and meta-analysis. Sleep Medicine Reviews. 2024;73:101889. PubMed
- Kelman L. The triggers or precipitants of the acute migraine attack. Cephalalgia. 2007;27(5):394-402. PubMed
- Rains JC. Sleep and migraine: assessment and treatment of comorbid sleep disorders. Headache. 2018;58(7):1074-1091. PubMed
- Couturier EG, Hering R, Steiner TJ. Weekend attacks in migraine patients: caused by caffeine withdrawal? Cephalalgia. 1992;12(2):99-100. PubMed
- International Headache Society. ICHD-3, 10.1.4 Sleep apnoea headache. ICHD-3
- International Headache Society. ICHD-3, 4.9 Hypnic headache. ICHD-3
- International Headache Society. ICHD-3, 8.3.1 Caffeine-withdrawal headache. ICHD-3
- International Headache Society. ICHD-3, 8.1.4 Alcohol-induced headache. ICHD-3
- International Headache Society. ICHD-3, 8.2 Medication-overuse headache. ICHD-3
- Watson NF, Badr MS, Belenky G, et al. Recommended amount of sleep for a healthy adult: a joint consensus statement of the American Academy of Sleep Medicine and Sleep Research Society. Sleep. 2015;38(6):843-844. PMC
- NHS. Headaches. NHS
- NHS. Sleep apnoea. NHS
- NHS. Teeth grinding (bruxism). NHS
- NHS. Insomnia. https://www.nhs.uk/conditions/insomnia/






Share:
Why Do I Sleep Better Alone? What It Means (and What Helps)
Scandinavian Sleep Method: How to Try Two Duvets