← All Topics

Can physical exertion or exercise trigger a migraine? 

In the clinical landscape of the United Kingdom, the relationship between physical activity and migraine is complex. While regular, moderate exercise is often recommended as a preventative strategy to reduce attack frequency, acute physical exertion is a well-documented trigger for many sufferers. When a migraine is initiated by exercise, it is formally known as an exercise-induced migraine or a primary exercise headache. Understanding why the body’s response to movement can sometimes spark a neurological event is key to maintaining an active lifestyle without compromising your health. 

As a physician with experience in internal medicine, emergency care, and psychiatry, I have treated many patients who avoid the gym or sports because they fear a subsequent attack. However, with the right clinical approach and a better understanding of the physiological triggers involved, most patients can find a balance that allows for healthy movement. This article explains the biological mechanisms behind exertion-triggered migraines and how to manage them. 

What We Will Discuss In This Article 

  • Primary Exercise Headache: Defining the condition 
  • Physiological Triggers: Blood pressure, heart rate, and intracranial pressure 
  • The Role of Dehydration and Blood Sugar: Secondary exercise factors 
  • Environmental Influences: Heat, altitude, and intensity 
  • Integrated Management: Combining warm ups and clinical prevention 
  • The Psychological Aspect: Overcoming the fear of movement 
  • Emergency Guidance: Identifying red flags in exertion-related pain 

Defining Primary Exercise Headache 

A primary exercise headache is a headache brought on by and occurring only during or after sustained physical activity. It is typically pulsating in nature and can last from five minutes to 48 hours. For those with a pre-existing migraine disorder, intense exercise can act as the specific catalyst that initiates a full migraine attack, complete with nausea and light sensitivity. 

In a clinical setting, we distinguish this from headaches caused by underlying structural issues. If a headache only occurs during strenuous activity, it is vital to have an initial assessment to ensure the vascular system is responding normally to the increased demand for blood flow. 

Why Exertion Triggers Pain: The Biological Mechanisms 

Several physiological changes during exercise can trigger a migraine in a sensitive brain: 

  1. Intracranial Pressure: Straining, such as during heavy weightlifting or sprinting, increases the pressure within the skull. This can irritate the pain-sensitive membranes surrounding the brain. 
  1. Vasodilation: Exercise causes blood vessels to expand to deliver more oxygen to the muscles and brain. In a migraine-prone individual, this rapid dilation can stimulate the trigeminal nerve, leading to throbbing pain. 
  1. Chemical Shifts: Physical exertion changes the levels of various neurotransmitters and peptides, such as CGRP (Calcitonin Gene-Related Peptide), which is known to play a central role in the migraine process. 

Secondary Factors: Dehydration and Blood Sugar 

Often, it is not the exercise itself but the physiological state of the body during the workout that acts as the trigger. 

  • Dehydration: Sweating leads to fluid loss, which reduces blood volume and can cause brain tissue to contract slightly, putting pressure on nerves. 
  • Hypoglycaemia: Intense exercise rapidly consumes glucose. A sudden drop in blood sugar is a potent neurological trigger for many migraineurs. 
  • Lack of Warm-up: A sudden spike in heart rate without a gradual transition can overwhelm the brain’s ability to regulate blood flow. 

Integrating Psychiatry and Digital Health 

Given my background in psychiatry and evidence-based therapies like CBT, I frequently address the anxiety that develops when exercise becomes a source of pain. This can lead to a sedentary lifestyle, which actually worsens migraine frequency over time by increasing stress and poor sleep. 

I advocate for using digital health tools to track exercise intensity alongside hydration and headache frequency. This allows us to see if there is a specific heart rate or duration that acts as your personal threshold. Applying mindfulness-based approaches can also help you stay attuned to your body’s early warning signs, allowing you to moderate your intensity before a migraine is fully triggered. 

Strategies for Safe Exercise 

To reduce the risk of an exertion-triggered attack, I recommend the following clinical strategies: 

  1. The Long Warm-up: Spend at least 15 minutes gradually increasing your heart rate to allow your blood vessels to adapt. 
  1. Hydration and Fuel: Drink fluids before, during, and after exercise, and have a small, protein-rich snack 30 minutes before starting. 
  1. Environment Control: Avoid exercising in extreme heat or at high altitudes if these are known triggers for you. 
  1. Clinical Prevention: If exercise consistently triggers migraines despite these steps, your doctor may suggest taking a specific preventative medication shortly before you plan to work out. 

Emergency Guidance: Identifying Red Flags 

While exercise headaches are usually benign, any sudden, severe pain during exertion must be taken seriously. Seek emergency care immediately if you experience: 

  • Thunderclap Onset: A sudden, agonizing headache that reaches maximum intensity within seconds of straining. 
  • Neurological Signs: Sudden weakness, numbness on one side, or difficulty speaking. 
  • Vision Changes: Sudden loss of vision or double vision. 
  • Loss of Consciousness: Fainting or severe confusion during or after exercise. 
  • Signs of a Silent Heart Attack: Such as sudden profound nausea, weakness, and chest or jaw pressure. 

In these situations, call 999 or attend your nearest Accident and Emergency department immediately. 

To Summarise 

Physical exertion can trigger a migraine by increasing intracranial pressure and causing rapid changes in blood flow and neurochemistry. Often, these attacks are exacerbated by dehydration or low blood sugar. In the UK, clinicians like Dr. Rebecca Fernandez emphasize that you do not have to give up exercise; instead, the focus should be on a gradual approach, proper hydration, and tracking your personal thresholds through digital tools. By combining these physical strategies with mindfulness and clinical support, you can enjoy the many benefits of an active lifestyle while keeping your migraine symptoms under control. 

Can I still lift weights if I get exercise migraines? 

Yes, but you may need to focus on lower weights with higher repetitions and avoid holding your breath during the lift (the Valsalva maneuver), as this significantly increases pressure in the head. 

How long does an exercise-induced migraine last?

The duration can vary from a few minutes to several days, similar to a standard migraine attack. 

Does everyone with migraines get them from exercise? 

No. For many people, moderate regular exercise actually helps prevent migraines by reducing stress and improving sleep quality. It is usually high-intensity or sudden exertion that acts as a trigger. 

Is it safe to take a painkiller before I exercise? 

While some people use NSAIDs as a preventative measure before exercise, this should only be done under the guidance of a doctor to avoid the risk of medication overuse headaches or stomach issues. 

Authority Snapshot 

This article was reviewed by Dr. Rebecca Fernandez, a UK-trained physician with an MBBS and extensive experience in internal medicine, emergency care, and psychiatry. Dr. Fernandez has managed critically ill patients and stabilized acute trauma in high-pressure clinical environments. Her expertise in integrating digital health solutions and evidence-based psychological therapies ensures that this guide to exercise and migraine is clinically precise and focused on holistic patient recovery. 

Reviewed by

Dr. Stefan Petrov, MBBS
Dr. Stefan Petrov, MBBS

Dr. Stefan Petrov is a UK-trained physician with an MBBS and postgraduate certifications including Basic Life Support (BLS), Advanced Cardiac Life Support (ACLS), and the UK Medical Licensing Assessment (PLAB 1 & 2). He has hands-on experience in general medicine, surgery, anaesthesia, ophthalmology, and emergency care. Dr. Petrov has worked in both hospital wards and intensive care units, performing diagnostic and therapeutic procedures, and has contributed to medical education by creating patient-focused health content and teaching clinical skills to junior doctors.

All qualifications and professional experience stated above are authentic and verified by our editorial team. However, pseudonym and image likeness are used to protect the reviewer's privacy.