A headache after workout sessions is usually not serious. Dehydration, skipped meals, heat or straining can set it off.
Rarely, though, a sudden, severe headache during exercise is a sign of bleeding on the brain, which is an emergency.
For other aches and pains, see our graded remedies for everyday pain and colds. For headaches of all kinds, see everyday headaches and what eases them.
- Dehydration, skipped meals, heat and heavy-lift straining can trigger a headache after a workout.
- About 1 in 20 people may get primary exercise headaches, lasting under 48 hours; sudden, severe ones are emergencies.
- Fluids, regular meals and easing off in the heat may help, but the evidence is weak.
- Acetaminophen or ibuprofen can ease the pain, but overusing painkillers can cause rebound headaches.
Why do I get a headache after a workout?
You may get a headache after a workout because you’re short on fluids, haven’t eaten for a while, got overheated or strained hard on a lift. Sometimes exercise itself is the trigger. Doctors call this primary exercise headache in the International Classification of Headache Disorders (ICHD-3), the International Headache Society’s diagnostic guide.
Primary exercise headache is a headache set off by exercise, with no problem inside the head causing it. A 2026 review of 12 studies suggests it’s probably more common in women and usually starts in the late 20s.
Teens with migraine may be more prone. In a survey of 1,963 teenagers in Taiwan, 47.5% of those with migraine had exercise headaches, vs 21.1% of those without.
- Not enough fluids. Headache is a symptom of dehydration. Sweating a lot after exercise makes dehydration more likely. In a small study of 15 adults, going without fluids brought more headache at 24 hours than drinking normally. Here’s more on plain water and headaches.
- Skipped meals. Not eating regular meals is a common headache cause. A fasting headache eases after eating. However, it isn’t clearly linked to low blood sugar, which is rare without diabetes.
- Diabetes medicines. If you take insulin or some other diabetes medicines, exercise can lower your blood sugar. A headache can be a sign of low blood sugar.
- Heat or altitude. Primary exercise headache happens especially in hot weather or at high altitude. Headache is also a sign of heat exhaustion.
- Straining. Weight-lifters’ headache is a recognized form of exercise headache. Straining can also set off a related type, cough headache.
- Posture. Bad posture is another common headache cause.
If the pain sits in one spot, see pain that sits above one eyebrow.
How long do exercise headaches last?
Under the ICHD-3 criteria, a primary exercise headache lasts less than 48 hours, and doctors diagnose it only after at least two episodes. In the small case series summed up in a 2020 review of primary exercise headache, episodes lasted anywhere from 5 minutes to 48 hours.
Other headaches can last 30 minutes, several hours or sometimes several days.
How do you get rid of a headache after workout sessions?
Fluids, food and cooling down may help. In reviews of tension-type headache, acetaminophen (paracetamol) probably helps a little, and so does ibuprofen for some people. Neither was tested in exercise headache.
However, no fix has strong evidence. The 2020 review found a lack of randomized trials, so treatment advice rests on case reports and expert opinion. Our own search also found no randomized trials of treatments for primary exercise headache.
| Fix | Evidence | Why it might help | Main caveat |
|---|---|---|---|
| Drink enough fluids | Low | Going without fluids brought more headache in a small study | In one trial, headache days didn’t change |
| Don’t skip meals | Low | Fasting can cause a headache that eases after eating | Low blood sugar isn’t a proven cause |
| Ease off in heat or at altitude | Low | Exercise headache happens especially in heat and at altitude | Hot skin without sweating, fast breathing, confusion, or still unwell after 30 minutes of cooling and fluids: get emergency help |
| Avoid straining on heavy lifts | Low | Straining can set off a related cough headache | We found no trials of this fix; it still needs a doctor |
| Acetaminophen or ibuprofen | Low | Helped a little in tension-type headache trials; not tested in exercise headache | Overuse causes rebound headaches; ibuprofen isn’t recommended in pregnancy |
| Indomethacin (prescription) | Low | Helped most people in case reports | Only after a doctor rules out other causes |
The one water trial wasn’t in exercise headaches.
It included 102 adults with recurrent headaches, and all got stress and sleep advice. Of those also told to drink more water, 47% reported much improvement, vs 25% without it. Even so, their days with headache didn’t change, so this evidence is weak.
Are exertion headaches dangerous?
Most exertion headaches aren’t, but a few serious problems can look the same, according to the 2020 review.
The first time, the ICHD-3 criteria say doctors must rule out bleeding on the brain and a tear in an artery wall. They also rule out a sudden, temporary narrowing of the brain’s arteries.
A subarachnoid hemorrhage is a rare type of stroke that causes bleeding on the brain. In a study of 250 people who had one, vigorous exercise and toilet straining came just before it more often than usual.
Its main sign is a “thunderclap” headache: extremely painful, sudden and not going away.
An exercise headache with chest pain, shortness of breath or fever can point to a heart, lung or other problem.
When to see a doctor
- Get emergency help right away for a sudden, excruciating headache, or one within 3 months of head injury or with weakness, numbness, confusion, trouble speaking or walking, vision loss, seizure, high fever, stiff neck, chest pain, or hot, dry skin.
- See a doctor the same day about your first exercise headache, especially with heart disease risk factors, or a headache that exercise triggers or worsens or that comes with vomiting or vision problems.
- See a doctor if you keep getting headaches, or one isn’t getting better.
FAQ
Should you stop working out if you get a headache?
Stop and get emergency help if the headache is sudden and extremely painful. If you’re overheating, move somewhere cool and drink fluids. A headache that exercise triggers or makes worse is a reason for an urgent doctor’s appointment.
Can a workout trigger a migraine?
Yes. When exercise sets off a migraine, doctors class it as migraine, not exercise headache, under the ICHD-3 criteria. Feeling sick, vomiting and finding light or noise painful can be signs of migraine, so see a doctor if your headaches come with them.
Can exercise help prevent headaches?
It may help tension headaches, but the evidence is weak. In a 2022 review of exercise trials, strength training eased tension headache pain, with very low certainty. If neck pain comes with your headaches, a low, firm pillow and heat or cold packs may help.
The bottom line
A headache after workout sessions often comes from low fluids, skipped meals, heat or straining, or from primary exercise headache, which lasts under 48 hours. The simple fixes may help, but the evidence is weak. A sudden, extremely painful one needs emergency help.
Sources & References
- Osiowski, A., Wróbel, D., Majka, K., Baran, K., Klepinowski, T., Taterra, D., & Osiowski, M. (2026). Epidemiology of primary exercise headache: A systematic review and meta-analysis with comparison between clinic- and population-based settings. Neuroepidemiology, 1-9. https://doi.org/10.1159/000549397
Evidence: Moderate. For how common it is: systematic review and meta-analysis of 12 prevalence studies (population surveys and clinics), searched to July 2025; most at low risk of bias, but results varied widely (abstract read). Funding: none (no sponsor or funder); authors declared no conflicts. - Headache Classification Committee of the International Headache Society. (2018). The International Classification of Headache Disorders, 3rd edition (ICHD-3): 4.1 Primary cough headache; 4.2 Primary exercise headache; 10.5 Headache attributed to fasting. https://ichd-3.org/other-primary-headache-disorders/4-2-primary-exercise-headache/
Evidence: Reference source. The international diagnostic criteria, used for the definition, duration, heat and altitude, weight-lifters’ headache, straining (4.1, https://ichd-3.org/other-primary-headache-disorders/4-1-primary-cough-headache/), fasting headache and low blood sugar (10.5, https://ichd-3.org/10-headache-attributed-to-disorder-of-homoeostasis/10-5-headache-attributed-to-fasting/), migraine set off by exercise, indomethacin, and what doctors must rule out the first time. - Chen, S. P., Fuh, J. L., Lu, S. R., & Wang, S. J. (2009). Exertional headache: A survey of 1963 adolescents. Cephalalgia, 29(4), 401-407. https://doi.org/10.1111/j.1468-2982.2008.01744.x
Evidence: Moderate. For how common it is: questionnaire survey of 1,963 students aged 13 to 15 at two schools in Taiwan (abstract read). Funding: a research grant (V97A-039, funder not named); no conflict statement. DHB note: older than our usual 2018 cutoff, but it’s the largest survey we found comparing teenagers with and without migraine. - National Health Service. (n.d.). Dehydration. NHS. https://www.nhs.uk/conditions/dehydration/
Evidence: Reference source. UK health service page, used for headache as a symptom and sweating after exercise as a cause. - Shirreffs, S. M., Merson, S. J., Fraser, S. M., & Archer, D. T. (2004). The effects of fluid restriction on hydration status and subjective feelings in man. British Journal of Nutrition, 91(6), 951-958. https://doi.org/10.1079/bjn20041149
Evidence: Low. Randomized crossover lab study, 15 healthy adults, up to 37 hours without fluids vs drinking normally; headache feelings were greater at 24 and 37 hours. Full text read. Funding: unknown (no funding statement in the full text). DHB note: older than our usual 2018 cutoff, but it’s one of the few controlled studies that measured headache during fluid restriction. - National Health Service. (2024). Headaches. NHS. https://www.nhs.uk/symptoms/headaches/
Evidence: Reference source. UK health service page, used for common causes, how long headaches can last (30 minutes to several days), self-care, pain relievers and when to get urgent or emergency help, including a recent head injury. - National Health Service. (n.d.). Low blood sugar (hypoglycaemia). NHS. https://www.nhs.uk/conditions/low-blood-sugar-hypoglycaemia/
Evidence: Reference source. UK health service page, used for low blood sugar being rare without diabetes. - National Institute of Diabetes and Digestive and Kidney Diseases. (n.d.). Low blood glucose (hypoglycemia). NIDDK. https://www.niddk.nih.gov/health-information/diabetes/overview/preventing-problems/low-blood-glucose-hypoglycemia
Evidence: Reference source. US federal agency page, used for diabetes medicines, exercise and headache as a symptom of low blood glucose. - National Health Service. (n.d.). Heat exhaustion and heatstroke. NHS. https://www.nhs.uk/conditions/heat-exhaustion-heatstroke/
Evidence: Reference source. UK health service page, used for headache as a sign of heat exhaustion, cooling down and the heatstroke emergency signs. - Upadhyaya, P., Nandyala, A., & Ailani, J. (2020). Primary exercise headache. Current Neurology and Neuroscience Reports, 20(5), 9. https://doi.org/10.1007/s11910-020-01028-4
Evidence: Low. Narrative review; duration and treatment come from small case series and case reports, and it notes a lack of randomized trials. Full text read. Funding: unknown (no funding statement); the authors declare no conflicts of interest. - National Health Service. (n.d.). Tension headaches. NHS. https://www.nhs.uk/conditions/tension-headaches/
Evidence: Reference source. UK health service page, used for rebound headaches from painkiller overuse, ibuprofen in pregnancy, signs that may point to migraine, and exercise, pillows and heat or cold packs for tension headaches. - Stephens, G., Derry, S., & Moore, R. A. (2016). Paracetamol (acetaminophen) for acute treatment of episodic tension-type headache in adults. Cochrane Database of Systematic Reviews, (6), CD011889. https://doi.org/10.1002/14651858.CD011889.pub2
Evidence: Moderate. Graded for tension-type headache: Cochrane review of 23 randomized, placebo-controlled trials (8,079 people) in adults with frequent episodic tension-type headache; a small benefit on being pain free at 2 hours, moderate to high quality evidence; adverse events no different from placebo. Not tested in exercise headache, so the table grades this fix Low there. Funding: unknown (full text not retrieved; abstract and conflict statement read); one author reported grants and honoraria from analgesic makers. DHB note: older than our usual 2018 cutoff, but it is the Cochrane review of acetaminophen for tension-type headache. - Derry, S., Wiffen, P. J., Moore, R. A., & Bendtsen, L. (2015). Ibuprofen for acute treatment of episodic tension-type headache in adults. Cochrane Database of Systematic Reviews, (7), CD011474. https://doi.org/10.1002/14651858.CD011474.pub2
Evidence: Moderate. Graded for tension-type headache: Cochrane review of 12 randomized, placebo-controlled trials (3,094 people); benefit on being pain free at 2 hours for a small number of people, from 4 studies (moderate quality evidence); a single meta-analysis on a narrow question. Not tested in exercise headache. Funding: unknown (full text not retrieved); the authors say their NIHR review funding did not support this review and declared no related conflicts. DHB note: older than our usual 2018 cutoff, but it is the Cochrane review of ibuprofen for tension-type headache. - Spigt, M., Weerkamp, N., Troost, J., van Schayck, C. P., & Knottnerus, J. A. (2012). A randomized trial on the effects of regular water intake in patients with recurrent headaches. Family Practice, 29(4), 370-375. https://doi.org/10.1093/fampra/cmr112
Evidence: Low. One randomized trial (n=102, 3 months) in adults with recurrent headaches, not exercise headaches; more water plus stress and sleep advice vs the same advice alone; improvement was self-rated, and headache days didn’t change (abstract read). Funding: unknown (full text paywalled). DHB note: older than our usual 2018 cutoff, but it’s still the only randomized trial of drinking more water for headache. - National Health Service. (n.d.). Subarachnoid haemorrhage. NHS. https://www.nhs.uk/conditions/subarachnoid-haemorrhage/
Evidence: Reference source. UK health service page, used for the definition, the thunderclap headache and heavy lifting. - National Health Service. (n.d.). Chest pain. NHS. https://www.nhs.uk/symptoms/chest-pain/
Evidence: Reference source. UK health service page, used for the emergency chest pain signs. - Vlak, M. H. M., Rinkel, G. J. E., Greebe, P., van der Bom, J. G., & Algra, A. (2011). Trigger factors and their attributable risk for rupture of intracranial aneurysms: A case-crossover study. Stroke, 42(7), 1878-1882. https://doi.org/10.1161/STROKEAHA.110.606558
Evidence: Low. Case-crossover study of 250 people with aneurysmal subarachnoid hemorrhage, using a questionnaire about exposures just before it; vigorous physical exercise and straining for defecation were among 8 triggers linked to higher risk; recall-based and observational. Funding: unknown (full text paywalled; no grant listed in Europe PMC). DHB note: older than our usual 2018 cutoff, but it is the main study of what triggers this kind of bleed. - Varangot-Reille, C., Suso-Martí, L., Romero-Palau, M., Suárez-Pastor, P., & Cuenca-Martínez, F. (2022). Effects of different therapeutic exercise modalities on migraine or tension-type headache: A systematic review and meta-analysis with a replicability analysis. The Journal of Pain, 23(7), 1099-1122. https://doi.org/10.1016/j.jpain.2021.12.003
Evidence: Low. Systematic review and meta-analysis of 19 trials (2,776 people) of exercise vs no active treatment in migraine or tension-type headache; strength training lowered tension-type headache pain, but the authors rate this very low certainty, with high risk of bias. Funding: unknown (full text paywalled; no grant listed in Europe PMC). - Mayo Clinic Staff. (n.d.). Exercise headaches. Mayo Clinic Health Library (licensed copy, Altru Health System). https://www.altru.org/health-library/conditions/exercise-headaches
Evidence: Reference source. Mayo Clinic patient guidance (mayoclinic.org blocks scripted access; same text read on a licensed copy credited to the Mayo Foundation), used for calling a provider right away about a first exercise headache.
How We Reviewed This Article
We rank evidence before we write. Systematic reviews, meta-analyses, and randomized controlled trials carry the most weight. Smaller trials and observational studies get cited with appropriate caveats. Consumer-perception surveys and industry-funded work get flagged as such. Every source in the References section above is tagged with its evidence strength, so you can see the grade for yourself.
Medical Disclaimer
This article is for informational purposes only and does not constitute medical advice. Always consult a qualified healthcare provider before making changes to your diet, exercise routine, or supplement regimen. Daily Healthy Body does not provide medical diagnoses or treatment recommendations.






