Headaches in the back of your head most often come from tension in the neck and upper back muscles, but several other conditions can produce pain in this specific location. Where your headache sits, how it feels, and what makes it better or worse all point toward different causes, each with its own approach to relief.
Tension-Type Headaches
The most common reason for pain at the back of your head is tension in the trapezius and suboccipital muscles, the group that connects your upper neck to the base of your skull. When these muscles tighten or become inflamed, they refer pain upward across the back of the head, sometimes wrapping around to the temples or forehead. The pain typically feels like a dull, pressing band rather than a throb.
Recent MRI research has shown that this isn’t just “tightness” in the casual sense. Imaging of the trapezius muscle reveals measurable inflammation in people with tension-type headaches, with higher inflammation levels correlating directly with more headache days and more tender trigger points in the connective tissue surrounding the muscle. People who have both tension headaches and migraines show the highest levels of this muscle inflammation, suggesting the two conditions can feed each other.
Common triggers include prolonged sitting, stress, poor sleep, and holding your head in a fixed position (looking at a screen, driving long distances). The pain usually builds gradually over the course of a day rather than hitting suddenly.
Cervicogenic Headaches
A cervicogenic headache starts in the neck but is felt in the head. It originates from problems in the upper cervical spine, specifically the top three vertebrae (C1 through C3) and the discs, joints, or soft tissue around them. Arthritis, disc degeneration, whiplash injuries, and compressed joints in this region can all trigger it.
The International Headache Society defines cervicogenic headache as pain caused by a disorder of the cervical spine that usually, but not always, comes with neck pain. A hallmark feature is that your neck range of motion is reduced, and certain neck movements or sustained positions make the headache noticeably worse. The pain is typically one-sided and starts at the base of the skull before radiating forward.
One important nuance: imaging findings like disc changes or bone spurs in the upper cervical spine are common even in people without headaches. So an X-ray or MRI showing “wear and tear” doesn’t automatically mean that’s your headache source. The diagnosis depends on whether your headache pattern actually lines up with the neck problem, not just on what the scan shows.
Occipital Neuralgia
Occipital neuralgia produces sharp, shooting, or electric-shock-like pain that starts at the base of the skull and radiates upward along the back and top of the head. It can also cause tenderness of the scalp and sensitivity to light. It’s distinctly different from the dull pressure of a tension headache.
The pain comes from irritation or compression of the greater or lesser occipital nerves, which run from the upper cervical spine up through the muscles at the back of the head to the scalp. The C2 nerve root is the most common site of compression. Causes include tight muscles trapping the nerve, degenerative changes in the cervical spine, prior injury, or sometimes no identifiable trigger at all.
If your posterior headache feels like sudden jolts or stabs rather than steady pressure, and especially if your scalp feels tender to the touch or painful when you brush your hair, occipital neuralgia is worth considering.
Low Spinal Fluid Volume
A less common but important cause is spontaneous intracranial hypotension, where the volume of cerebrospinal fluid around your brain drops, usually because of a small leak somewhere in the spinal membrane. This produces a headache that is dramatically positional: it worsens significantly when you stand or sit up and improves when you lie flat.
The pain frequently localizes to the back of the head and the posterior neck, though it can spread more broadly. On MRI, the low fluid volume can cause the brain to sag slightly downward, crowding the structures at the base of the skull. Interestingly, Mayo Clinic researchers have found that the key factor is decreased fluid volume rather than decreased fluid pressure. Patients can have normal pressure readings on a spinal tap and still have the condition, which means it can be missed if doctors rely only on pressure measurements.
If your headache follows a clear pattern of worsening upright and improving lying down, especially if it developed relatively suddenly, this is a condition worth raising with your doctor.
Posture and Daily Habits
Forward head posture, the position most people adopt while looking at a phone or hunching over a laptop, shifts the weight of your head forward of the spine. This forces the suboccipital muscles at the base of your skull to work continuously to hold your head up, leading to fatigue, tightness, and pain that settles at the back of the head and upper neck.
This isn’t a separate diagnosis so much as a mechanism that feeds into tension-type and cervicogenic headaches. If your headaches are worse on workdays, build through the afternoon, or ease on weekends or vacations, posture is a likely contributor. Adjusting your screen to eye level, taking breaks to move your neck through its full range of motion, and strengthening the deep neck flexors (the muscles at the front of your neck that counterbalance the ones at the back) can all reduce this pattern over time.
How Posterior Headaches Are Treated
Treatment depends on the cause, but for the most common types, physical therapy targeting the suboccipital and upper trapezius muscles is a first-line approach. A clinical trial of patients with chronic tension-type headache found that a technique called suboccipital muscle inhibition, where a therapist applies sustained pressure to release the muscles at the base of the skull, significantly reduced headache-related disability and the impact of headaches on daily life over four weeks. The improvements exceeded the threshold considered clinically meaningful. Pain scores didn’t change as dramatically, but patients were able to function better day to day.
For occipital neuralgia, occipital nerve blocks (an injection of local anesthetic near the affected nerve) are a common option. Results vary considerably. When they work, relief typically begins 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 one, and the outcome is difficult to predict in advance.
For cervicogenic headaches, treatment focuses on the underlying neck problem. This can include manual therapy, targeted exercises to improve cervical mobility and stability, and in some cases ergonomic changes to reduce the sustained positions that provoke pain.
When the Cause May Be Serious
Most headaches at the back of the head are not dangerous, but a few patterns warrant urgent attention. A sudden, severe headache that reaches maximum intensity within seconds, sometimes called a thunderclap headache, can signal bleeding around the brain and needs emergency evaluation.
Vertebral artery dissection, a tear in one of the arteries running through the cervical spine to the brain, can cause a severe headache along with neck pain, dizziness, double vision, trouble with balance or coordination, slurred speech, or hearing loss. In the most serious cases, it leads to stroke. This can happen after neck trauma, chiropractic manipulation, or sometimes spontaneously. If a severe posterior headache comes with any neurological symptoms like those listed, it requires immediate medical attention.
Other red flags include a new headache pattern after age 50, a headache that steadily worsens over days or weeks without responding to anything, or a headache accompanied by fever, stiff neck, and confusion, which could point to meningitis.

