Back to Learn

Exercise as a Treatment for Headache: What the Evidence Shows

A research summary of how exercise affects migraine, tension-type, cervicogenic and cluster headache — and how to discuss it safely with your clinician.

TL;DR
  • Regular exercise is associated with reduced headache frequency, intensity, and duration across migraine, tension-type, and cervicogenic headache.
  • Combined aerobic and resistance training produces the largest effects for migraine; multimodal exercise is most effective for tension-type and cervicogenic headache.
  • A preliminary evidence-based dose for migraine is approximately 30 minutes of aerobic exercise, 3 days per week, over 10–11 weeks (Cerda-Vela et al., Headache, 2025).
  • Exercise is not a replacement for medical treatment — it is a complementary, evidence-informed self-management strategy.

Want to apply this context to your own experience?

See how the App works

Exercise is one of the most practical and accessible tools available for managing recurrent headaches, yet many people are uncertain whether it helps or might trigger an attack. The evidence across multiple headache types is increasingly clear: structured, regular physical activity is associated with meaningful reductions in headache burden — and in some studies, effects comparable to or exceeding preventive medication. This article summarises what the research shows, which types of exercise help most, and how to approach exercise safely as a complementary, evidence-informed self-management strategy.

Why exercise affects headache: the underlying mechanisms

The reasons exercise benefits headache management are not fully understood, but several mechanisms are supported by research. Physical activity is associated with changes in central pain processing — the way the brain and spinal cord interpret and modulate pain signals. Regular exercise is thought to reduce central sensitisation (a state in which the nervous system becomes more reactive and amplifies pain signals), which plays a key role in both migraine and chronic tension-type headache (Herrera et al., Healthcare, 2025).

Exercise also promotes the release of endorphins and other endogenous (naturally produced) pain-modulating substances, and is associated with improvements in serotonin regulation — a neurotransmitter involved in migraine pathophysiology. Regular aerobic activity improves autonomic nervous system function, reducing the sympathetic (stress response) activation that can lower headache thresholds.

For headache types with a musculoskeletal component — such as cervicogenic headache and tension-type headache — strengthening the deep neck flexors and surrounding cervical and shoulder musculature directly addresses one of the peripheral drivers of pain. Improved posture, reduced muscular tension, and better cervical stability all contribute to reduced nociceptive (pain signal) input.

Exercise and migraine: what the research shows

The evidence base for exercise in migraine is now substantial. A dose–response meta-analysis of 15 studies found that aerobic exercise produced statistically significant reductions in both pain intensity (SMD −1.1) and migraine frequency (SMD −0.79) (Cerda-Vela et al., Headache, 2025). The relationship followed a U-shaped curve — meaning there is an optimal dose range, and very high volumes did not produce additional benefit.

A network meta-analysis of 27 randomised controlled trials (1,611 participants) found that combined aerobic and resistance exercise produced the largest overall effect on migraine (g = −1.85), followed by resistance exercise alone (g = −1.45), yoga, and Tai Chi (PMC, 2025). A separate network meta-analysis of 21 trials found that strength training reduced monthly migraine frequency by a mean of 3.55 days and high-intensity aerobic exercise by 3.13 days — both outperforming a common preventive medication in that comparison (Daenen et al., Journal of Headache and Pain, 2022).

A parallel-group randomised controlled trial found that both aerobic exercise and combined (aerobic plus resistance) exercise significantly reduced monthly migraine days compared with controls, with the combined group showing a statistically greater reduction than aerobic exercise alone (Gocer et al., Headache, 2024). A large cross-sectional study using nationally representative US data (NHANES, ~32 million adults) found that combining vigorous and muscle-strengthening activity was associated with a 52% reduction in the odds of severe headache or migraine (OR: 0.48; 95% CI: 0.26–0.90) (PMC, 2025).

A clinical practice guideline for exercise in migraine, developed using AGREE and GRADE methodology, assigned a grade B recommendation to moderate-intensity continuous aerobic exercise, yoga, and exercise combined with lifestyle modification for improving migraine symptoms, disability, and quality of life (Lemmens et al., Journal of Headache and Pain, 2023).

Exercise and tension-type headache

For tension-type headache (TTH), the evidence strongly favours multimodal approaches that combine manual therapy and exercise over either alone. A network meta-analysis found that manual therapy combined with exercise produced the greatest reduction in headache frequency of any physiotherapy intervention studied (mean difference vs usual care: −13.95 days/month, moderate confidence) (Donmez et al., Cephalalgia, 2022).

Neck and shoulder strengthening is particularly well evidenced. A 12-week progressive resistance training programme in chronic TTH patients produced significant reductions in headache intensity and duration and increased deep cervical muscle thickness and pressure pain thresholds (Martín-Vera et al., Frontiers in Neurology, 2023). A systematic review and meta-analysis found that neck-shoulder strength exercises and electroacupuncture significantly improved headache intensity (SMD −1.17) and that muscle relaxation approaches combined with strengthening reduced headache frequency (SMD −1.36) (Güvercin & Kaya, ResearchGate, 2025).

Aerobic exercise is also consistently associated with improvement in both TTH and chronic migraine. A systematic review of 10 trials (848 subjects) found that exercise significantly outperformed conventional treatment in most studies for pain reduction, with authors noting that exercise improves central pain modulation and supports postural integration (Herrera et al., Healthcare, 2025).

Exercise and cervicogenic headache

For cervicogenic headache (CGH) — headache originating from neck structures — therapeutic exercise is a core treatment component. A systematic review of 11 studies found large effect sizes for multimodal exercise compared with control groups: SMD = 0.73 for headache intensity and SMD = 0.98 for headache frequency (González-Rueda et al., Musculoskeletal Science and Practice, 2023). These are clinically meaningful differences, though the overall evidence quality was rated low to very low due to study heterogeneity and risk of bias.

Strengthening of the deep cervical flexors — muscles consistently weakened in people with CGH — is a foundational component of evidence-based physiotherapy for this headache type. Combined programmes of manual therapy and exercise have shown outcomes maintained at long-term follow-up (Jull et al., Musculoskeletal Science and Practice, 2023).

Exercise and cluster headache

The evidence for exercise in cluster headache is limited but emerging. A cross-sectional survey of 167 cluster headache patients found that approximately 40% attempted exercise during attacks, with 43% reporting some improvement and 30% achieving ≥50% reduction in attack intensity (Kim et al., PMC, 2025). High-intensity activity — running, squats, stair climbing — was most commonly reported as effective. A case report documented that moderate-intensity aerobic exercise performed at attack onset reduced both severity and duration of attacks in one patient with episodic cluster headache.

These findings are hypothesis-generating rather than definitive. Exercise should not replace first-line medical treatment for cluster headache, but may be worth discussing with your specialist as an adjunct.

How much exercise, and what type?

The emerging evidence suggests the following starting framework, pending more high-quality trials. Individual response varies, and any new programme should be discussed with your clinician, especially if your headaches are frequent or severe.

For migraine:

  • Aerobic exercise: approximately 30 minutes per session, 3 sessions per week, over 10–11 weeks (Cerda-Vela et al., 2025)
  • Optimal total dose: 900–950 cumulative minutes of aerobic exercise; beyond this, additional benefit was not observed
  • Optimal intensity: approximately 4.5–5.5 METs (metabolic equivalents) — roughly moderate to somewhat vigorous effort
  • Combined aerobic and resistance training appears superior to either alone

For tension-type headache:

  • Progressive neck and shoulder strengthening, minimum 12 weeks
  • Combined with manual therapy where possible
  • Aerobic exercise as an adjunct

For cervicogenic headache:

  • Deep neck flexor strengthening combined with cervical mobility work
  • Combined with manual therapy; exercise alone shows smaller effects

General principle across all types: consistency matters more than intensity. Starting gradually, building over weeks, and maintaining regularity produces better outcomes than sporadic high-effort attempts. Exercising during a headache attack is generally not recommended for migraine — though some people find low-intensity movement tolerable.

When to seek help

Do not begin a new exercise programme without medical clearance if your headaches are new, have recently changed in character, or are accompanied by SNOOP red flags — Systemic symptoms, Neurological signs, sudden Onset, Older age of onset (new headache after age 50), or Pattern change. These features require clinical assessment before any self-management is initiated. If exercise consistently triggers or worsens your headaches, discuss this with your GP or headache specialist rather than persisting with the programme. See our guide on when to see a doctor: SNOOP red flags for the full checklist.

Key takeaways

  • Exercise is one of the most evidence-supported non-pharmacological strategies for headache management across multiple headache types.
  • Combined aerobic and resistance training produces the largest effects for migraine; progressive neck strengthening is most important for tension-type and cervicogenic headache.
  • The evidence supports a dose of approximately 30 minutes, 3 times per week, over 10–11 weeks as a starting framework for migraine (Cerda-Vela et al., 2025).
  • Effects are comparable to — and in some analyses greater than — common preventive medications, but evidence quality remains low to moderate and individual response varies.
  • HeadacheRecovery's journal can help you track how exercise patterns relate to your headache frequency and intensity over time, giving you structured data to share with your clinical team.

Frequently asked questions

Related guides

From general guide to your own pattern

This guide covers the general picture. The App records your specific pattern — timing, triggers, sleep, stress and medication use — and turns it into a summary report you can discuss with your primary healthcare provider.

Medical disclaimer: This article is for educational purposes only and is not a substitute for medical advice. Always consult your GP or specialist for diagnosis and acute care.

On medication: HeadacheRecovery takes a non-pharmacological, tracking-based approach. Where research on medicines is mentioned it is background context only, not a recommendation. Any decision to start, stop or change a medicine belongs with your prescribing clinician.