Exercise does help tension headaches, and the evidence is strong enough that it’s considered both a pain reliever and a preventive strategy. Regular physical activity reduces how often tension headaches occur, how long they last, and how intense they feel. The benefits come from multiple directions: exercise changes how your brain processes pain signals, loosens tight muscles in the head and neck, and triggers the release of your body’s natural painkillers.
How Exercise Changes Pain Processing
Tension headaches, especially chronic ones, involve a phenomenon called central sensitization. Your nervous system essentially turns up its volume knob, making you more sensitive to pain and lowering the threshold at which normal sensations start to hurt. This is why people with frequent tension headaches often have tender muscles around the skull and neck that feel disproportionately painful to the touch.
Exercise directly counteracts this process. During and after physical activity, your brain releases endorphins, serotonin, and endocannabinoids, all of which dial down pain perception. But the effect goes deeper than a temporary chemical boost. Regular exercise activates descending pain-inhibition pathways in the brainstem, essentially strengthening your brain’s built-in system for suppressing pain signals before they fully register. Researchers describe this as “exercise-induced hypoalgesia,” and it shows up as higher pain thresholds and lower pain intensity ratings both during and after a workout.
Over time, consistent exercise appears to reverse some of the neurological changes that make chronic headaches self-perpetuating. It regulates the activity of a growth factor involved in nerve cell sensitivity, effectively desensitizing an overexcited nervous system. A systematic review in Healthcare described exercise as not just an analgesic but a “disease-modifying intervention” that addresses the underlying brain changes driving chronic headaches.
Aerobic Exercise: The Strongest Evidence
Aerobic exercise, things like walking, swimming, and cycling, has the most research behind it for headache prevention. Clinical trials show that regular aerobic training reduces headache frequency by roughly half a day to a full day per month, with pain intensity dropping 20% to 54% and individual attack duration shrinking by 20% to 27%. Those numbers come from studies lasting 10 to 12 weeks, which gives you a reasonable timeline for when to expect improvement.
One particularly telling study compared people taking a common preventive headache medication alone versus those taking the same medication plus doing aerobic exercise. After three months, the exercise group averaged 5 headache days per month compared to 13 in the medication-only group. The exercise group also had shorter attacks, fewer moderate-intensity episodes, and scored lower on depression and anxiety scales. As a bonus, the exercise group didn’t gain weight, a common side effect of the medication.
Yoga Works Especially Well for Tension Type
Yoga stands out as particularly effective for tension headaches specifically, more so than for migraines. A meta-analysis in the Journal of General Internal Medicine found that yoga produced statistically significant improvements in headache frequency, duration, and pain intensity, and the strongest results came from patients with tension-type headaches rather than migraines. People with tension headaches who practiced yoga reported significant effects across every measured outcome.
This makes intuitive sense. Yoga combines gentle movement with stretching, breath work, and stress reduction, hitting several tension headache triggers at once. Tension headaches are closely tied to tight muscles in the head, neck, and shoulders, and yoga directly targets those areas while also lowering the stress and anxiety that keep those muscles clenched.
Neck and Shoulder Strengthening
Resistance training for the neck and shoulders has a more mixed track record. Strength training with elastic resistance bands does improve muscle function and reduce neck pain, which matters because neck problems and tension headaches frequently overlap. A 10-week program using four shoulder exercises with progressive resistance showed benefits for neck and shoulder function.
However, one controlled trial found that strength training alone didn’t significantly reduce headache frequency or duration compared to a general exercise program. The takeaway isn’t that strength training is useless for headaches. It’s that it works best as part of a broader routine rather than as a standalone fix. If you sit at a desk all day and your tension headaches come with stiff, achy shoulders, adding some neck and shoulder exercises to an aerobic routine makes practical sense.
Muscle Tenderness Responds to Movement
Many people with tension headaches have noticeably tender muscles around the skull (pericranial muscles) and neck. These are scored on a 0 to 3 tenderness scale in clinical settings, and they closely track with headache severity. A controlled workplace study found that a relaxation exercise program reduced both pericranial and neck muscle tenderness scores within six months, alongside reductions in headache and neck pain. When the control group later did the same program, their tenderness scores improved too, confirming the exercise was driving the change rather than some other factor.
When Exercise Can Make Things Worse
Exercise isn’t always headache-friendly. Strenuous, sustained exercise can trigger a distinct type called an exercise headache, which occurs during or right after intense effort. Activities like running, rowing, weightlifting, and tennis are common triggers. Hot, humid weather and high altitude increase the risk.
The key distinction is intensity. Moderate aerobic exercise helps tension headaches. Pushing too hard, too fast, especially if you’re not conditioned for it, can provoke headaches instead. If you’re starting from a sedentary baseline, begin with low-intensity activities like brisk walking or easy cycling and build up gradually. Some people find that specific activities consistently trigger headaches while others don’t, so pay attention to which exercises agree with you.
What a Helpful Routine Looks Like
You don’t need an elaborate program. Walking, swimming, or cycling at a moderate pace are all well-supported options. The research showing the clearest benefits used programs running 10 to 12 weeks, so give it at least two to three months before judging whether it’s working. Start at a comfortable intensity and increase gradually.
Combining different types of exercise appears to cover more bases than any single approach. Aerobic exercise addresses the central pain-processing changes, yoga or stretching targets muscle tension and stress, and light neck and shoulder strengthening supports the muscles most involved in tension headache patterns. You don’t need to do all of these every day. A few aerobic sessions per week with some stretching or yoga mixed in is a reasonable place to start. The most important factor is consistency, since the deeper neurological benefits build over weeks and months of regular activity rather than from occasional workouts.

