Brain & Nervous System Headaches Reasons You Get Headaches After Exercise By Sarah Jividen, RN Sarah Jividen, RN LinkedIn Sarah Jividen, RN, BSN, is a freelance healthcare journalist and content marketing writer at Health Writing Solutions, LLC. She has over a decade of direct patient care experience working as a registered nurse specializing in neurotrauma, stroke, and the emergency room. Learn about our editorial process Published on January 06, 2022 Medically reviewed by Nicholas R. Metrus, MD Medically reviewed by Nicholas R. Metrus, MD LinkedIn Nicholas R. Metrus, MD, is board-certified in neurology and neuro-oncology. He currently works at the Glasser Brain Tumor Center with Atlantic Health System in Summit, New Jersey. Learn about our Medical Expert Board Print Table of Contents View All Table of Contents Causes Prevention Treatment Frequently Asked Questions If you've ever experienced a headache after working out, you may be wondering why it happened. A headache after exercise is commonly described as pulsating pain on both sides of the head. This type of headache generally lasts from a few minutes to up to 48 hours following physical activity. This article reviews some of the causes, treatments, and prevention methods for exercise-induced headaches. Verywell / Theresa Chiechi Causes Exercise-induced headaches occur after strenuous physical activity such as running, weight lifting, cycling, or swimming. This type of headache can occur as increased circulation around the head and scalp causes blood vessels to vasodilate (enlarge) to increase blood flow. The two categories of exercise headaches are: Primary exercise headaches: These occur during or immediately following physical exertion. They usually resolve on their own and are generally not connected to a more significant physical issue. These headaches can often be managed or prevented with over-the-counter (OTC) medications. Secondary exercise headaches: These stem from an underlying health condition, such as heart disease, and are much less frequent. Older age and severity of the headache after strenuous activities may warrant a discussion with your healthcare provider to rule out a more severe condition. Exertional Headache Exertional headaches are headaches that arise with physical activity. These usually develop soon after performing physical activity or activities that require "bearing down," such as: RunningWeight liftingCoughing or sneezingSexual intercourseStraining with bowel movements Dehydration Physical exercise without adequate water intake to replace lost fluids can lead to dehydration. Dehydration by itself can cause headaches. However, it may also exacerbate other underlying medical conditions and primary headache disorders that are dependent on hydration and fluid balance. Is Your Headache Caused by Dehydration? Low Blood Sugar Your muscles use fuel in the form of sugar to supply energy for physical exertion. Intense physical activity may drop your blood sugar during a strenuous workout. People who are not diabetic may be able to prevent exercise headaches due to low blood sugar, or hypoglycemia, by eating carbohydrates before working out. Prevalence of Headaches Nearly 50% of the general population has suffered or suffers from a headache disorder. Headaches affect people of any age, race, income level, and gender. However, they tend to be more common in women. Prevention Strategies to prevent exercise-induced headaches include: Staying hydratedWarming up before exerciseEating a small meal before working out to prevent hypoglycemia Talk to your healthcare provider about medications that may help prevent headaches during exercise, including: Nonsteroidal anti-inflammatory drugs (NSAIDs), which, when taken about 45 minutes before exercise, may prevent primary exercise headache in some cases Beta-blockers, which have been reported to prevent exercise-induced headaches and may be an option for people who cannot take NSAIDs Primary exercise headaches are more common in hot weather and high altitudes, so consider these factors before working out. Although exercise can cause a headache for some people, many experts say that getting regular exercise can reduce the frequency and intensity of headaches and migraines. Treatment If you get a headache following exercise, you should see your healthcare provider for a physical to ensure you don't have an underlying medical condition. Diagnostic tests that can rule out underlying health conditions that may be causing your headache include magnetic resonance imaging (MRI) or lumbar puncture (spinal tap). It's also important to talk to your provider about medications to help manage your headaches. Most exercise-induced headaches are harmless. They typically respond well to OTC medications used for other types of headaches, such as Tylenol (acetaminophen) and NSAIDs. Summary Exercise-induced headaches occur after physical activity due to increased circulation in the head that increases blood flow. A primary exercise headache is characterized by pulsating pain on both sides of the head. Primary exercise headaches can be caused by many factors such as exertion, dehydration, and low blood sugar. A Word From Verywell Exercise-induced headaches can be frustrating, especially if you regularly exercise. Fortunately there are ways to prevent them, like staying hydrated, warming up before exercise, and eating a small meal before working out. There are also treatment options available. Talk to your healthcare provider about medications that may help manage or prevent headaches after exercise. Frequently Asked Questions What positive effects does exercise have on the nervous system? Some of the positive effects that exercise has on the nervous system are:Better cognitive functionRegulation of circadian rhythmEnergy balanceIncreased metabolismImproved stress responseMaintenance of mobilityOverall physiological health How much exercise is too much? Exercising too much can lead to exhaustion and other health problems. In some cases, working too hard can even do more harm than good. Symptoms of too much exercise include:Feeling tired and needing more restDepressionDeveloping mood swings or irritabilityInsomniaPainful muscle sorenessBecoming injured from overusing musclesLack of motivationGetting sickWeight lossAnxiousness When should you worry about a headache? Some headaches may require a trip to your healthcare provider or urgent care. The following factors influence when you should worry about a headache:Onset after age 50Following a head injuryThose requiring bed restHaving new onset of headache symptomsHaving "the worst headache of your life"Headaches that get worse or increase with coughingHeadaches that change your personality or cognition levelHeadaches accompanied with a pink eye or pain at the templesHeadaches in a cancer patient or someone with an immune deficiencyA sudden headache upon wakingIf you have a headache accompanied by any of the following symptoms, call your healthcare provider or 911:FeverStiff neckConfusionLoss of consciousness or memoryHallucinationsSlurred speech, weakness, numbness, or seizures 10 Sources Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy. American Migraine Foundation. Primary exercise headache. Upadhyaya P, Nandyala A, Ailani J. Primary exercise headache. Curr Neurol Neurosci Rep. 2020;20(5):9. doi:10.1007/s11910-020-01028-4 National Headache Foundation. Exertional headaches. Arca KN, Halker Singh RB. Dehydration and headache. Curr Pain Headache Rep. 2021:15;25(8):56. doi:10.1007/s11916-021-00966-z Brun JF, Dumortier M, Fedou C, Mercier J. Exercise hypoglycemia in nondiabetic subjects. Diabetes Metab. 2001;27:92-106. Ahmed F. Headache disorders: differentiating and managing the common subtypes. Br J Pain. 2012;6(3):124-132. doi:10.1177/2049463712459691 American Migraine Foundation. Effects of exercise on headaches. Morgan JA, Corrigan F, Baune BT. Effects of physical exercise on central nervous system functions: a review of brain region specific adaptations. J Mol Psychiatry. 2015;3:3. doi:10.1186/s40303-015-0010-8 MedlinePlus. Are you getting too much exercise? Harvard Health. Headache: When to worry, what to do. By Sarah Jividen, RN Sarah Jividen, RN, BSN, is a freelance healthcare journalist and content marketing writer at Health Writing Solutions, LLC. She has over a decade of direct patient care experience working as a registered nurse specializing in neurotrauma, stroke, and the emergency room. See Our Editorial Process Meet Our Medical Expert Board Share Feedback Was this page helpful? Thanks for your feedback! What is your feedback? Other Helpful Report an Error Submit