Overview
Morning headaches are common. Sleep apnea causes low oxygen and high carbon dioxide during sleep, leading to a dull headache that fades within a few hours of waking. Teeth grinding can cause pain at the temples and jaw.
Rebound headaches from taking pain medicine too often often start in the morning. Rarely, a headache that's worse when lying down and better after being up for a while, with vomiting, can be a sign of increased pressure in the head.
When to get medical care
Causes
Common causes include sleep apnea, insomnia or poor sleep, oversleeping, teeth grinding, caffeine withdrawal, alcohol the night before, rebound headaches from pain medicine overuse, migraine, depression, and a poor pillow or sleep position. Less common causes include high blood pressure, carbon monoxide exposure, and increased pressure in the head from a tumor or other condition.
OwieClear has pages on 4 conditions that can cause headache when waking up. Each shows how soon to get care.
Common causes
- Morning headaches from poor sleep or sleep apneaSee a doctor if it doesn't get better
Headaches on waking can come from too little sleep, snoring, or sleep apnea, a condition where breathing stops and starts during sleep.
Less likely causes
- Teeth grinding (bruxism)Often treated at home
Grinding or clenching the teeth, often during sleep or stress.
- Central sleep apneaSee a doctor if it doesn't get better
Pauses in breathing during sleep because the brain doesn't send the signal to breathe.
- Brain tumor (needs checking)Often needs care today
A growth in or around the brain, which may or may not be cancer.
What you can do at home
- Keep a regular sleep schedule and aim for 7 to 9 hours.
- Limit alcohol especially at night.
- Keep caffeine steady and not too late in the day.
- Limit pain medicine to no more than 2 or 3 days a week.
- Ask about a mouth guard if you grind your teeth.
- Check your carbon monoxide detector, especially if others at home have headaches too.
Medicines
Treating the cause helps most: CPAP for sleep apnea, a mouth guard for grinding, or stopping overused pain medicine. Acetaminophen or ibuprofen can help occasionally.
At the doctor
The provider will look at your sleep and headache patterns.
Questions you may be asked
- How often the headaches happen and how long they last
- Snoring or stopping breathing during sleep
- Daytime sleepiness
- Alcohol, caffeine, and pain medicine use
- Vomiting, vision changes, or other symptoms
The exam
A physical and nerve exam, including blood pressure.
Tests
- A sleep study
- Brain imaging if there are warning signs
- Carbon monoxide testing if suspected
Prevention
Better sleep helps.
- Keep a regular sleep schedule
- Limit alcohol and evening caffeine
- Treat snoring and sleep apnea
Check your symptoms
Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.
Sources
Last updated 2026-11-13.