A hypnic headache is a rare type of headache that only occurs during sleep, waking you up at roughly the same time each night. Often called an “alarm clock headache,” it typically strikes two to three hours after you fall asleep, most commonly between 1 and 3 a.m. Unlike other headaches that might linger from the day, hypnic headaches start exclusively during sleep and pull you out of it. Most episodes last about 90 minutes, though they can range from 15 minutes to four hours.
Who Gets Hypnic Headaches
Hypnic headache overwhelmingly affects older adults. The average age of onset is around 58, though cases have been reported in people as young as 15 and as old as 85. A small number of children have been diagnosed, typically between ages 7 and 11. Women are affected about twice as often as men: in a review of 348 published cases spanning three decades, 69% of patients were women.
What the Pain Feels Like
In adults, the pain is usually dull or pressure-like rather than sharp or throbbing. It can affect both sides of the head or just one, and the intensity ranges from mild to moderate. The average untreated episode lasts about an hour, though some people endure pain for up to three hours. To meet the formal diagnostic criteria, these headaches need to occur at least 10 times per month for more than three months, but many people experience them multiple times a week.
One defining feature is what hypnic headache lacks. There’s no eye watering, nasal congestion, facial sweating, or restlessness. There’s also no nausea, vomiting, or extreme sensitivity to light and sound. That absence of extra symptoms is actually what helps distinguish it from other headaches that can wake you at night.
How It Differs From Cluster Headache and Migraine
Cluster headaches can also jolt you awake in the middle of the night, which makes the two easy to confuse. The key difference is that cluster headaches bring obvious physical signs on the same side as the pain: a red, teary eye, a drooping eyelid, a stuffy or runny nose, facial sweating. People with cluster headaches also feel intensely agitated, often pacing or rocking. Hypnic headaches have none of those features. Cluster pain is also severe to excruciating and strictly one-sided, while hypnic headache pain is generally milder and can be bilateral.
Migraines occasionally wake people up too, but they tend to be headaches that were already building before sleep. Migraine episodes last longer (4 to 72 hours), produce pulsating pain that worsens with physical activity, and come with nausea or sensitivity to light and sound. Hypnic headache rarely includes any of those migraine-associated symptoms, though a small minority of patients report occasional mild nausea.
What Causes It
The short answer is that no one knows for certain, but the strongest theory points to your brain’s internal clock. The hypothalamus, a small structure deep in the brain, controls your sleep-wake cycle along with hormone production, pain processing, and body temperature. Imaging studies have found that people with hypnic headache have measurably less gray matter in the back portion of their hypothalamus compared to people without the condition. That structural difference may explain why the headache arrives on such a predictable schedule each night.
Within the hypothalamus sits a cluster of cells that acts as your circadian pacemaker. As you age, this clock becomes less precise, and the pineal gland produces less melatonin in response. Early researchers suspected that dipping melatonin levels might trigger the headaches, since melatonin normally peaks between 2 and 5 a.m., roughly when hypnic headaches strike. But when scientists measured melatonin levels in hypnic headache patients at multiple points throughout the day, they found no meaningful difference compared to healthy controls. The current thinking is that the problem involves a broader imbalance in the brain chemicals that regulate both sleep and pain, not melatonin alone.
Getting the Right Diagnosis
Hypnic headache is a diagnosis of exclusion, meaning your doctor needs to make sure nothing else is causing nighttime head pain before settling on it. A headache that wakes you from sleep can occasionally signal something more serious, including high blood pressure spikes at night, medication overuse, or a structural problem in the brain. Most people will undergo brain imaging to rule out other causes.
Certain warning signs require urgent attention: a headache that reaches peak intensity within five minutes (“thunderclap” onset), headache with fever and neck stiffness, new neurological symptoms like weakness or vision changes, personality or cognitive changes, or a headache pattern that shifts significantly from what you’re used to. These features suggest something other than hypnic headache and warrant immediate evaluation.
Treatment Options
Because hypnic headache is rare, there are no large-scale clinical trials guiding treatment. Most of what’s known comes from case reports and small studies, but a few approaches have shown consistent results.
Caffeine at Bedtime
It sounds counterintuitive, but a cup of coffee or a caffeine tablet before bed is one of the simplest and most commonly reported remedies. A dose of roughly 40 to 60 milligrams (about half a cup of coffee) taken at bedtime can prevent episodes in some people. Others keep caffeine at the bedside and take it when the headache wakes them. The obvious trade-off is that caffeine can disrupt sleep quality on its own, so this strategy works better for some people than others.
Lithium
Lithium was the first medication used for hypnic headache and remains the most established preventive option. It’s typically taken at a low dose before bed. While effective for many patients, lithium requires regular blood monitoring because it can affect thyroid and kidney function over time. It’s generally reserved for people whose headaches are frequent and disruptive enough to justify ongoing medication.
Other Medications
Several other drugs have helped individual patients. An anti-inflammatory pain reliever taken at bedtime works particularly well when the headache is strictly one-sided. A calcium channel blocker, taken in a low dose before sleep, has also shown benefit in some case reports. Your doctor may try different options depending on how often the headaches occur, how severe they are, and what other health conditions you have.
Living With Hypnic Headache
For most people, hypnic headache is not dangerous, but it can significantly erode sleep quality over months and years. Being woken several nights a week for an hour or more leads to the kind of chronic sleep deprivation that affects mood, concentration, and daily functioning. The predictability of the attacks, always around the same hour, can also create anticipatory anxiety at bedtime.
Keeping a headache diary helps both you and your doctor track patterns: what time the headache wakes you, how long it lasts, and whether anything made it better or worse. Because the condition is so uncommon, many general practitioners haven’t encountered it. If your nighttime headaches match the pattern described here, bringing that diary to a neurologist or headache specialist can speed up the path to a correct diagnosis and effective treatment.

