Headache During or After Exercise? Causes and How to Prevent Them

Getting headaches when you work out? Learn the common causes—exertional headaches, dehydration, tension, blood pressure—and how to prevent exercise-induced headaches.

Headache During or After Exercise? Causes and How to Prevent Them

You're mid-workout and a throbbing headache hits. Or you finish a hard session and within minutes your head is pounding. Exercise headaches are surprisingly common—and usually preventable.

This guide covers why they happen and how to stop them.

Types of Exercise Headaches

Primary Exertional Headaches

What they are: Headaches triggered specifically by physical exertion, with no underlying condition.

Characteristics:

  • Throbbing pain, often on both sides
  • Occurs during or shortly after intense exercise
  • Lasts 5 minutes to 48 hours
  • More common in hot weather or high altitude

Secondary Exertional Headaches

What they are: Headaches caused by an underlying issue that exercise reveals or worsens.

Potential causes:

  • Dehydration
  • Blood pressure issues
  • Sinus problems
  • Neck tension
  • Blood sugar issues
  • Rarely: structural brain issues (important to rule out)

The 8 Common Causes (And Fixes)

Cause #1: Dehydration

The most common culprit.

Even mild dehydration triggers headaches. Exercise accelerates fluid loss through sweat, worsening any existing dehydration.

Signs it's dehydration:

  • Headache develops as workout continues
  • Dark urine before or after workout
  • Didn't drink much water beforehand
  • Hot environment or heavy sweating

The fix:

  • Drink water consistently throughout the day (not just at workout time)
  • 16-20 oz of water 1-2 hours before exercise
  • 7-10 oz every 10-20 minutes during exercise
  • Replace fluids after (16-24 oz per pound of sweat lost)
  • Add electrolytes for workouts over 60 minutes or heavy sweaters

Cause #2: Breath-Holding (Valsalva-Related)

Holding your breath during exertion increases intracranial pressure.

During heavy lifts, holding your breath (Valsalva maneuver) is normal and useful. But it temporarily spikes pressure in your head.

Signs it's breath-related:

  • Headache hits during or right after heavy lifting
  • Particularly during exercises like squats, deadlifts, leg press
  • Feels like pressure in the head
  • May be worse when going very heavy

The fix:

  • Don't hold breath excessively long
  • Exhale on exertion when possible (not always possible on max lifts)
  • Avoid extreme straining
  • Ensure you're not holding breath unnecessarily (during lighter work)
  • Consider reducing max-effort training if headaches persist

Cause #3: Tension in Neck and Shoulders

Tight muscles referring pain to your head.

Tension headaches from tight neck, trap, and shoulder muscles are common—and exercise can worsen them.

Signs it's tension-related:

  • Headache feels like band around head or pressure
  • Started after exercises involving neck/shoulders
  • History of neck tightness or poor posture
  • Feels better with massage or stretching

Common triggers:

  • Heavy shrugs
  • Overhead pressing
  • Poor posture during exercises
  • Clenching jaw during effort
  • Tight grip

The fix:

  • Warm up neck and shoulders before training
  • Stretch neck and upper traps after
  • Check form—are you shrugging unnecessarily?
  • Massage/foam roll upper back and neck
  • Address posture issues
  • Don't clench jaw during lifts

Cause #4: Blood Pressure Spike

Rapid blood pressure increase during intense exercise.

Heavy lifting and intense cardio spike blood pressure temporarily. For some people, this triggers headaches.

Signs it's blood pressure-related:

  • Headache during very intense efforts
  • Particularly during heavy lifting or HIIT
  • May feel pulsating, in sync with heartbeat
  • History of blood pressure issues

The fix:

  • Don't go from rest to max effort—warm up gradually
  • Avoid extreme breath-holding
  • Stay hydrated (dehydration worsens BP response)
  • If you have high blood pressure, monitor it and consult doctor
  • Consider moderate vs. maximum intensity

When to see a doctor: If you have known blood pressure issues, regular exercise headaches warrant a check-up.


Cause #5: Low Blood Sugar

Running out of fuel mid-workout.

Your brain needs glucose. If blood sugar drops during exercise, headaches (among other symptoms) can result.

Signs it's blood sugar-related:

  • Headache accompanies shakiness, weakness, or dizziness
  • Worked out fasted or many hours after eating
  • Long workout (60+ minutes) without fuel
  • Feel better after eating

The fix:

  • Don't train completely fasted (if this is a problem for you)
  • Eat a carb-containing meal 1-2 hours before training
  • For long workouts, consume carbs during (sports drink, fruit, etc.)
  • Keep quick carbs available (glucose tabs, candy) for emergencies

Cause #6: Tight Headgear or Equipment

Physical compression causing pain.

Tight hats, headbands, goggles, or even tight ponytails can trigger headaches during exercise.

Signs it's equipment-related:

  • Headache correlates with specific gear
  • Pain location matches where something is pressing
  • Goes away when you remove the item

The fix:

  • Loosen headbands, hats, and straps
  • Try different hairstyles (looser ponytails)
  • Adjust goggles (swimming)
  • Consider headband-free options

Cause #7: Environmental Factors

Heat, altitude, and air quality.

Exercise in challenging environments increases headache risk.

Environmental triggers:

  • Hot/humid conditions (heat exhaustion)
  • High altitude (altitude sickness)
  • Poor air quality (pollution, indoor chemicals)
  • Bright sunlight

The fix:

  • Acclimatize gradually to heat and altitude
  • Hydrate extra in challenging conditions
  • Wear sunglasses in bright conditions
  • Exercise indoors when air quality is poor
  • Take breaks in heat
  • Listen to early warning signs

Cause #8: Overexertion / Too Much Too Soon

Pushing beyond your current capacity.

Sudden increases in exercise intensity or duration can trigger headaches—your body isn't ready.

Signs it's overexertion:

  • Started a new, intense program
  • Dramatically increased intensity recently
  • Headache accompanies extreme fatigue
  • Feel "wrecked" after workouts

The fix:

  • Progress gradually (10% rule for volume)
  • Allow adequate recovery
  • Build aerobic base before high-intensity work
  • Include easier days in your program

When to See a Doctor

Most exercise headaches are benign—but some require medical attention.

See a doctor if:

  • First severe headache with exercise (needs evaluation)
  • Headache is sudden and "thunderclap" (instant maximum intensity)
  • Accompanied by vision changes, confusion, or weakness
  • Stiff neck and fever
  • Persists for days despite rest
  • Getting worse over time
  • You have a history of head injury
  • Accompanied by nausea/vomiting unrelated to exertion
  • Feels different from any headache you've had before

Primary exertional headaches are a diagnosis of exclusion. Meaning: doctors need to rule out dangerous causes before confirming it's "just" an exertional headache.


Prevention Protocol

Before Exercise:

  • Hydrate well in the hours leading up
  • Eat appropriately (not too full, not fasted)
  • Warm up thoroughly
  • Stretch neck and shoulders if prone to tension

During Exercise:

  • Continue hydrating
  • Avoid excessive breath-holding
  • Don't go from 0 to 100—build up gradually
  • Take breaks if head starts hurting
  • Pay attention to form (no unnecessary tension)

After Exercise:

  • Rehydrate and refuel
  • Stretch neck, shoulders, upper back
  • Cool down properly (don't just stop)
  • Note any patterns (what triggered it?)

If You Get a Headache Mid-Workout

  1. Stop or reduce intensity immediately
  2. Sit or lie down if needed
  3. Hydrate (drink water or electrolytes)
  4. Move to cool environment if hot
  5. Eat something if blood sugar might be low
  6. Do NOT push through—it usually makes it worse
  7. Note what you were doing (for pattern recognition)

If severe or accompanied by concerning symptoms, seek medical attention.


Common Scenarios

"I only get headaches during leg day"

Heavy leg exercises (squats, leg press) cause the largest blood pressure spikes. More breath-holding, more exertion. Focus on breathing technique and gradual warm-up.

"I get headaches running but not lifting"

Likely dehydration, overheating, or blood sugar related. Hydrate more, fuel appropriately, and don't start too fast.

"I get headaches after HIIT"

The intensity spike is triggering it. Ensure adequate warm-up, stay hydrated, and consider if HIIT frequency is too high.

"I only get headaches when working out in the morning"

Possibly dehydration (haven't drunk anything overnight), low blood sugar (fasted), or blood pressure response after sleeping. Hydrate and have a light snack before morning workouts.


Key Takeaways

  1. Dehydration is the most common cause—drink more water
  2. Breath-holding during heavy lifts spikes head pressure—breathe
  3. Neck and shoulder tension causes many exercise headaches—stretch
  4. Warm up properly—don't go from cold to max effort
  5. If severe, sudden, or new—see a doctor—rule out serious causes

Exercise headaches are usually preventable with proper hydration, warm-up, breathing, and progression. But don't ignore persistent or severe headaches—they warrant medical evaluation to rule out underlying causes.

Ready to Start Your Recovery?

Get a personalized exercise program based on your specific needs and goals.

Try Foundational Rehab Free