Overview
Doctors first rule out other causes of night headaches, like sleep apnea or high blood pressure.
A cup of coffee or caffeine at bedtime, or lithium or melatonin, often helps.
Symptoms
Common signs:
- Headache that wakes you from sleep
- Same time each night
Less common
- Dull pain on both sides
Look up a symptom: Headache · Headache when waking up
When to get medical care
Does it spread or run in families?
- It isn't contagious.
Who is more likely to get it
- Older age
Diagnosis
Your doctor will ask about your symptoms and health history and do an exam.
Questions you may be asked
- When symptoms started and what makes them better or worse
- Your medicines and supplements
- Family history
The exam
A physical exam focused on your symptoms.
Tests
Tests, if needed:
- Exam and sometimes brain MRI:
Treatment
Treatment depends on the cause and how severe it is.
Self-care
- Keep a headache diary
Caffeine at bedtime, melatonin, or other medicines.
Prevention
To lower the risk:
- No known prevention
Which doctor treats this
- Start with your primary care provider.
- They may send you to a neurologist.
Share your story
Have you or someone you care for lived with this? Your experience could help someone who's just starting out.
Share your story to help others who are going through this. Stories are read by our team before they're posted.
Outlook
Outlook depends on the cause and how early it's treated. Ask your care team what to expect.
Getting ready for your visit
Bring a list of symptoms and medicines.
What to bring
- A list of medicines and supplements
- Notes on when symptoms started and what helps
Questions to ask
- Should I have a scan?
- Could sleep apnea cause this?
Research studies
Research studies test new ways to find and treat health problems. Some are looking for volunteers. Talk with your doctor before joining one.
Sources
Last updated 2026-11-14.