Shortness of breath can indeed trigger headaches, and it does so through several well-documented biological pathways. The most direct route involves changes in blood oxygen and carbon dioxide levels: when your breathing is compromised, those gas levels shift, and the blood vessels in your brain respond by dilating or constricting in ways that produce pain. But the connection between labored breathing and head pain is not always a straight line. Sometimes the two symptoms share a common underlying cause rather than one producing the other, and sometimes the medications used to treat breathing problems are themselves the headache culprit.
How Disrupted Blood Gases Affect Your Brain
Your brain is extraordinarily sensitive to the composition of the blood flowing through it. When breathing difficulty reduces the amount of oxygen reaching your lungs, or when carbon dioxide builds up because you cannot exhale efficiently, the blood vessels inside your skull react quickly. Excess carbon dioxide (hypercapnia) causes those vessels to widen, increasing blood flow and pressure within the skull, which produces a throbbing headache. Positron emission tomography studies have confirmed that hypercapnia drives cerebral vasodilation and increases cerebral blood flow, while the opposite condition, low carbon dioxide, causes vessels to narrow and blood flow to drop.1PubMed. Changes in human cerebral blood flow and cerebral blood volume during hypercapnia and hypocapnia measured by positron emission tomography
This mechanism was vividly illustrated in a case involving a 57-year-old man with undiagnosed chronic obstructive pulmonary disease (COPD). He had been experiencing worsening breathlessness and headaches for about a month before suddenly losing consciousness. His arterial carbon dioxide level was extremely elevated at 117 mmHg, and brain imaging showed clear vasodilation. Once his breathing was supported by mechanical ventilation and his CO2 levels came down, both the headaches and the altered consciousness resolved, and follow-up imaging confirmed the blood vessels in his brain had returned to normal size.2PubMed Central. From Headache to Altered Consciousness: Headache Attributed to Hypoxia and/or Hypercapnia in a Smoker With Undiagnosed Chronic Obstructive Pulmonary Disease
Low oxygen (hypoxia) works through a related but distinct pathway. Research using MRI spectroscopy and angiography has shown that two hours of low-oxygen breathing causes dilation of both the arteries inside the skull and those on its surface. Nitric oxide, a molecule heavily implicated in migraine, appears to play a key role: the blood-flow increase triggered by low oxygen can be reversed with a nitric oxide blocker. Adenosine, another chemical that accumulates in the brain during oxygen deprivation, may also contribute to the vessel widening.3Brain. Migraine induced by hypoxia: an MRI spectroscopy and angiography study In practical terms, any condition that keeps your blood oxygen chronically low or your carbon dioxide chronically high sets the stage for recurring headaches.
The Opposite Problem: When You Breathe Too Much
Not all breathing-related headaches come from getting too little air. Hyperventilation, where you breathe faster and deeper than your body needs, flushes out too much carbon dioxide. The resulting drop in CO2 causes your cerebral blood vessels to clamp down, reducing blood flow to the brain. That vasoconstriction can produce a headache that feels tight and pressing, along with dizziness, tingling in the hands and face, and sometimes visual disturbances.4Jornal Brasileiro de Pneumologia. Respiratory manifestations of panic disorder: causes, consequences and therapeutic implications
Hyperventilation is especially common during panic attacks, but it also shows up in people with chronic anxiety and somatoform disorders. In a study of over 900 patients with anxiety and somatoform conditions, researchers found that a hyperventilation provocation test reliably reproduced the cluster of somatic and psychological symptoms these patients experience in daily life, including the breathing instability that characterizes both hyperventilation syndrome and anxiety disorders more broadly. The headache in these cases is real and physically caused, even though the trigger is psychological. Slowing the breathing rate or breathing into a cupped hand to recapture some of the lost CO2 can bring relief within minutes, which is a practical clue that hyperventilation is the culprit.
Sleep Apnea and the Morning Headache
If you regularly wake up with a headache that fades within an hour or so of getting out of bed, sleep apnea is a strong suspect. In obstructive sleep apnea, the airway collapses repeatedly during sleep, producing brief episodes of breathlessness and drops in blood oxygen that the sleeper may not consciously notice. About a third of people with obstructive sleep apnea report morning headaches, compared with roughly one in eleven people without the condition.5PubMed. Morning headache in sleep apnoea: clinical and polysomnographic evaluation and response to nasal continuous positive airway pressure
The severity of the sleep apnea matters. People with moderate or severe apnea are more likely to have morning headaches than those with mild cases, and the oxygen dips during REM sleep appear to be a particularly important factor. Research has shown that a higher number of breathing interruptions per hour and lower oxygen levels during REM sleep are both associated with morning headache in these patients.6PubMed Central. Relationship between Apnea-Hypopnea Index and Oxygen Desaturation in REM-Sleep Period and Morning Headache in Patients with Obstructive Sleep Apnea Syndrome
The mechanism is not as simple as “low oxygen equals headache,” though. One epidemiological study compared sleep apnea patients who had the classic sleep apnea headache (pressing, bilateral, without nausea) with those who had other types of morning headache. The sleep apnea headache group did have significantly more time spent below 90% oxygen saturation and deeper oxygen dips. But when researchers compared sleep apnea patients who got headaches with those who did not, the oxygen numbers alone could not explain the difference.7PubMed. Headache in sleep apnea syndrome: epidemiology and pathophysiology Carbon dioxide buildup, disrupted sleep architecture, and fluctuations in intracranial pressure during apnea events all seem to play a role alongside oxygen desaturation. Treating the apnea with continuous positive airway pressure (CPAP) typically resolves the headaches, which is the most practical evidence that the breathing problem is driving them.
Asthma and Other Chronic Airway Conditions
Asthma is primarily a disease of the airways, but its effects extend beyond the lungs. A study comparing asthma patients with healthy controls found that about 62% of the asthma group experienced headaches, compared with roughly 33% of the control group. Tension-type headache was the most common pattern, followed by migraine-type headache.8PubMed Central. Assessment of Headache in Asthma Patients The reasons for this overlap are probably multiple. During an asthma flare, airway narrowing can limit gas exchange enough to nudge oxygen and CO2 levels in headache-producing directions. Chronic inflammation, which is the hallmark of asthma, may also sensitize the nervous system in ways that lower the threshold for headache. And then there is the medication factor.
People with persistent asthma use rescue inhalers containing albuterol (salbutamol), and headache is a recognized side effect. In safety trials of an albuterol dry powder inhaler, headache was reported by about 4% of patients using the active drug. Interestingly, 6% of the placebo group also reported headaches, which underscores how common headaches are in this patient population regardless of medication.9PubMed Central. Twelve- and 52-week safety of albuterol multidose dry powder inhaler in patients with persistent asthma For people with asthma who notice headaches clustering around their flare-ups, sorting out whether the cause is the breathing difficulty itself, the medication, or the shared inflammatory process can be tricky. A pattern where the headache consistently appears before you reach for the inhaler points toward the breathing issue; a pattern where it appears after using the inhaler points toward the drug.
High Altitude and Thin Air
One of the most universal examples of breathlessness causing headache is acute mountain sickness. At elevations above about 2,500 meters (roughly 8,000 feet), the air contains less oxygen per breath. Your body responds by breathing harder, which helps but does not fully compensate. The reduced oxygen reaching the brain triggers vasodilation through the same nitric oxide and adenosine pathways described earlier. Headache is the cardinal symptom of acute mountain sickness, often joined by nausea, fatigue, dizziness, and poor sleep.10PubMed Central. High-altitude illnesses: physiology, risk factors, prevention, and treatment
The shortness of breath at altitude is worth distinguishing from shortness of breath at sea level. At altitude, the air itself has less oxygen, so even healthy lungs cannot extract as much. The breathlessness is a signal that your body is working harder to maintain oxygen delivery, and the headache is a downstream consequence of the partial failure. Ascending slowly gives your body time to adjust, producing more red blood cells and fine-tuning its ventilation rate. When that acclimatization process does not happen quickly enough, ibuprofen can help with the headache while the body catches up.
Panic Attacks and Anxiety-Driven Breathlessness
Feeling like you cannot catch your breath is one of the most frightening features of a panic attack, and headache frequently accompanies it. The breathlessness in a panic attack is almost always the result of hyperventilation rather than any actual lung or heart problem: you are moving plenty of air, just too much of it. As CO2 plummets, the cerebral vasoconstriction that follows can cause headache, lightheadedness, visual changes, and tingling in the extremities.4Jornal Brasileiro de Pneumologia. Respiratory manifestations of panic disorder: causes, consequences and therapeutic implications
What makes this tricky is that the headache and the breathlessness can each amplify the other. A sudden headache can trigger anxiety, which speeds up breathing, which worsens the headache. People who experience this cycle sometimes begin to fear that something is seriously wrong with their heart or brain, which pushes the panic even higher. Recognizing that pattern is genuinely therapeutic. Once you understand that the headache is a predictable physical response to over-breathing, not a sign of a stroke or tumor, breaking the cycle with slow, deliberate breathing becomes much easier. Breathing retraining programs and cognitive behavioral therapy both have good track records for reducing the frequency of these episodes.
Exercise-Related Headaches
Strenuous physical activity can produce both breathlessness and headache simultaneously, and the two are related but not always in a straightforward way. Primary exercise headache is a recognized condition in which vigorous exertion triggers a bilateral, pulsating headache lasting anywhere from minutes to hours. It occurs more often in women and in people who also have migraine, and it tends to strike during activities requiring sustained effort.11PubMed Central. Primary Exercise Headache
The mechanism probably involves both vascular changes and transient increases in intracranial pressure from the physical strain. Cough headache, another related entity, is triggered by forceful coughing or straining that produces a sudden spike in pressure inside the skull.12PubMed. Exertional, Cough, and Sexual Headaches In both cases, the shortness of breath you feel during the activity is not itself the direct cause, but it shares a common driver: the intensity of the effort. If you only get headaches during very hard exercise and they resolve with rest, warming up gradually and staying well hydrated can help. For people who get exercise headaches frequently, indomethacin or a beta-blocker taken before exercise has been the standard preventive approach based on case series data.
When the Two Symptoms Share a Cause Without One Causing the Other
Sometimes shortness of breath and headache appear together not because one produces the other, but because a single underlying condition generates both. Anemia is a classic example. When your red blood cell count drops, your blood carries less oxygen, which can make you feel winded during normal activities and produce headaches from reduced oxygen delivery to the brain. In two population-based cohorts, researchers found that people reporting breathlessness and weakness were more likely to have anemia in a simple analysis, but the connection became less clear once age, body weight, and other health conditions were accounted for.13PubMed Central. Association of Anemia with Clinical Symptoms Commonly Attributed to Anemia—Analysis of Two Population-Based Cohorts That does not mean anemia never causes these symptoms, but it does mean that attributing breathlessness and headache to mild anemia may overestimate its role. Severe anemia is a different story and can produce both symptoms reliably.
Pulmonary hypertension, where blood pressure in the lung arteries is abnormally high, is another condition that generates both symptoms. People with this condition often experience breathlessness on exertion and headaches, and the treatments used for it can add to the headache burden. In a trial of inhaled treprostinil for pulmonary hypertension related to interstitial lung disease, headache and breathlessness were both among the most frequently reported adverse events.14New England Journal of Medicine. Inhaled Treprostinil in Pulmonary Hypertension Due to Interstitial Lung Disease Treprostinil works by dilating blood vessels in the lungs, but that vasodilatory effect is not limited to the lungs; it can also widen blood vessels in the brain, producing headache through the same mechanism as hypercapnia or hypoxia-driven vasodilation.
When to Take the Combination Seriously
Most of the time, shortness of breath and headache together reflect something manageable: a panic episode, an asthma flare, being out of shape at high altitude, or sleep apnea that needs diagnosis. But there are situations where the combination signals something urgent. A sudden, severe headache with new-onset breathlessness could point to a carbon monoxide exposure, where the gas displaces oxygen on your red blood cells and can cause both symptoms rapidly. It could also suggest a serious cardiac event, a pulmonary embolism, or severe decompression sickness in someone who has been diving. One case report described a 25-year-old recreational diver who developed both severe shortness of breath and neurological symptoms after a dive, consistent with type 2 decompression sickness.15Archives of Anesthesia and Critical Care. Complete Resolution of Severe Decompression Sickness in a Diver Following Oxygen Therapy: A Case Report
The practical rule is about the tempo and the context. A headache that develops gradually alongside chronic breathing difficulty, improves when the breathing improves, and has been evaluated by a doctor is a nuisance, not an emergency. A sudden, intense headache with acute breathlessness in a person who was feeling fine an hour ago deserves emergency evaluation. The same applies to a headache with breathlessness that comes with confusion, weakness on one side of the body, chest pain, or a bluish tint to the lips or fingertips.
Why Breathing Retraining Helps More Than You Might Expect
Given how many of the pathways linking breathlessness and headache run through carbon dioxide levels, it is not surprising that learning to control your breathing pattern can make a real dent in both symptoms. People with chronic hyperventilation often do not realize they are over-breathing. Their baseline breathing rate sits a little too high, their CO2 stays a little too low, and they teeter on the edge of symptoms all day. A sudden stressor pushes them over that edge, producing a full-blown episode of breathlessness plus headache plus tingling plus dizziness.
Breathing retraining focuses on slowing the respiratory rate, emphasizing diaphragmatic rather than chest breathing, and building tolerance for the mild discomfort of letting CO2 rise back to normal. The techniques are simple but take practice: breathing in through the nose for a count of four, pausing briefly, and exhaling slowly for a count of six or eight. Over weeks, the habitual breathing pattern resets. For people whose headaches are driven primarily by chronic low-grade hyperventilation, this approach can reduce headache frequency without medication. It is not a solution for everyone, since breathing retraining does nothing for the headaches caused by sleep apnea or COPD, but it fills an important gap for the large group of people whose breathlessness is functional rather than structural.
People who use inhaled bronchodilators and notice headaches clustering after doses may also find value in spacer devices, which improve drug delivery to the lungs and reduce the amount of medication absorbed into the bloodstream. Lowering systemic drug absorption can attenuate side effects like headache and tremor without sacrificing the airway-opening benefit. If you suspect your rescue inhaler is behind your headaches, that is worth discussing with your prescriber before simply tolerating the symptom or skipping doses.