Exercise for Migraine Prevention: Evidence, Limits, and Safety

Person walking outdoors at a moderate pace for headache-safe exercise

If you have migraine, exercise can feel like a paradox: exertion is helpful for some people, while it coincides with an attack for others. Research supports exercise as one possible part of migraine prevention, but it does not identify one routine that is best or safe for everyone.

This guide explains what the evidence does and does not show, how to discuss an appropriate starting point, and what to record if you want to evaluate your own response.

Why Exercise Can Help Migraine

Exercise has broad health benefits. In migraine studies, structured aerobic exercise has produced a small average reduction in monthly migraine days. That group-level result does not predict what any one person will experience, and it does not prove a particular biological mechanism.

What the Open-Access Evidence Shows

The open-access evidence is encouraging, with important limits:

  • A 2019 meta-analysis retained six studies. Its pooled estimate was an average reduction of 0.6 migraine days per month after aerobic exercise; outcome differences meant attack duration and pain intensity could not be pooled reliably.
  • A 2022 network meta-analysis included 21 trials and 1,195 participants. Strength training ranked highest, but that ranking relied partly on indirect comparisons. The authors also noted unequal numbers of studies, multicomponent interventions, and the grouping of neck exercises with whole-body resistance training.
  • A 2023 clinical practice guideline gave a grade B recommendation to aerobic exercise, moderate continuous aerobic exercise, yoga, and combined exercise/lifestyle advice. Resistance exercise and several other approaches received a weaker grade C recommendation.

In plain language: exercise is a reasonable option to discuss as part of prevention, but claims that strength training is definitively the “best” option go beyond the available evidence.

A Common Interpretation Error

A headache during or after activity does not by itself identify the cause. Exertion, heat, food or fluid intake, sleep, medication use, and the early phase of a migraine attack can overlap. A diary can show timing, but it cannot prove which factor caused an attack.

A Safer Way to Explore Exercise

This is an observation framework, not an individual exercise prescription. If you are inactive, have cardiovascular or other relevant health conditions, or repeatedly develop headaches with exertion, ask a qualified clinician what is appropriate for you.

1. Choose the activity with a professional when needed

Studies have used different forms, intensities, and schedules of aerobic exercise, yoga, and resistance training. The evidence does not justify one universal online schedule. Start from your current capacity and any advice from your clinician or exercise professional.

2. Record the exercise dose

For each session, note the activity, duration, your perceived effort, and any unusual circumstances such as heat or missed meals. This makes later comparisons more useful than a simple “exercised: yes/no.”

3. Record headache timing without assuming causation

Note whether symptoms began before, during, or after the session, plus migraine features, acute medication, and effect on normal activities. Also record days without headache; otherwise the diary overrepresents difficult days.

4. Change one planned element at a time

If you and your clinician decide to adjust the routine, changing one element makes the result easier to interpret. The often-repeated “10% rule” is not a migraine-specific, evidence-based prescription.

5. Keep usual migraine care visible

Exercise does not replace prescribed preventive or acute treatment. Do not change medication because of a short diary pattern without discussing it with the prescriber. You can track sleep alongside activity: sleep regularity and migraine.

What a Useful Diary Entry Looks Like

Use a headache diary to capture only information you can observe:

  • activity, duration, and perceived effort
  • symptoms before, during, and after the session
  • migraine features and effect on normal activities
  • acute medication and response
  • relevant context such as sleep, meals, temperature, and hydration

Review several entries rather than treating a single episode as proof of a trigger.

When to Speak to a Clinician

Seek urgent medical assessment for a sudden, explosive headache or a headache with new weakness, confusion, fainting, seizure, fever, or other acute neurological symptoms. New or recurrent headaches brought on by exertion also deserve clinical assessment rather than a self-directed training experiment. Bring a structured report to your appointment: how to prepare a headache report for your doctor.

Related Reading

Sources (Open Access)

FAQ

Which exercise is best for migraine prevention?

The evidence does not establish one best form for everyone. Aerobic exercise has the stronger guideline recommendation; evidence for resistance exercise is less certain.

Can exercise trigger a migraine attack?

Some people report attacks during or after exertion, but timing alone does not prove that exercise caused the attack. A sudden or new exertional headache should be medically assessed.

How long should I try an exercise routine?

There is no universal trial length that fits every person or program. Agree on a plan and review point with a clinician or qualified exercise professional, particularly if exertion repeatedly brings on headache.

Conclusion

Exercise has broad health benefits and may modestly reduce migraine days on average. The evidence does not guarantee benefit or support a universal “migraine-safe” routine. Record what happens, keep medical treatment visible, and seek assessment for new or unusual exertional headache.

If you want one place to track workouts, headaches, and triggers, learn how HeadYogi works or download the app.