A headache focused at the back of your head is most commonly a tension-type headache, but several other conditions produce pain in this area, including cervicogenic headache, occipital neuralgia, and exercise-induced headache. The type you’re dealing with depends on the quality of pain, how long it lasts, and what triggers it.
Tension-Type Headache
This is the most common headache overall, and it frequently settles at the base of the skull. Tension-type headaches produce a dull, pressing sensation, often described as a band tightening around the head. The pain is mild to moderate and typically affects both sides.
The muscles at the top of your neck and base of your skull play a central role. Tightening of the suboccipital and upper neck muscles can pull on connective tissue that attaches to the lining of the brain, creating pain at the back of the head that can spread forward. Stress, poor posture, lack of sleep, and prolonged screen time are the usual triggers. Episodes can last anywhere from 30 minutes to several days, and the pain stays steady rather than pulsing or throbbing.
Cervicogenic Headache
Cervicogenic headaches originate in the upper neck rather than the brain itself. The top three vertebrae in your spine (C1, C2, and C3) share nerve pathways with the head and face. When joints, discs, or muscles in that area become irritated, they send pain signals through these shared pathways, and you feel the result as a headache. About 70% of cervicogenic headache cases trace back to the joint between the second and third cervical vertebrae.
The pain usually starts at the back of the neck or the base of the skull on one side and spreads forward toward the temple, forehead, or behind the eye, where it often feels worst. Turning or tilting your head typically makes it worse. Neck stiffness and reduced range of motion are hallmarks that separate this from a tension headache. People with desk jobs, prior whiplash injuries, or arthritis in the upper spine are especially prone.
A randomized controlled trial found that neck-strengthening exercises reduced cervicogenic headache pain by 69% over 12 months, while endurance training reduced it by 58%. Stretching alone helped but was significantly less effective at 37%. Combining strength or endurance work with stretching produced the best outcomes, particularly for people with severe headaches.
Occipital Neuralgia
Occipital neuralgia feels distinctly different from a tension or cervicogenic headache. It produces sharp, stabbing, or electric-shock-like bursts of pain that shoot from the base of the skull upward along the back of the head, sometimes reaching as far forward as the top of the scalp. Each burst lasts seconds to minutes, not hours.
Three nerves run from the upper spine through the muscles at the back of the neck and up across the skull. When one or more of these nerves becomes compressed, inflamed, or irritated, the result is these intense jolts of pain. Between attacks, the scalp in the affected area often becomes unusually tender. You might notice pain just from brushing your hair or resting your head on a pillow.
A nerve block, where a local anesthetic is injected near the affected nerve, is both the standard diagnostic test and one of the most effective treatments. In a study of 44 patients, 95% experienced satisfactory pain relief lasting at least six months, with average pain scores dropping from roughly 7 out of 10 to about 2 out of 10. The need for pain medication dropped to under 17% of patients at the six-month mark.
Exercise-Induced Headache
Some people develop headaches at the back of the head during or immediately after vigorous physical activity. Weightlifting, running, rowing, and any exercise that involves straining or holding your breath are common triggers. In one clinical series, the occipital region was the most frequently reported location, affecting more than half of patients.
The mechanism involves temporary spikes in blood pressure and intracranial pressure during exertion. Straining (like during a heavy lift) can increase pressure in the chest, which briefly reduces blood drainage from the brain and raises pressure inside the skull. These headaches are bilateral, throbbing, and typically last from five minutes to several hours. They’re usually harmless, but a first-time severe headache during exercise needs medical evaluation to rule out more serious causes.
How to Tell Them Apart
The pain quality is the most useful clue. A dull, squeezing pressure on both sides points toward tension-type headache. One-sided pain that starts in the neck and worsens when you move your head suggests a cervicogenic headache. Brief, sharp, electric jolts along the back of the scalp with tenderness between episodes are characteristic of occipital neuralgia. Throbbing pain that comes on during hard exercise and fades afterward fits exercise-induced headache.
Duration matters too. Tension headaches last hours to days. Cervicogenic headaches can be persistent or recurring, often tied to certain positions or activities. Occipital neuralgia attacks last seconds to minutes per burst, though they may recur throughout the day. Exercise headaches resolve within hours in most cases.
When Back-of-Head Pain Is an Emergency
A sudden, severe headache that reaches maximum intensity within seconds, sometimes called a thunderclap headache, can signal a life-threatening bleed in the brain. Subarachnoid hemorrhage and reversible cerebral vasoconstriction syndrome are the two most common dangerous causes. Warning signs include neck stiffness, vomiting, sensitivity to light, confusion, vision changes, weakness on one side of the body, or loss of consciousness.
Some people experience a milder “sentinel headache” days or weeks before a major bleed. A CT scan performed within the first 6 to 12 hours of onset can detect a brain bleed with close to 100% accuracy, but that sensitivity drops to 50-60% after five days. Even if the pain fades on its own, a sudden explosive headache at the back of the head that’s unlike anything you’ve experienced before warrants emergency evaluation. The absence of other symptoms does not rule out a serious cause.

