Hypnic headache is a recurring primary headache disorder in which attacks begin only during sleep and wake the person. It is sometimes called an "alarm clock headache," but a fixed clock time is not required 1.
A headache that wakes you from sleep is not automatically hypnic headache. Migraine, cluster headache, obstructive sleep apnea, medication overuse or withdrawal, nighttime blood-pressure changes, and several urgent medical problems can also cause headache during the night. Hypnic headache is diagnosed only after the pattern fits and another disorder does not explain it better 1.
New headaches that begin later in life deserve medical assessment even when the episodes seem predictable. Seek urgent care rather than waiting for a routine appointment if the pain is sudden and explosive or occurs with weakness, confusion, fever, a stiff neck, vision loss, a painful red eye, a head injury, pregnancy or the postpartum period, or possible carbon monoxide exposure 23.
What pattern defines hypnic headache?
The International Classification of Headache Disorders, third edition (ICHD-3), describes a specific recurring pattern. The attacks:
- develop only during sleep and cause awakening
- occur on at least 10 days per month for more than three months
- last from 15 minutes to four hours after waking
- do not cause cranial autonomic symptoms or restlessness
- are not better explained by another headache disorder or medical condition 1
These are clinical classification criteria, not a home checklist that proves the diagnosis. Someone with a shorter history or fewer attacks may still need evaluation, especially when the headache is new, worsening, or accompanied by another symptom. A clinician also needs to establish that the pain began during sleep rather than being noticed after an unrelated awakening.
A consistent time can be a clue, but attacks do not have to occur at the same time every night. They may also happen during a daytime nap because the defining feature is onset during sleep, not a particular hour 1.
The pain is more varied than the old description suggested
Hypnic headache often begins after age 50, with pooled observational data placing average onset around the early 60s. It can, however, begin in younger adults or children. Age helps frame the assessment but is not part of the current ICHD-3 diagnostic criteria 41.
The headache is commonly bilateral and pressing, but it can be one-sided, throbbing, sharp, or severe. Nausea, sensitivity to light, or sensitivity to sound can occur. Those migraine-like features do not automatically rule it out 54.
What matters more is the repeated sleep-only pattern and the absence of a better explanation. Tearing, a red eye, nasal congestion, eyelid drooping, facial sweating, or a strong need to pace should prompt careful comparison with cluster headache and other trigeminal autonomic headache disorders rather than being treated as a minor variation 1.
The cause is still unknown
Hypnic headache has been linked in theory to the hypothalamus, circadian timing, pain regulation, melatonin, and age-related changes in sleep. These ideas have not established a cause. There is no validated test showing that the disorder results from a melatonin deficiency, abnormal cerebral blood flow, or a disrupted body clock 5.
Polysomnography studies have recorded attacks from both rapid eye movement (REM) and non-REM sleep. The available findings do not support a single required sleep stage, including a "deep sleep" or later-night stage 65.
This uncertainty matters because improving sleep hygiene, changing light exposure, taking magnesium, or following a special diet has not been shown to prevent hypnic headache. Those steps may address a separate sleep or health concern, but they are not established treatments for this headache disorder 5.
What else can cause a headache during sleep?
The timing of pain is only one diagnostic clue. A useful assessment considers the headache's location, quality, duration, associated symptoms, daytime attacks, medication pattern, sleep symptoms, blood pressure, and changes from the person's usual health.
Migraine and cluster headache
Migraine can begin during sleep and may cause throbbing pain, nausea, or light and sound sensitivity. A person can also have both migraine and hypnic headache, so a previous migraine diagnosis does not settle what every nighttime attack represents 785.
Cluster headache often causes very severe pain around one eye or temple with same-side tearing, redness, nasal symptoms, eyelid changes, or facial sweating. People are often restless or agitated during an attack. Cluster attacks can occur at night, which is why ICHD-3 specifically requires clinicians to distinguish them from hypnic headache 91.
Medicines, pain relievers, caffeine, and withdrawal
Frequent use of acute headache medicines can contribute to medication-overuse headache. Delayed or stopped caffeine can also cause withdrawal headache in a regular caffeine user. Alcohol, vasodilating medicines, hormone changes, and other substances or medication changes may alter a headache pattern 10.
Bring the exact names, doses, timing, and days of use for prescription medicines, over-the-counter pain relievers, supplements, caffeine, nicotine, alcohol, and cannabis. Do not abruptly stop a prescribed medicine or a high habitual caffeine intake simply to test a theory. A clinician can plan changes without creating a second withdrawal problem 1110.
Obstructive sleep apnea and nighttime physiology
Obstructive sleep apnea can be associated with morning headache and may be suggested by loud snoring, witnessed breathing pauses, gasping, unrefreshing sleep, or daytime sleepiness. Sleep apnea can coexist with hypnic headache, so finding it does not automatically prove or disprove the headache diagnosis 121315.
Nocturnal hypertension and low overnight glucose are other possibilities in the right clinical setting. A clinician may choose ambulatory blood-pressure monitoring or structured glucose assessment when the history supports it 1.
A sleep study is not a universal hypnic-headache test. Polysomnography or a home sleep apnea test is chosen when a comprehensive sleep evaluation suggests obstructive sleep apnea or another condition the test can answer 13.
Secondary headache disorders
Because hypnic headache usually starts later in life and has no single confirmatory test, clinicians consider secondary causes before settling on a primary headache diagnosis. Important possibilities include:
- Giant cell arteritis: a new headache after age 50 with scalp or temple tenderness, jaw pain while chewing or talking, general illness, or visual symptoms needs urgent assessment because delayed treatment can threaten vision 14.
- Intracranial disease: a mass, altered pressure, vascular disorder, or another brain condition is more concerning when headache is new, progressively worsening, triggered by coughing or exertion, positional, accompanied by vomiting, seizures, personality change, neurological symptoms, cancer, or immune suppression 23.
- Infection: headache with fever, neck stiffness, a new rash, confusion, reduced alertness, immune suppression, or rapidly worsening illness needs prompt assessment 2.
- Acute angle-closure glaucoma: sudden intense eye pain, a red eye, blurry vision, and nausea constitute an eye emergency, not a typical hypnic headache 15.
- Carbon monoxide poisoning: headache with dizziness, weakness, nausea, chest pain, or confusion is concerning when a fuel-burning appliance, generator, heater, vehicle, or alarm could be involved. Sleeping people can become severely poisoned before recognizing symptoms 16.
How clinicians evaluate the pattern
Start with a headache diary, not a self-diagnosis. For each episode, record when sleep began, when the pain woke you, how long it lasted after waking, where it hurt, the quality and severity, nausea, light or sound sensitivity, eye or nasal symptoms, restlessness, what you took, and whether it helped. Also record daytime headaches, naps, snoring or gasping, blood-pressure or glucose information already requested by a clinician, and recent medication or caffeine changes.
The clinical visit may include:
- a full headache, sleep, medical, and family history
- review of medicines, pain-reliever frequency, supplements, caffeine, alcohol, and other substances
- blood pressure, neurological examination, eye assessment, and examination of the scalp and temporal arteries when relevant
- targeted blood tests when infection, inflammation, metabolic disease, or giant cell arteritis is a concern
- sleep-apnea testing when breathing symptoms or other risk indicators support it
- brain or vascular imaging when the age of onset, examination, abrupt onset, changing pattern, cancer or immune history, pregnancy, trauma, or another red flag makes it appropriate 23
New headache onset after age 50 is itself an imaging red flag in current radiology guidance. This helps explain why imaging is often considered during an initial assessment of a possible hypnic headache. It does not mean that every person with an established, unchanged diagnosis needs repeated scans 3.
Treatment evidence is limited
No randomized controlled trial has established a hypnic-headache treatment. Published choices come mainly from case reports and small case series, where improvement can reflect selection, reporting, placebo effects, or spontaneous change. A treatment that helped several reported patients is not guaranteed to help the next person 517.
The practical goal is to reduce attack frequency, pain, and sleep disruption with the lowest acceptable treatment burden. A clinician can document a baseline, choose one intervention, agree on what counts as improvement, and review tolerability before continuing or changing it.
Caffeine
Caffeine has the most reported support as an acute option taken after an attack wakes the person. Bedtime caffeine has also been used preventively. Both approaches rest on observational reports, and bedtime caffeine can still disturb sleep, worsen reflux or anxiety, raise blood pressure, or cause palpitations in susceptible people 518.
Discuss the form and total daily caffeine with a clinician instead of copying a fixed coffee or tablet dose. Caffeine-containing pain relievers add analgesic exposure and can complicate medication-overuse headache, while a new daily caffeine routine can create dependence and withdrawal headache 10.
Lithium
Lithium has the largest number of reported preventive responses, but it has a narrow safety margin and is often difficult to use in the older adults most likely to develop hypnic headache. It requires prescribed dosing, serum lithium levels, kidney and thyroid assessment, and ongoing monitoring 519.
Dehydration, illness, sodium changes, impaired kidney function, and interactions can raise lithium levels. Common interacting medicines include NSAIDs such as ibuprofen or indomethacin, diuretics, ACE inhibitors, and angiotensin receptor blockers. Lithium should not be tried with borrowed medicine or adjusted without the prescriber 19.
Indomethacin
Indomethacin has reported preventive benefit in case literature, including some one-sided presentations, but the evidence remains uncontrolled 5.
As an NSAID, it can cause serious stomach or intestinal bleeding, kidney injury, fluid retention, and cardiovascular events. Older age, kidney or cardiovascular disease, ulcer history, anticoagulants, steroids, and other NSAIDs can increase risk. It should be a clinician-supervised trial, not an addition to an existing pain-reliever stack 20.
Topiramate
Topiramate has been reported helpful in small numbers of patients and case reports, so it is an alternative with uncertain effectiveness rather than a proven first choice 5.
Important limits include cognitive slowing, word-finding difficulty, mood effects, metabolic acidosis, kidney stones, eye symptoms, interactions, and fetal harm. Pregnancy possibility and contraception need to be discussed before use 21.
Melatonin
Melatonin has inconsistent, very limited evidence for hypnic headache. A reported response does not prove that low melatonin caused the disorder, and melatonin is not automatically a safer substitute for monitored treatment 5.
In the United States, supplement content may not match the label. Melatonin can cause daytime drowsiness, may remain active longer in older adults, and can interact with medicines, including blood thinners. Long-term safety data are limited 22.
When to seek urgent help
Call local emergency services or seek emergency care for:
- a thunderclap headache that reaches maximum intensity within seconds or minutes 3
- new weakness, numbness, facial droop, trouble speaking, loss of balance, seizure, fainting, confusion, or reduced alertness 2
- headache with fever and neck stiffness, a new rash, or rapidly worsening illness 2
- severe headache after a head injury, especially with vomiting, increasing drowsiness, confusion, or neurological symptoms 23
- a new or markedly different severe headache during pregnancy or after delivery 3
- sudden intense eye pain, a red eye, blurry or lost vision, halos, or nausea 15
- a new headache with jaw pain while chewing, scalp tenderness, or any visual change in an adult over 50 14
- possible carbon monoxide exposure, especially when an alarm sounds or symptoms occur around a fuel-burning appliance. Get everyone to fresh air, stay out of the building, and call for emergency help 24.
Arrange a routine medical appointment for recurring headaches that wake you even when none of these emergency signs are present. An established hypnic-headache pattern can be treatable, but the diagnosis depends on first making sure the nighttime timing is not hiding a different problem.





