
Why you might get a headache when you exercise
Peer reviewed by Dr Sarah JarvisAuthored by Sara LindbergOriginally published 6 Feb 2018
Meets Patient’s editorial guidelines
- DownloadDownload
- Share
- Language
- Discussion
- Ask Patient
- Audio Version
- Add to preferred sources on Google
You're making it to the gym several times a week, getting your heart rate up into the training zone, and having the best workouts you've had in a long time. Then, out of nowhere, your head starts pounding. What's going on?
Video picks for HeadacheVideo library
As someone who has suffered from migraines most of my life, I was not surprised when I experienced my first exercise or workout headache midway through a half-marathon.
The race conditions were hot and humid and I had not adequately hydrated prior to the starting line. By the time I realised what was going on, it was too late. The hydration and fuel I was feeding my body at mile eight, was not enough to combat the nagging ache in my head.
While this headache was painful and annoying, I quickly realised that what I was feeling was not a migraine, rather a headache produced by the intensity of the exercise, environmental conditions, and lack of proper fuel.
Workout headache causes
Experts, including doctors and scientists, are not exactly sure what causes headaches triggered by strenuous exercises such as running, lifting weights, or intense cycling. Researchers believe the most likely theory is that blood vessels inside the skull become dilated during a strenuous activity. Others reckon a rapid drop in blood sugar could be the culprit.
But what they do know is that some headaches only occur with exertion, particularly with activities that involve tensing the abdominal muscles or increasing the pressure in the chest, both of which happen during strenuous exercise.
Exercise, or workout, headaches, as they are often called, are really part of what's medically known as primary exercise (exertional) headache. This is a rare type of headache that causes a throbbing head pain, during or after any form of sustained exertion.
They are commonly described as bilateral (on both sides of the head) and pulsating, according to the American Migraine Foundation. Primary exercise headache generally lasts from five minutes to 48 hours. They are more likely to occur in hot weather or at high altitude but can occur in any weather and at any altitude.
Dr Ehsan Ali, a GP in Beverly Hills, California, says there are several reasons people could experience headaches while working out. Dehydration is a common cause. And repeated jarring of your skull if you're running or jumping, along with loud music and sometimes bright or flashing exercise studio lights, are unlikely to help. Migraines are also a possibility, and especially prevalent in those with chronic migraines. Other, rare causes could include something as serious as aneurysms.
Speak with your GP
Since the exact cause of an exercise headache is unknown, Dr Ali says people who experience headaches from working out should most definitely seek medical attention and talk with their doctor right away if they've never had it checked out before.
The good news is that headaches caused by exercise tend to be self-limiting, which means they occur for a period of time, and then stop occurring. In the case of primary exercise headaches, that time period seems to be three to six months.
Because this is a limited time period, some experts advise avoiding the exercises or activities that are triggering the headaches and opting for less strenuous workouts.
If your doctor determines that you're not dealing with an underlying condition then you may want to try a few preventative measures before, during and after exercising.
Prevent exercise headaches
Drink up
Dr Ali advises drinking plenty of water to stay hydrated. Eating regularly throughout the day, with a focus on fuelling your body in the hour or two leading up to your workouts, can help balance your blood sugar.
Don't turn up the heat
People who experience these headaches say they usually feel a throbbing head pain when they 'go hard' (often working out more intensely than normal), especially in hot weather or indoor environments that are warm. That's why it's a good idea to avoid exercising in extreme heat. Work out early in the morning before the temperature rises, or take your exercise regime to a facility with air conditioning.
Take it easier
Additionally, Dr Ali recommends resting and taking it easy. Remember, these headaches are associated with high levels of sustained exertion.
If you find that your intense sweat sessions are producing more headache pains than normal, try switching out your higher-intensity workouts in favour of lower-intensity activities for a while.
There are a number of things you can do in order to minimise these headaches and still be able to exercise. Try jogging or walking instead of running. Decrease the amount of weight you're lifting, or shorten your overall workout session. These minor adjustments may help you feel better and allow you to continue exercising. However, if this is a recurring experience, it's very important to speak with your doctor.
Patient picks for Headache

Healthy living
Balancing exercise and your diet
When people first start working out, they usually have a vague idea of what they want to achieve. But very few actually track their fitness goals, or their food intake, which makes it harder to see the changes.
by Gemma Grange

Healthy living
How to maintain your running routine in winter
When it's cold and blustery outside, going for a run might be the last thing you feel like doing. However, running in winter can be surprisingly enjoyable if you bear a few pointers in mind.
by Victoria Raw

Brain and nerves
Medication-overuse headache
Medication-overuse headache is a cause of frequent headaches caused by taking painkillers or triptan medicines regularly for headaches or migraine.
by Dr Doug McKechnie, MRCGP

Healthy living
Why spending time outdoors can improve your health
Being outdoors has been shown to lower stress, blood pressure and heart rate, while boosting mood and improving mental health. And whether you're walking, running or pottering in the garden, being outside is increasingly being prescribed by health professionals to enhance people's wellbeing.
by Victoria Raw

Mental health
Can exercise help you feel less stressed?
Most people are aware of the wisdom that exercise helps stress - but, too often, pressuring yourself to exercise can become a source of stress in itself. Here's how to get past that barrier.
by Abi Millar

Brain and nerves
Can taking painkillers actually give you headaches?
If you're prone to headaches, you're probably used to stocking up on painkillers. Along with relaxation techniques, medications like paracetamol and ibuprofen are recommended as a first line of defence for treating that throbbing sensation.
by Abi Millar
About the reviewerView full bio

Dr Sarah Jarvis
Clinical Consultant
MA (Cantab), BM, BCh (Oxon), DRCOG, FRCGP, MBE
After training in medicine at Cambridge and Oxford, Dr Sarah Jarvis MBE became a GP.
Article history
Article also available in English, German, Spanish, French, Italian, Portuguese, Hindi, Hebrew, Arabic, and Swedish.
6 Feb 2018 | Originally published
Authored by:
Sara LindbergPeer reviewed by
Dr Sarah Jarvis
Share your thoughts or experiences with others in our patient communities.
Sign up to the Patient newsletter
Your weekly dose of clear, trustworthy health advice - written to help you feel informed, confident and in control.
By subscribing you accept our Privacy Policy. You can unsubscribe at any time. We never sell your data.
