A headache at the back of your head is most commonly a tension-type headache, the single most common headache condition. But several other types also concentrate pain in that area, including cervicogenic headaches (originating from the neck) and occipital neuralgia (a nerve condition). The location alone isn’t enough to pin down the cause, so understanding how each one feels and behaves can help you figure out what you’re dealing with.
Tension-Type Headaches
Tension-type headaches produce a dull, constant pressure that wraps around the head like a tight band. The pain is mild to moderate and typically affects both sides, but many people feel it most strongly at the back of the head, the temples, or across the forehead. Your neck and shoulders often feel sore at the same time.
These headaches can last anywhere from 30 minutes to a full week. When they occur fewer than 15 days a month, they’re considered episodic. When they happen more often than that, they’re classified as chronic and can persist for hours or days at a stretch. The pain doesn’t throb or pulse the way a migraine does. It stays steady, like something is pressing down on top of your head.
Muscle tension doesn’t directly cause these headaches, but tight muscles in the neck and base of the skull definitely make them worse. Stress, poor sleep, skipped meals, and long hours hunched over a screen are the most reliable triggers.
Cervicogenic Headaches
Cervicogenic headaches start in the neck and radiate upward into the back of the head. The pain originates from a problem in the cervical spine: a stiff joint, a disc issue, or tight soft tissue in the upper neck. It’s referred pain, meaning the source is in one place but you feel it somewhere else.
A few features set cervicogenic headaches apart. The pain usually stays locked to one side rather than spreading across both. Turning your head or pressing on the neck muscles can reproduce or worsen it. The pain typically radiates from the back of the head toward the forehead or behind the eye. Neck stiffness and reduced range of motion often come along with it.
Prevalence estimates vary widely depending on the population studied, but in the general population, cervicogenic headaches affect roughly 1 to 4 percent of people. They’re more common in people who work at computers for long hours or have a history of neck injury.
Occipital Neuralgia
Occipital neuralgia is a rarer and more intense condition involving the occipital nerves, which run from the upper neck through the scalp. When these nerves are irritated or compressed, the result is sharp, shooting, or electric-shock-like pain that starts at the base of the skull and radiates upward along the back of the head. Some people also feel it behind one eye.
The pain often comes in sudden bursts lasting seconds to minutes, though a background ache or burning sensation can linger between episodes. The scalp itself may become unusually sensitive. Brushing your hair or resting your head on a pillow can feel painful. There’s usually tenderness when you press the base of the skull where the nerve exits.
Occipital neuralgia is distinct from a standard tension headache. The intensity is much higher, the quality is sharper, and the episodes are more sudden. Diagnosis sometimes involves a nerve block injection at the base of the skull. If the injection temporarily eliminates the pain, that confirms the nerve is the source.
How Forward Head Posture Plays a Role
If you spend hours looking at a phone or laptop, your head gradually drifts forward of your shoulders. This posture forces the small muscles at the base of your skull to work overtime to keep your head upright. Over time, those muscles shorten and tighten while the deeper stabilizing muscles of the neck weaken.
This imbalance increases compression on the joints and ligaments of the upper cervical spine. The result is a predictable combination of neck pain, stiffness, and headaches that settle into the back of the head. Research links forward head posture to both tension-type and cervicogenic headaches. It also contributes to rounding of the upper back, which compounds the problem by adding more strain to the neck.
Telling Them Apart
The three main types of back-of-head headaches overlap enough to be confusing, but the pain quality is the clearest differentiator:
- Tension-type: Dull, steady pressure on both sides, mild to moderate, lasts hours to days. Neck and shoulder soreness common.
- Cervicogenic: One-sided pain starting in the neck and radiating forward, worsened by neck movement or pressure on neck muscles. Neck stiffness is a hallmark.
- Occipital neuralgia: Sharp, shooting, or electric jolts from the base of the skull upward. Scalp tenderness and sensitivity between episodes. Much more intense than the other two.
Migraines can also cause pain at the back of the head, though they’re more commonly felt on one side of the front or temple. If your headache comes with nausea, light sensitivity, or visual disturbances, migraine is worth considering even if the pain is posterior.
Relief for Muscle-Related Pain
For tension-type and cervicogenic headaches, the muscles at the base of the skull (the suboccipital group) are often a key contributor. Releasing tension there can provide noticeable relief.
A simple technique: lie on your back and place a small ball (or two tennis balls taped together) at the base of your skull, right at your hairline. Let the weight of your head create pressure. From that position, slowly tuck your chin toward your chest and hold for one to two minutes. Then gently turn your head side to side for another minute or two. This combination stretches the suboccipital muscles while strengthening the deep stabilizers in the front of your neck.
Posture correction matters too, especially if you work at a desk. Adjusting your screen to eye level, taking breaks to move your neck through its full range, and strengthening the muscles between your shoulder blades all reduce the forward-head position that feeds these headaches over time.
For occipital neuralgia that doesn’t respond to conservative measures, nerve block injections can help. When successful, they typically provide relief within 20 to 30 minutes and can last anywhere from several hours to several months. Lasting improvement often requires a series of injections rather than a single treatment.
When Back-of-Head Pain Needs Urgent Attention
Most headaches at the back of the head are not dangerous, but certain features signal something more serious. A headache that reaches peak intensity within seconds, sometimes called a thunderclap headache, carries a greater than 40 percent probability of serious underlying pathology like bleeding in the brain. That requires emergency evaluation.
Other warning signs include headache with fever and a stiff neck (raising concern for infection around the brain), any new neurological symptoms like weakness, numbness, vision changes, or confusion, and a headache pattern that is entirely new or dramatically different from your usual headaches. A first-ever severe headache after age 50, headaches triggered by coughing or exertion, and headaches that progressively worsen over days or weeks also warrant prompt medical attention.

