Pounding headaches that strike during sleep have several possible causes, ranging from a rare but harmless condition called hypnic headache to sleep apnea, teeth grinding, cluster headaches, and blood pressure changes. The cause matters because each one feels different, hits at different times of night, and responds to different treatments. Here’s how to narrow down what’s waking you up.
Hypnic Headache: The “Alarm Clock” Headache
If your headaches consistently wake you from sleep and nothing else seems wrong, you may be dealing with hypnic headache. This condition almost always begins after age 50, though younger people can get it too. The headache develops only during sleep, wakes you up, and then lasts anywhere from 15 minutes to 4 hours. It’s sometimes called the “alarm clock headache” because it tends to strike at the same time each night.
Hypnic headaches are bilateral, meaning they affect both sides of the head. They don’t come with the tearing eyes, nasal congestion, or restlessness seen in cluster headaches. To meet the formal diagnostic threshold, attacks need to occur on at least 10 days per month for more than 3 months. If that pattern sounds familiar, it’s worth raising with your doctor because hypnic headache responds well to specific treatments. First-line options include melatonin and caffeine taken before bed. Lithium, typically up to 600 mg at night, has been used effectively since the condition was first described in 1988.
Sleep Apnea and Oxygen Drops
Obstructive sleep apnea is one of the most common causes of headaches tied to sleep. When your airway collapses repeatedly throughout the night, your blood oxygen drops and carbon dioxide builds up. Both changes can trigger headaches, though researchers still debate which mechanism is the primary driver. Some evidence points to the sleep disruption itself as a contributing factor.
Sleep apnea headaches typically hit when you wake up in the morning rather than jolting you awake mid-sleep. They tend to feel like a pressing sensation on both sides of the head and usually fade within a few hours. If you also snore heavily, wake up gasping, or feel exhausted despite a full night’s sleep, apnea is a strong suspect. Treating the apnea, usually with a CPAP machine, often resolves the headaches entirely.
Cluster Headaches During the Night
Cluster headaches are intensely painful, one-sided headaches that have a strong circadian pattern. About 70.5% of cluster headache sufferers experience attacks on a predictable daily schedule, with the most common peak occurring around 2 a.m. This timing is driven by the hypothalamus, the brain’s central clock, which regulates both your sleep-wake cycle and pain-processing pathways.
You’ll know a cluster headache by its distinct features: severe, stabbing pain around one eye, plus at least one autonomic symptom on the same side. That means a red or watering eye, a drooping eyelid, nasal congestion, or facial sweating. Most people can’t lie still during an attack and will pace or rock. Each episode lasts 15 minutes to 3 hours, and they come in “clusters” lasting weeks or months before going into remission. The combination of one-sided pain with visible eye or nasal symptoms sets cluster headaches apart from every other cause on this list.
Teeth Grinding and Jaw Tension
Sleep bruxism, or grinding your teeth while asleep, is a surprisingly common headache trigger. Up to 65% of people who grind their teeth at night report frequent headaches. The grinding creates sustained, forceful contractions in your jaw and temple muscles for hours at a time. That repetitive strain can injure muscle tissue and irritate the nerve system that feeds pain signals from your jaw and face into the brain.
Most grinding episodes happen during light sleep stages rather than deep sleep or dreaming. They cluster in the periods when you’re ascending from deeper to lighter sleep, which is when your nervous system becomes more active. Over time, this nightly damage can sensitize the pain pathways in your brainstem, making headaches easier to trigger and harder to shake. The headaches from bruxism often feel like a tight, aching band around the temples or forehead, sometimes with jaw soreness or tooth sensitivity as a clue. A dentist can check for wear patterns on your teeth, and a night guard is the standard first step.
Blood Pressure Spikes at Night
Blood pressure normally dips during sleep. When it doesn’t, or when it spikes, you can develop a pounding headache. Headaches tied to high blood pressure generally don’t appear until readings reach dangerously high levels, around 180/120 mmHg or above. At that point, blood vessels in the brain struggle to adjust to the sudden pressure increase, leading to irritation, swelling, and a severe headache that genuinely pounds in sync with your heartbeat.
This type of headache is a medical emergency. If you’re waking up with a pounding headache and you have known high blood pressure, or if the headache comes with chest pain, vision changes, confusion, or shortness of breath, those are signals that your blood pressure may be critically elevated.
Caffeine Withdrawal Overnight
If you drink coffee or tea regularly throughout the day, your brain adapts to a steady supply of caffeine. During the hours you’re asleep, that supply drops to zero. Caffeine withdrawal headaches typically begin 12 to 24 hours after your last dose and peak between 20 and 51 hours later. For someone who has their last caffeinated drink at lunch or early afternoon, the withdrawal window opens right in the middle of the night.
These headaches tend to be dull and throbbing, affecting both sides of the head. They can also disrupt your ability to fall or stay asleep, creating a frustrating cycle. The good news is they resolve within 2 to 9 days if you reduce caffeine gradually. The pattern is easy to test: if the headache disappears within 30 minutes of having caffeine, withdrawal is almost certainly the cause.
Increased Pressure Inside the Skull
A less common but more serious cause of headaches during sleep is elevated intracranial pressure, sometimes called idiopathic intracranial hypertension. Lying flat allows more blood and fluid to pool in your head, which can worsen pressure that’s already too high. The headaches from this condition often start behind the eyes and feel worse when you’ve been lying down for a while.
The distinguishing feature is a whooshing sound in your head that pulses with your heartbeat. Other warning signs include nausea, brief episodes of vision loss lasting just seconds, double vision, seeing light flashes, and trouble with peripheral vision. This condition can damage your optic nerves if left untreated, so the combination of sleep headaches with any visual symptoms warrants prompt evaluation.
How to Tell the Difference
Tracking a few details about your headaches can help you and your doctor zero in on the cause quickly:
- Timing: Headaches that wake you at the same time each night point toward hypnic headache or cluster headache. Morning headaches that are present when you wake suggest sleep apnea or caffeine withdrawal.
- Location: One-sided pain with eye symptoms is classic for cluster headache. Both-sides-of-the-head pain fits hypnic headache, apnea, or tension from grinding.
- Accompanying symptoms: Snoring and daytime fatigue suggest apnea. Jaw soreness suggests bruxism. Visual changes suggest intracranial pressure problems. A red, watering eye suggests cluster headache.
- Duration: Cluster attacks last up to 3 hours. Hypnic headaches last 15 minutes to 4 hours. Apnea headaches usually clear within a few hours of waking.
Keeping a simple log of when headaches start, how long they last, where you feel them, and what other symptoms come along will make the diagnostic process faster and more accurate.

