This is general information, not a diagnosis. Headaches have many causes and some need medical attention. There is a list at the end that is worth reading first.
The common kinds
Tension-type headache is the most common. It is typically described as pressure or tightness, often on both sides, like a band, mild to moderate, without nausea or sensitivity to light and sound, and not made worse by ordinary activity. Neck and shoulder tenderness frequently accompanies it.
Migraine is different: often one-sided, throbbing, moderate to severe, frequently with nausea and sensitivity to light or sound, and typically worsened by movement. Some people have a warning phase beforehand.
Cervicogenic headache originates from structures in the neck and refers pain to the head. Usually one-sided, often with reduced neck movement, and provoked by neck positions or movement.
People often have more than one kind, and telling them apart matters because the responses differ.
Where physical treatment has support
For tension-type headache, the evidence for exercise and for manual treatment of the neck and shoulders is reasonable, not overwhelming, but reasonable, and better than for most alternatives.
The plausible mechanism is straightforward. Sustained low-level contraction in the neck and shoulder muscles, held for hours at a desk, produces tenderness in those muscles, and that tenderness contributes to the headache. Reducing the sustained load reduces the headache frequency for many people.
For cervicogenic headache, neck-focused exercise and manual therapy have reasonable support, though this one benefits from proper assessment first.
For migraine, exercise appears to have a modest preventive effect on frequency. It is not a treatment for an attack in progress, and during an attack movement usually makes things worse.
What is worth doing
Reduce the sustained load. More valuable than any exercise. Get up every forty-five minutes. Raise a laptop screen to eye level. Stop carrying a bag on one shoulder. These remove the input rather than treating the result.
Look at something far away, several times a day. Sustained near focus contributes, and twenty seconds at a distance costs nothing.
Neck and shoulder work, gently. Slow rotation both ways. Ear toward shoulder, gently, with the opposite shoulder staying down. Shoulder blades deliberately down and back. Nothing forceful, nothing at end range.
Thoracic extension and rotation. Frequently the more useful target. A neck attached to a stiff upper back does more work than it should, and freeing the upper back reduces that.
Deep neck flexor work. Lying on your back, gently nod the chin as if making a small double chin, without lifting the head. Hold a few seconds. This trains the postural muscles at the front of the neck that tend to be weak in people with neck-related headaches, and it has better support than stretching does.
Long exhalations. Two minutes, breathing out for about twice as long as in. Addresses the stress component, which is a genuine contributor.
What to avoid
Forceful neck stretching, and anything involving rapid movement of the neck. Aggressive self-manipulation of the neck. Persisting with something that reliably makes the headache worse.
See a doctor
Promptly, if a headache: comes on suddenly and severely, described as the worst you have had; follows a head injury; comes with fever, a stiff neck or a rash; comes with weakness, numbness, visual loss, confusion or difficulty speaking; is new and persistent over the age of fifty; is worse when lying down or in the morning, or worse with coughing; or changes in pattern from what you usually get.
Also see a doctor if you are taking painkillers for headache on most days, because medication overuse can itself maintain headaches, which is common and frequently missed.
Where a teacher helps
The deep neck flexor work is the most useful item here and the one people reliably do wrong, usually by lifting the head or by using the large muscles at the front of the neck instead. It is a small, precise movement and it needs checking once.
Sessions are live on video, thirty or sixty minutes.
Questions people ask
Can yoga help tension headaches?
There is reasonable evidence that exercise and neck and shoulder work reduce the frequency of tension-type headache. Reducing sustained load (getting up regularly, raising a screen, changing how you carry a bag) often matters more than the exercises.
What is the difference between a tension headache and a migraine?
Tension-type is typically pressure or tightness on both sides, mild to moderate, without nausea or light sensitivity, and not worsened by activity. Migraine is often one-sided and throbbing, more severe, frequently with nausea or light sensitivity, and usually worse with movement.
Should I stretch my neck when I have a headache?
Gently, and never forcefully or at end range. Slow rotation and gentle side bending are reasonable. If a movement reliably makes the headache worse, stop doing it rather than pushing through.
When should a headache be seen by a doctor?
Sudden severe onset, after a head injury, with fever or a stiff neck, with weakness, numbness or visual or speech changes, new and persistent over fifty, worse lying down or with coughing, or a change from your usual pattern. Also if you need painkillers most days.
A senior yoga teacher at IndieVeda, teaching one-to-one sessions live from India.
More about IndieVeda Yoga Teacher and their other articles →