Headache After Working Out or Lifting: When It Is Harmless, Red Flags, Tests, Warm-Up and Indomethacin or Propranolol
🏋️ You finish a hard set of squats, a hill sprint or a long hot run, and a throbbing pain spreads across both sides of the head. Sometimes it fades within minutes, sometimes it lingers into the evening. This is an exercise headache, and in most people it is a harmless reaction of the blood vessels to hard effort. 🔍 The catch is that the same pattern, especially the very first time, can also be the first sign of a bleed in the brain, a torn neck artery or even a heart that is short of oxygen. This guide explains how doctors tell the two apart, which tests make sense, how training habits, heat and altitude change the risk, and how indomethacin before exercise and propranolol as daily prevention are used when the headaches keep coming back.
🧠 What an exercise headache is
📋 The International Classification of Headache Disorders (ICHD-3) calls it primary exercise headache. Older names you may still meet are benign exertional headache, effort headache and, in gyms, weightlifter headache. To meet the definition, there must be at least two episodes, brought on only during or after strenuous physical exercise, each lasting less than 48 hours, with no other condition that explains them. The word primary means the headache is the whole problem: there is no tumour, bleed or blocked artery behind it. When a structural cause is found, doctors call it a secondary exercise headache, and that is a different story with a different treatment.
👥 How common it is and who gets it
📊 Figures vary with the population studied. A Danish survey of almost a thousand adults found about 1% met the strict criteria, while a Norwegian population study of more than 1,800 people found a lifetime rate of 12.3%, slightly more in women. An Iranian study of over 2,000 adults reported a one-year rate of 7.3%, with women affected about twice as often as men. In a group of competitive cyclists after a demanding race, 26% reported the headache, and the rate fell with age. In clinic-based series the average age at onset sits around 40, and in a Japanese study two thirds of patients also had migraine.
🧬 The link with migraine is worth knowing. People who already have migraine, or a parent with migraine, are more likely to get exercise headaches, and their attacks can drift into a full migraine with nausea and light sensitivity. In the Japanese series, several patients also had headache with sexual activity or with coughing, which suggests these effort-related headaches share the same sensitive blood vessel and pain system. If you recognise yourself in more than one of these, mention all of them to your doctor.
💢 What it feels like
💓 The typical primary exercise headache is throbbing or pulsating, felt on both sides of the head, often at the back of the head or across the forehead, and it builds during the hardest part of the effort or shortly after stopping. In the Japanese study, 23 of 30 patients had pain on both sides, about half at the back of the head and a third at the front. Nausea and vomiting are not part of the usual picture. The pain may last five minutes, a few hours or, rarely, up to two days, and it eases with rest, cooling down and time.
🧬 Why exercise can trigger head pain
🔬 Nobody knows the full mechanism, but two ideas have support. The first is a vascular one: hard effort raises blood pressure and blood flow to the brain, and the pain-sensitive vessels around the brain react by widening and firing pain signals. The second concerns veins. When people strain or hold their breath, pressure in the chest rises and blood leaving the head through the jugular veins can be pushed back. In a German study of 20 patients with exertional headache, 70% showed this backward flow in the jugular veins during straining, far more than in healthy controls. Back-up of venous blood may briefly raise pressure inside the skull.
🧪 A third factor is how well the brain protects itself from sudden swings in blood pressure. Normally small arteries tighten when pressure rises, keeping blood flow steady. If this autoregulation is a little slow, a short spike in pressure passes straight through to the brain vessels, which may explain why heat, dehydration and altitude, all of which strain this system, make the headache more likely. This is also why propranolol, which blunts the rise in heart rate and blood pressure, helps many people.
🔥 Common triggers
🌡️ Almost any vigorous activity can set it off, but some show up again and again in patient diaries. Hot weather, high altitude and a personal or family history of migraine are the recognised risk factors, and short, explosive efforts with breath holding tend to be worse than steady jogging. The tiles below show the situations people most often describe.
🧘 Gentler activity such as Pilates, yoga or walking rarely causes this headache, although some people notice it during positions that involve holding the breath or lowering the head below the heart. The common thread is a sudden rise in pressure, not the sport itself, so the same person may run slowly without trouble and get a headache from one heavy set of squats.
⚖️ Primary or secondary: the key question
🧭 Every doctor who sees an exercise headache asks one question first: is this the harmless primary type, or is effort revealing something else? Most exercise headaches turn out to be primary, but a secondary cause must be looked for at the first attack or whenever the pattern changes. Older age at onset and longer-lasting pain both raise the chance of a secondary cause. The comparison below is a guide, not a diagnosis.
📖 The same logic applies to headaches that come on with sex, which share many causes with exercise headache. If both happen to you, our article on sex headache, its emergency signs and prevention covers that side in detail. The message is the same for both: the first explosive attack goes to the emergency department, and later typical attacks can be managed calmly with a plan.
🚨 Red flags that need emergency care
⛔ Stop exercising and call emergency services if the headache comes with any of these:
🔹 Sudden, explosive pain reaching full strength within a minute (thunderclap).
🔹 Vomiting, a stiff neck, confusion, drowsiness or a seizure.
🔹 Double vision, loss of vision, weakness, numbness, slurred speech or a drooping face.
🔹 Chest pain, breathlessness or sweating together with the headache.
🔹 Fainting or collapse during or after exercise.
🔹 Neck pain on one side plus headache after a twist, fall or heavy lift.
🚑 These signs do not mean something terrible is certain, but they mean time matters. A brain bleed, an artery tear or a heart attack is treated far better in the first hours than the next day. If you are alone, stop, sit or lie down, and let someone know where you are before you call for help.
⚡ Thunderclap pain during effort: bleeding and RCVS
🩸 A thunderclap headache reaches its worst within about a minute. During heavy effort, two causes matter most. Subarachnoid haemorrhage, usually from a burst aneurysm, often starts during straining, lifting or sex, and is described as the worst headache of a life. Reversible cerebral vasoconstriction syndrome (RCVS) causes repeated thunderclap headaches over days or weeks, as brain arteries go into temporary spasm; it can be set off by exertion, sex, some antidepressants, decongestants, cannabis and cocaine, and in the weeks after childbirth.
🧣 Neck artery tear (dissection)
🦴 The carotid and vertebral arteries in the neck can develop a small tear in their inner wall after a sudden twist, a heavy lift, a fall or even vigorous neck stretching. The classic picture is new one-sided neck or head pain, sometimes followed hours or days later by stroke symptoms, such as dizziness, unsteadiness, double vision, a droopy eyelid with a small pupil, or weakness on one side. Many dissections heal with blood thinning medicine, but they need prompt diagnosis with MRI and vessel imaging of the head and neck.
❤️ Cardiac cephalgia: when the heart causes head pain
🫀 In a small number of people, mostly older adults with heart disease risk factors, a headache during exertion is actually a symptom of angina, the heart muscle running short of oxygen. Doctors call it cardiac cephalgia. It comes on with effort, eases with rest, and may or may not be accompanied by chest tightness. The important part is that treating it as a simple headache with a vasoconstricting migraine drug could be dangerous.
🔎 Other secondary causes
🧪 Beyond bleeding, artery problems and the heart, a handful of other conditions can produce headache with effort. Most of them are rare, but each has a specific test, so a careful history narrows the list quickly.
| 🔎 Condition | 📋 Clues | 🧪 Usual check |
|---|---|---|
| Chiari malformation | Brief back-of-head pain with coughing, straining or lifting | MRI of brain and neck |
| Raised pressure in the skull (IIH) | Daily headache, worse lying down, visual blurring, often weight gain | Eye exam, MRI, lumbar puncture |
| Pheochromocytoma | Attacks of headache, sweating and pounding heart, very high blood pressure | Plasma metanephrines |
| Uncontrolled high blood pressure | Headache with high readings at the gym | Home and clinic BP readings |
| Sinus disease | Face pressure, blocked nose, worse bending forward | Examination, sometimes CT |
| Brain tumour | Progressive headache, new neurological signs | MRI |
💧 Simpler explanations also deserve a place. Dehydration, low blood sugar after training on an empty stomach, too much caffeine, and tight goggles or helmets can all produce headaches that look like exercise headache but disappear once the cause is fixed. These are worth ruling out with the diary before anyone reaches for a prescription.
🏥 What tests the doctor may order
🩺 The workup depends on the story. Imaging is usually recommended if the headaches strike suddenly, last more than a few hours, or begin after age 40. A young person with a long history of identical, short, throbbing attacks and a normal examination may need very little testing, while a first explosive attack needs emergency imaging the same day.
📄 Bring a symptom diary (sport, heat, fluids, timing and length of each attack) and a list of everything you take, including pre-workout powders, energy drinks, decongestants and supplements. Stimulants and some recreational drugs can be the hidden trigger, and a doctor cannot weigh them if they do not know about them. Honest answers about cannabis or cocaine use are especially important, because both are linked to artery spasm.
🧭 A decision path for a headache during exercise
Emergency department now
See a doctor within days, stop hard training until then
Diary, warm-up, heat and fluid changes
Indomethacin before planned effort or daily propranolol
🔄 Exercise headache, migraine or dehydration?
🧩 Several kinds of headache can follow a workout, and they need different responses. A migraine triggered by exercise behaves like any other migraine, with nausea, light sensitivity and a longer course, while a dehydration headache is dull and improves with fluids and salt. The table puts them side by side.
| 🧠 Type | 📋 Typical features | ✅ First step |
|---|---|---|
| Primary exercise headache | Throbbing, both sides, during or after hard effort, no nausea | Rest, cool down; prevention if repeated |
| Exercise-triggered migraine | One side or both, nausea, light and noise sensitivity, aura in some | Usual migraine treatment, such as a triptan |
| Dehydration or heat headache | Dull, with thirst, dark urine, dizziness, after long hot sessions | Fluids with salt, shade, rest |
| Low blood sugar headache | Shaky, sweaty, hungry, after fasted training | Carbohydrate snack |
| Neck and muscle tension | Tight band, sore neck and shoulders, poor lifting form | Technique, posture, gentle stretching |
📖 If your attacks look more like migraine, the treatment overview in treatment of migraines is the better starting point, and migraine with aura and how to tell it from a stroke explains visual and sensory warning signs. Mixed patterns are common, so the right plan may combine migraine treatment with the exercise-specific steps below.
🏋️ Weightlifting headache and breath holding
💨 Lifters often hold their breath and brace hard during a heavy rep, a technique called the Valsalva manoeuvre. It stabilises the spine, but it also sends pressure in the chest and head soaring for a few seconds. Repeated near-maximal reps with long breath holds are a classic trigger of exercise headache, and some lifters also strain the neck by pushing the head forward or looking up sharply at the hardest point of the lift.
🔥 Warm-up and training changes
🌡️ A gradual warm-up is one of the few prevention steps that clinic guidance names directly. Raising heart rate and blood pressure slowly seems to let the brain vessels adapt, so the spike at peak effort is smaller. The checklist below collects the practical changes that help most people.
🏔️ Heat, hydration and altitude
☀️ Hot weather and high altitude are both recognised risk factors, and people prone to exercise headaches are often advised to avoid hard efforts in those conditions. Heat widens blood vessels in the skin and draws fluid out of the circulation, while altitude lowers oxygen and widens brain vessels. Both make the brain less tolerant of a sudden pressure spike.
Move sessions to early morning or evening, shorten intervals, wear light clothing
Drink to thirst, add electrolytes in sessions over an hour, check urine colour
Take the first two or three days gently, climb gradually, sleep lower if possible
⛰️ A headache at altitude is not always exercise headache. Headache with nausea, poor sleep and fatigue after a fast ascent may be acute mountain sickness, which needs rest and sometimes descent, not more effort. Confusion, unsteady walking or breathlessness at rest at altitude are emergencies. If you plan a trip to the mountains and have a history of exercise headache, discuss a plan with your doctor before you travel.
💊 Indomethacin before exercise
💉 Indomethacin is an older anti-inflammatory drug (NSAID) with a special place in headache medicine. Several effort-related and one-sided headaches respond to it much better than to other painkillers, and the classification itself notes that it has been effective in the majority of reported cases of primary exercise headache. There are no large randomised trials, and the evidence comes from case series, but it remains the drug neurologists reach for first when attacks are predictable.
📋 How it is commonly used
💊 25 to 150 mg taken before planned strenuous activity, at the dose and timing set by the doctor
🍽️ Taken with food or milk to protect the stomach
📅 Only on training days, not every day, when attacks are predictable
📊 What to expect
✅ Fewer or milder attacks on training days
✅ Lets you keep training while habits are adjusted
➖ Stomach upset, dizziness, headache in some users
❌ Does not treat a secondary cause
📖 Indomethacin is also the defining treatment for hemicrania, a rare family of one-sided headaches; if your pain is always on the same side with a red or watery eye, read hemicrania and the indomethacin test. For exercise headache, the goal is the lowest dose that works, used for the shortest time, because the stomach, kidney and heart risks of NSAIDs add up with regular use.
⚠️ Who should avoid indomethacin
🚫 Like all NSAIDs, indomethacin carries a boxed warning about stomach bleeding and about heart attack and stroke risk, which grows with dose and duration. It is not a drug to buy and take casually, and the conditions below need a doctor to weigh the risk or choose another option.
| 🚫 Situation | 📝 Why |
|---|---|
| Past stomach ulcer or bleeding | High risk of a new bleed |
| Heart disease, recent heart bypass surgery | NSAIDs raise the risk of heart attack and stroke; not used around bypass surgery |
| Kidney disease or dehydration | Can reduce kidney blood flow, worse after long sweaty sessions |
| Taking blood thinners, aspirin or SSRIs | Higher bleeding risk |
| Asthma worsened by aspirin or NSAIDs | Can trigger an attack |
| Pregnancy, especially from 20 weeks | Risk to the kidneys and heart vessels of the baby |
| Older age | More confusion, dizziness and bleeding |
💡 If indomethacin upsets your stomach, tell the prescriber rather than stopping silently. A stomach-protecting tablet, a lower dose or a switch to propranolol are all reasonable next steps. Never combine two NSAIDs, for example indomethacin with ibuprofen bought separately, because that doubles the risk without adding much benefit.
🛡️ Propranolol for daily prevention
💓 When attacks are frequent, unpredictable or come with everyday effort such as climbing stairs, a daily preventive often makes more sense than a pill before each session. Propranolol, a beta blocker, blunts the rise in heart rate and blood pressure during effort, and it is the preventive most often named for exercise headache. In one published series of patients with exercise and sexual headaches, daily doses of 40 to 80 mg were used.
⚠️ Propranolol is not for everyone. It is avoided in asthma, a slow pulse, heart block and very low blood pressure, and people with diabetes need to know it can hide the warning signs of low blood sugar. Athletes notice one more thing: a beta blocker lowers peak heart rate and can make hard efforts feel heavier, so endurance athletes sometimes prefer the as-needed approach. It should never be stopped suddenly after weeks of use; the dose is tapered.
💊 Other options: NSAIDs, paracetamol and triptans
🧰 Some people cannot take indomethacin or propranolol, and some headaches after exercise are really migraine. Other medicines can help in specific situations, though the evidence for them in primary exercise headache is thinner. The cards show where each one fits.
📊 A word of caution about painkillers in general. Taking painkillers or triptans on many days a month can itself create a daily rebound headache, which then gets blamed on training. If you are reaching for tablets on ten or more days a month, read about medication overuse headache and how to break the cycle and discuss a preventive with your doctor instead.
🛏️ What to do during an attack
🛑 When a typical, already-diagnosed exercise headache starts, the best first step is simple: stop the effort, cool down gently and rest in a cool place. Continuing to push usually makes the pain stronger and longer. Most attacks start to fade within minutes to an hour once effort stops.
📅 How it usually behaves over time
📈 Reviews describe primary exercise headache as self-limited in most people. Attacks often cluster in periods of weeks or months, then quieten down, especially once triggers are adjusted. The timeline below shows a common course with treatment.
Checks done, heavy training paused
Diary, warm-up, heat and fluid changes
Medicine if still needed, training rebuilt
Trial of stopping medicine, keep the habits
🗿 Myths and facts about exercise headache
🚨 When to see a doctor
⛔ Go to emergency care now if: the headache was explosive, the worst of your life, or came with vomiting, a stiff neck, fainting, confusion, vision loss, weakness, numbness, slurred speech or chest pain.
📅 Book a doctor visit within days if:
🔹 This is your first headache brought on by exercise, even if it was mild.
🔹 The attacks have changed in pattern, become longer, or now last more than a day.
🔹 They started after age 40, or you have heart disease risk factors.
🔹 You use painkillers on 10 or more days a month to keep training.
🔹 You take stimulants, decongestants, cannabis or cocaine and get headaches with effort.
📖 Breathlessness and wheeze during exercise are a separate problem with their own fix; see exercise-induced asthma and the right warm-up. Severe one-sided attacks around the eye that wake you at night are more likely cluster headache. Matching the headache to the right diagnosis is what makes treatment work.
❓ Frequently asked questions
Why do I get a headache after working out?
Hard effort raises blood pressure and blood flow to the brain, and in sensitive people the vessels around the brain react with a throbbing pain. Heat, dehydration, altitude and breath holding during lifts make it more likely.
Is an exercise headache dangerous?
Most are harmless primary headaches. The first attack, an explosive one or one with vomiting, neck stiffness, neurological signs or chest pain must be checked, because bleeding, artery tears and heart problems can start the same way.
How long does an exercise headache last?
A primary exercise headache lasts from about five minutes up to 48 hours, and most ease within a few hours of stopping. Pain lasting longer than that needs a medical review.
Do I need a brain scan?
Imaging is usually advised for a first attack, a sudden or explosive onset, pain lasting more than a few hours, or onset after age 40. A young person with a long history of identical short attacks may need less testing.
How is indomethacin used for exercise headache?
It is taken before planned strenuous activity, in reported doses of 25 to 150 mg, with food. The dose and timing are set by a doctor, and it is avoided in people with ulcers, heart or kidney disease and late pregnancy.
Can propranolol prevent exercise headaches?
Yes, it is the most commonly used daily preventive when attacks are frequent or unpredictable. It is not suitable for people with asthma, a slow pulse or heart block, and it should be tapered rather than stopped suddenly.
Does warming up really help?
A gradual warm-up is one of the recommended prevention steps. Raising effort slowly over 10 to 15 minutes seems to reduce the sudden pressure spike that triggers the pain.
Why do I get a headache when lifting weights?
Holding the breath and bracing during heavy reps sharply raises pressure in the chest and head. Breathing out through the hardest part of the lift, lighter loads and longer rests between sets often help.
Is a headache after exercise in the heat the same thing?
Heat is a known trigger of primary exercise headache, but a dull headache with thirst, dizziness and dark urine is more likely dehydration or heat strain. Confusion or collapse in the heat is an emergency.
Will I have to stop exercising?
Usually not. Most people keep training with a better warm-up, paced effort, attention to heat and fluids, and a tablet before hard sessions if needed. The headaches often settle over weeks to months.
📑 Sources and editorial
- 📘 International Classification of Headache Disorders, third edition: criteria for primary exercise headache
- 🧠 Narrative reviews and case series of primary exercise headache, its prevalence and workup
- 🌍 Population studies of exertional headache in Denmark, Norway, Iran, Japan and in competitive cyclists
- 🔬 Ultrasound studies of jugular venous reflux during straining in exertional headache
- 💊 Prescribing information for indomethacin and propranolol, including NSAID boxed warnings
- 🩺 Clinical guidance on thunderclap headache, reversible cerebral vasoconstriction syndrome, cervical artery dissection and cardiac cephalgia
- 📖 Related reading: sex headache, hemicrania and indomethacin, medication overuse headache, treatment of migraines, exercise-induced asthma
- 🛒 Related products: Indocin (Indomethacin), Inderal (Propranolol), P-Nolol (Propranolol), Ciplar-LA (Propranolol), Naprosyn (Naproxen), Motrin (Ibuprofen), Paracip (Paracetamol), Maxalt (Rizatriptan), Imitrex (Sumatriptan), Calan (Verapamil)
- 🩺 RXshop Editorial Team — reviewed by James Carter, MD — Neurology and sleep medicine
Medical Disclaimer: The information in this article is for educational and informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek guidance from a qualified healthcare provider with any questions you may have regarding a medical condition, and before starting, stopping or changing any medication.