Factsheet 13 · Self-management

Exercise and migraine

How regular activity can help, and how to stop it triggering attacks.

Key points

  • Regular exercise may mean fewer migraine days. In one trial it worked about as well as a preventive medicine.
  • More than 1 in 3 people with migraine have had an attack set off by exercise.
  • A slow start, a proper warm-up and a gradual build-up make this much less likely.
  • Aim for 2 to 3 sessions a week, building up over 8 to 10 weeks.
  • 0.6fewer migraine days a month, on average, across trials of aerobic exercise
  • 3sessions a week in most successful trials
  • 8–10weeks to build up the full benefit
  • 38%of people with migraine have had an exercise-triggered attack

Can exercise help migraine?

Studies suggest regular exercise can reduce how often attacks happen, and may make them shorter and less severe. In a Swedish trial, 40 minutes of exercise three times a week cut attacks by about as much as the preventive medicine topiramate. Nobody in the exercise group reported side effects, while a third of those taking the medicine did.

Most studies are small and short, so the evidence is still developing. Exercise works best alongside your usual treatment, not instead of it. Researchers think exercise may help by improving sleep, easing stress and changing how the brain handles pain signals. This isn’t fully understood yet.

Which type of exercise?

Most types seem to help. Research has looked at:

  • aerobic: brisk walking, cycling, swimming, jogging
  • strength: weights, resistance bands, bodyweight exercises
  • mixed programmes combining both, which did best in one recent review
  • yoga and tai chi: gentler options that may also help

Choose something you enjoy and can keep doing. Doing it regularly matters more than how hard you push. Our Manage My Migraines app has bodyweight routines you can build.

How much?

You don’t need to do a lot. Research suggests a benefit from around 70 to 135 minutes of moderate activity a week, such as three sessions of 25 to 45 minutes. Moderate means you can talk, but not sing. Over time, work towards the UK guideline of 150 minutes a week.

When exercise triggers an attack

Attacks are most often set off by hard endurance exercise, such as running, or by sudden, unfamiliar effort. More than half of people affected in one study gave up the sport. A gentler, gradual approach usually works. In a supervised 12-week cycling programme that built up slowly, only one person had an attack straight after a session, and most people’s migraine improved.

Exercise without the attack

  • 1. Start low. Begin with 10 to 20 minutes of gentle activity, even if you used to be fitter.
  • 2. Warm up properly. Spend 10 to 15 minutes building up gently until you feel warm and slightly out of breath.
  • 3. Build up slowly. Add a little time or effort each week, over 8 to 10 weeks.
  • 4. Fuel and drink. Have a slow-release snack an hour or two before, and drink water before, during and after.
  • 5. Cool down. Slow down gradually over 5 to 10 minutes rather than stopping suddenly.

Transparency: Manage My Migraines also offers an exercise app. This factsheet summarises independent research and does not refer to any product.

Listen to your body

  • Ease off on days with poor sleep, missed meals or early warning signs.
  • Take care in hot, humid weather.
  • Don’t exercise during an attack. Movement usually makes the pain worse.
  • Note any attack within 24 hours of exercise in your diary.

Where to find support

  • The Migraine Trust: helpline 0808 802 0066, migrainetrust.org
  • NHS 111: for urgent advice when your GP is closed

Get medical advice

Call 999 if a sudden, severe headache comes on during exercise or sex and peaks within seconds or minutes. See your GP if you get a new headache that only comes on with exertion, or your usual pattern changes.

References

  1. Koppen, H. and van Veldhoven, P.L.J. (2013) ‘Migraineurs with exercise-triggered attacks have a distinct migraine’, The Journal of Headache and Pain, 14, 99.
  2. Lemmens, J. et al. (2019) ‘The effect of aerobic exercise on migraine: a systematic review and meta-analysis’, The Journal of Headache and Pain, 20, 16.
  3. Varkey, E. et al. (2009) ‘Feasibility of an aerobic exercise program in patients with migraine’, Headache, 49(4), pp. 563–570.
  4. Varkey, E. et al. (2011) ‘Exercise as migraine prophylaxis: a randomized study using relaxation and topiramate as controls’, Cephalalgia, 31(14), pp. 1428–1438.
  5. Xie et al. (2025) ‘Efficacy and optimal dosage of various exercises for migraine’, PeerJ, 13, e20254.

Factsheet 13 · Version 1.0 · November 2026 · Next review November 2028. General information, not medical advice. Talk to your GP or pharmacist before starting, stopping or changing any treatment.