Why You Get Headaches at Altitude (And What You Can Do About It)
A science-based explanation of altitude headache — the physiology behind why headaches occur at elevation, how to distinguish AMS headache from dehydration headache, and evidence-based prevention and treatment strategies for athletes.
Why You Get Headaches at Altitude (And What You Can Do About It)
Headache is the cardinal symptom of altitude exposure and the defining criterion for diagnosing acute mountain sickness (AMS). Nearly every athlete heading to a new altitude camp will experience some degree of headache in the first 24–72 hours, and many will have recurring headaches through the first week. Understanding why these headaches occur — and distinguishing the mechanisms behind them — determines what interventions will actually work.
The Physiology of Altitude Headache
Altitude headache is not a single entity. Multiple overlapping mechanisms contribute, and their relative importance shifts with altitude, individual physiology, and acclimatization status.
Cerebral Vasodilation
The most widely studied mechanism: hypoxia at altitude causes cerebral vasodilation — dilation of blood vessels supplying the brain — mediated by nitric oxide and other vasodilatory mediators. The expanded cerebral vessels create stretch on pain-sensitive meningeal structures (the dura and blood vessel walls), generating throbbing pain similar in character to migraine or vascular headache.
Evidence supports this mechanism: vasoconstrictive treatments (sumatriptan, ibuprofen with its indirect vasoconstrictive effects) provide relief; oxygen supplementation (which reduces cerebral hypoxia and restores normal vessel tone) reliably eliminates altitude headache.
Increased Intracranial Pressure
At higher altitudes and in susceptible individuals, mild cerebral edema can develop — swelling of brain tissue due to hypoxia-driven fluid shifts across the blood-brain barrier. This increases intracranial pressure (ICP), which produces a distinctive constant pressure headache (rather than throbbing). This mechanism is most relevant above 3,000 m and is part of the continuum leading to high-altitude cerebral edema (HACE).
At typical training altitudes (2,000–2,800 m), significant cerebral edema is uncommon in healthy athletes, but mild ICP elevation may contribute to the overall headache experience.
Dehydration
Altitude diuresis, respiratory water loss, and blunted thirst combine to produce dehydration in many athletes arriving at altitude. Dehydration independently causes headache through:
- Reduced plasma volume, decreasing cerebral blood flow
- Mild contraction of brain tissue away from the meningeal membranes (creating traction on pain-sensitive structures)
- Increased blood viscosity, which strains the cerebrovascular resistance
Dehydration headache and AMS headache share some features (location: typically bifrontal or bitemporal; aggravated by exertion) but have different management implications.
Sleep Disruption and Periodic Breathing
Altitude disrupts sleep through periodic breathing (Cheyne-Stokes respiration), causing repeated hypoxic arousals. The resulting sleep fragmentation generates cortical arousal and elevated sympathetic tone — both associated with morning headache. Athletes who wake repeatedly during the night at altitude frequently report dull, bilateral morning headaches even at modest elevations (1,800–2,200 m).
Tension Headache from Accessory Respiratory Muscle Use
At altitude, increased breathing effort requires greater contribution from accessory respiratory muscles (sternocleidomastoid, scalenes, trapezius). Sustained tension in these cervical and shoulder muscles can generate referred pain to the head — a tension-type headache pattern distinct from the vascular AMS mechanism.
Distinguishing AMS Headache from Other Altitude Headaches
Not every headache at altitude is AMS — and the distinction matters because the management differs.
| Feature | AMS Headache | Dehydration Headache | Tension Headache | Sleep Deprivation |
|---|---|---|---|---|
| Location | Bifrontal, bitemporal | Diffuse, frontal | Occipital, band-pattern | Diffuse |
| Character | Throbbing, pressure | Steady, dull | Dull, tight | Dull |
| Timing | Onset 2–12 hr post-arrival | Worsens through day | Worsens with sustained posture | Morning predominant |
| Aggravated by | Exertion, bending forward | Exertion, heat | Neck movement | Wakefulness |
| Associated symptoms | Nausea, fatigue, poor sleep | Dry mouth, dark urine | Neck stiffness | Cognitive fog |
| Response to hydration | Partial | Significant improvement | None | None |
| Response to O₂ | Rapid relief | Moderate | None | None |
| Response to descent | Rapid improvement | Variable | None | Moderate |
AMS diagnostic criteria (Lake Louise Score): Headache plus one or more of: fatigue/weakness, GI symptoms (nausea, anorexia), dizziness/light-headedness, difficulty sleeping. Score ≥ 3 = significant AMS.
Prevention Strategies
Hydration (Highest Priority)
Since dehydration both causes headache independently and worsens the cerebral hypoxia that drives AMS headache, proactive hydration is the single most impactful preventive action:
- Begin hydrating aggressively on the day of altitude arrival — 500 mL immediately on landing, then every 2 hours through the rest of the day
- Maintain daily fluid intake 500–1,000 mL above sea-level baseline throughout the camp
- Monitor urine color: pale yellow = adequate hydration
- Include electrolytes (particularly sodium) to retain the fluid consumed
Gradual Ascent
For athletes with travel flexibility, ascending gradually reduces AMS headache incidence dramatically:
- Sleep at no more than 300–500 m higher per night above 2,500 m (mountaineering guideline)
- For athletes flying directly to a training altitude, a 1-day transit stop at an intermediate elevation (if logistically possible) reduces initial hypoxic shock
For most athletes flying directly to training altitude, gradual ascent is impractical — focus instead on load management and hydration on arrival.
Acetazolamide Prophylaxis
125 mg twice daily (starting 24 hours before ascent) reduces AMS headache incidence by 50–75% by accelerating ventilatory acclimatization. Particularly relevant for athletes with a history of significant AMS or those ascending to > 2,500 m rapidly.
See the acetazolamide guide on this site for full athlete-specific guidance.
Sleep Optimization
Melatonin (0.5–1 mg before bed) reduces periodic breathing frequency and improves sleep quality at altitude, addressing both the direct sleep-disruption mechanism and the cortisol-elevation mechanism that contributes to morning headache.
Load Management
Athletes who arrive at altitude and immediately attempt high-intensity training in the first 24–48 hours dramatically increase AMS headache severity. Exertion exacerbates cerebral vasodilation and increases ICP in the setting of unacclimatized hypoxia. Easy movement (short walk, light stretching) is compatible with arrival day; structured training sessions should begin no earlier than day 2, and only at reduced intensity.
Treatment When Headache Occurs
Ibuprofen
The most evidence-supported pharmacological treatment for altitude headache. Acts through prostaglandin inhibition (anti-inflammatory and analgesic) with secondary mild vasoconstrictive effects. Standard dose: 400 mg every 6–8 hours as needed.
A 2012 double-blind RCT published in JAMA showed that ibuprofen 600 mg three times daily significantly reduced both AMS headache incidence and severity compared to placebo when started before ascent.
Acetaminophen / Paracetamol
Effective analgesic for altitude headache; no vasoconstrictive mechanism. 500–1,000 mg every 4–6 hours as needed. Less evidence than ibuprofen for AMS-specific effects but appropriate when ibuprofen is contraindicated.
Aspirin
Some evidence for AMS headache prevention (325–650 mg). Mechanism similar to ibuprofen (prostaglandin inhibition). Alternative for athletes who tolerate aspirin well.
Supplemental Oxygen
If available, supplemental oxygen (1–2 L/min by nasal cannula for 15–20 minutes) rapidly relieves AMS headache by correcting cerebral hypoxia and restoring normal vessel tone. Useful for acute severe episodes. Not practical as a sustained solution.
Hydration
Drink 500–750 mL of electrolyte solution at the onset of headache and continue hourly. If the headache is partially or primarily dehydration-mediated, this will provide significant improvement within 30–60 minutes.
Descent
For persistent, severe, or worsening headache — particularly headache with any neurological symptoms (ataxia, confusion, severe fatigue), visual disturbance, or productive cough — descend immediately. Do not wait for pharmacological relief. Descent is the definitive treatment for altitude headache with concerning features and is life-saving if HACE or HAPE are developing.
Red flags requiring immediate descent:
- Severe headache not responding to ibuprofen or acetaminophen within 2 hours
- Any ataxia (unsteady gait, inability to walk a straight line)
- Altered consciousness or confusion
- Severe fatigue disproportionate to exertion
- Productive cough, pink frothy sputum, or extreme breathlessness at rest
Practical Takeaways
- Altitude headache is driven primarily by cerebral vasodilation from hypoxia and compounded by dehydration, sleep disruption, and increased respiratory muscle tension.
- Aggressive hydration on arrival day (500 mL immediately on landing + every 2 hours) prevents the dehydration component and reduces overall headache severity.
- AMS headache is distinguished from other altitude headaches by its throbbing quality, association with nausea/fatigue, and prompt relief with oxygen or descent.
- Ibuprofen (400 mg every 6–8 hours) is the most evidence-supported treatment for acute AMS headache.
- Acetazolamide prophylaxis (125 mg twice daily from 24 hours before ascent) reduces AMS headache incidence by 50–75%.
- Light activity only on arrival day — intense exertion worsens cerebral vasodilation and headache severity in the unacclimatized state.
- Seek descent immediately for headache with neurological features, severe fatigue, ataxia, or productive cough — these signal progression to HACE or HAPE.
Heading to altitude? Subscribe to the AltitudePerformanceLab newsletter for our free Altitude Health Protocol — AMS prevention strategies, daily symptom tracking, and a decision guide for when to rest vs. train vs. descend.