Severe pain at the back of your head usually comes from one of a few common sources: tight muscles in your neck and scalp, irritated nerves at the base of your skull, or a problem in your upper cervical spine that sends pain upward. Most causes are treatable and not dangerous, but certain warning signs do require urgent evaluation. Understanding what your pain feels like, and what triggers it, can help you figure out what’s going on.
Tension-Type Headaches
The most common reason for pain at the back of your head is a tension-type headache. This feels like a tight band of pressure wrapping around your skull, often concentrated across the forehead, sides, and back of the head. The pain is mild to moderate, not usually sharp or throbbing, and it doesn’t come with nausea or sensitivity to light.
Episodic tension headaches can last anywhere from 30 minutes to a full week. If they happen fewer than 15 days a month, they’re considered episodic. Once they hit 15 or more days a month for at least three months, they’re classified as chronic, and the pain can feel nearly constant. Stress, poor sleep, dehydration, and skipped meals are the usual triggers.
Forward head posture plays a bigger role than most people realize. Research from Johns Hopkins found that people with chronic tension headaches had significantly more forward head posture than people without headaches, in both sitting and standing positions. The worse the posture, the more frequent and longer-lasting the headaches were. This happens because muscles at the base of your skull, called the suboccipitals, stay contracted when your head juts forward. Over time, they develop sensitive knots that refer pain across the back of your head.
Occipital Neuralgia
If the pain feels more like an electric shock, a sharp stab, or a burning sensation rather than dull pressure, the problem may be occipital neuralgia. This involves the occipital nerves, which run from the top of your spinal cord up through your scalp. When these nerves are irritated or compressed, they fire off sudden bursts of pain that start at the base of your skull and shoot upward to one or both sides of the head. You can also feel it behind your eyes and ears.
The pain can last from seconds to minutes and often comes on without warning. One of the hallmarks is an extremely tender scalp. Some people find that just lying on a pillow or running a comb through their hair triggers excruciating pain. Turning your head or pressing on certain spots at the base of your skull can set it off too. Between flare-ups, you might notice numbness or a strange tingling sensation in the affected area.
Occipital neuralgia is frequently confused with migraines because the pain can be intense and overlapping. Harvard Health notes a useful distinction: migraines typically bring nausea and sensitivity to light along with the head pain, while occipital neuralgia generally does not. If you have sharp, shooting pain in the back of your head without those accompanying symptoms, occipital neuralgia is more likely. That said, some people do have both conditions simultaneously.
Cervicogenic Headaches
Sometimes the back of your head hurts because the real problem is in your neck. Cervicogenic headaches are a classic example of referred pain, where you feel the hurt in one place but the source is somewhere else entirely. In this case, dysfunction in the upper three vertebrae of your cervical spine (the bones, joints, ligaments, or nerve roots in that area) sends pain signals up into the back and sides of your head.
The telltale sign is that the headache gets worse or is triggered by neck movement. Turning your head to one side, looking up, or holding your neck in one position for a long time can bring it on. The pain is usually one-sided and may feel like it radiates from the back of your neck up and over your skull. Unlike tension headaches, which tend to feel symmetrical, cervicogenic headaches often stay locked to one side.
These headaches respond well to treatments that address the neck itself: physical therapy, manual manipulation of the cervical spine, and corrective exercises targeting posture and neck mobility.
What Makes the Pain Worse
Regardless of the specific cause, a few common factors amplify pain at the back of the head. Prolonged screen time is one of the biggest culprits. When you lean toward a screen, your head shifts forward of your shoulders, and every inch of forward shift multiplies the load on your neck muscles. Hours of this daily creates a cycle of muscle tension, nerve compression, and pain that feeds on itself.
Sleeping position matters too. A pillow that’s too high or too flat can keep your neck in an awkward angle all night, leaving you with pain by morning. Stress and jaw clenching, especially during sleep, tighten the muscles that wrap from your jaw up to the base of your skull.
Exercises That Help
Two simple exercises target the muscles and joints most involved in back-of-head pain. Many people notice a reduction in headache frequency within two to four weeks of doing them daily.
Chin tucks: Sit or stand with your back straight. Slide your head straight back, as if giving yourself a double chin. Hold for three seconds, then release. Do three sets of 15 repetitions. This mobilizes the upper cervical spine, reduces compression on the joints between the top two vertebrae, and activates the deep neck muscles that take load off the overworked surface muscles.
Suboccipital release: Lie on your back and place a small rolled towel at the base of your skull. Let the weight of your head press the tight muscles into the towel for two to three minutes. This passively relaxes the muscles most directly responsible for cervicogenic headaches. Do it daily, especially on days when you feel a headache building.
When the Pain Needs Urgent Attention
Most back-of-head pain comes from muscle tension, posture, or nerve irritation and resolves with time and self-care. But certain features point to something more serious. The American Headache Society uses a set of red flags to distinguish dangerous headaches from benign ones.
The most critical warning sign is sudden onset. A headache that arrives at maximum intensity within seconds, sometimes called a thunderclap headache, can signal a ruptured blood vessel or aneurysm and needs emergency evaluation immediately. Other red flags include:
- Neurological changes: new weakness in an arm or leg, numbness you’ve never felt before, vision changes, or difficulty speaking
- Fever, night sweats, or unexplained weight loss alongside the headache
- Steady worsening over days or weeks, with the pain becoming more severe or more frequent in a clear pattern
- New headaches after age 50 that you’ve never experienced before
- Positional changes: pain that dramatically shifts when you go from standing to lying down, or that spikes when you cough or strain
How Doctors Figure Out the Cause
Diagnosing the source of back-of-head pain can be tricky because the conditions overlap in how they feel. There’s no single test that confirms occipital neuralgia or cervicogenic headaches. A neurologist or headache specialist will typically start with a hands-on examination, pressing on the base of your skull to check for tender spots and testing your neck’s range of motion to see if certain movements reproduce the pain.
Imaging like a CT scan or MRI of the spine may be ordered to look for structural problems, such as a compressed nerve or damaged disc in the upper cervical spine. For occipital neuralgia, a diagnostic nerve block can serve double duty: a numbing injection near the occipital nerve both confirms the diagnosis (if the pain temporarily disappears) and provides short-term relief. Results vary from person to person, and not everyone gets lasting benefit from nerve blocks, but they’re a useful starting point for pinpointing the source.