A headache in the back of your head is most often caused by tension in the muscles of your neck and scalp, though several other conditions can produce pain in that specific location. The back of the head is a busy intersection of nerves, muscles, and vertebrae, which is why pain there can feel different from a typical forehead headache and can have a wider range of causes.
Tension-Type Headaches
The most common explanation is a tension-type headache. These produce a dull, aching pain with a feeling of tightness or pressure across the forehead, sides, and back of the head. Many people describe it as a band squeezing around the skull. You may also notice tenderness in your scalp, neck, and shoulder muscles.
A single episode can last anywhere from 30 minutes to a full week. If these headaches show up fewer than 15 days a month, they’re considered episodic. At 15 or more days a month for at least three months, they’re classified as chronic, and the pain may feel nearly constant. Stress, poor sleep, skipping meals, and dehydration are the most reliable triggers.
How Posture Contributes
If you spend hours looking at a screen, your head gradually drifts forward of your shoulders. This forward head posture forces a group of four small paired muscles at the base of your skull, called the suboccipital muscles, to contract continuously just to keep your eyes level. Over time, that sustained effort creates trigger points: tight, tender knots that refer pain upward into the back of the head or downward into the shoulders.
The resulting pain is typically a dull, achy soreness that spreads across the back of the neck and up into the skull. Studies have linked trigger point pain to forward head posture, particularly in people who already experience migraines or other headache types. Computer users are disproportionately affected; some research puts the rate of neck-related headaches among frequent computer users as high as 64.5%.
Cervicogenic Headaches
A cervicogenic headache starts in the structures of the upper neck and refers pain into the head. Unlike a tension headache, the root problem is in the cervical spine itself, whether from joint stiffness, disc issues, or past whiplash-type injuries. The pain is usually one-sided, begins at the base of the skull, and can wrap around to the forehead or behind the eye on the same side.
Turning or tilting your head often makes the pain worse, and you may notice reduced range of motion in your neck. A history of neck trauma makes the diagnosis more likely. Treatment typically involves physical therapy focused on mobilizing the upper cervical joints and strengthening the deep neck muscles, rather than simply managing pain with medication.
Occipital Neuralgia
If the pain feels sharp, electric, or stabbing rather than dull and squeezing, the occipital nerves may be involved. These nerves run from the upper spine through the scalp, and when they’re pinched or irritated, the result is occipital neuralgia. Pain can start at the back of the head or behind one eye and may feel like a burning shock, a sudden piercing jolt, or a deep throb.
The most common cause is pinched nerves or tight neck muscles compressing the nerve path. Symptom flares often respond to gentle neck stretching and massage to release that muscular tension. Unlike tension headaches, occipital neuralgia tends to be more intense and localized, following a specific nerve path rather than wrapping broadly around the head.
When the Pain Changes With Position
A headache at the back of your head that gets dramatically worse when you stand up and improves when you lie down has a distinct cause: low cerebrospinal fluid pressure, sometimes called spontaneous intracranial hypotension. The fluid that normally cushions your brain leaks through a small tear in the membrane surrounding the spinal cord, and gravity pulls the brain slightly downward when you’re upright. The headache is often severe and tends to worsen as the day goes on. This pattern, where the pain is clearly tied to being vertical, is the hallmark feature.
Warning Signs Worth Knowing
Most headaches at the back of the head are uncomfortable but not dangerous. A few patterns, however, deserve prompt medical attention. A sudden, severe headache unlike anything you’ve experienced before, sometimes called a “thunderclap” headache, can signal bleeding around the brain.
Vertebral artery dissection is a rare but serious cause. A tear develops in one of the arteries running through the neck vertebrae, and symptoms can include a severe headache paired with dizziness, trouble with balance or coordination, double vision, slurred speech, hearing loss, or vertigo. Neck pain, usually on one side, often accompanies the headache. If the tear disrupts blood flow to the brain, it can cause a stroke. These symptoms together, especially after a neck injury or sudden neck movement, warrant emergency evaluation.
Identifying Your Type
Paying attention to a few characteristics can help you narrow down what’s going on:
- Pain quality. Dull and band-like points toward tension. Sharp, electric, or shooting suggests nerve involvement.
- Location. Broadly across the back of the head is typical for tension headaches. One-sided pain that starts at the base of the skull suggests a cervicogenic headache or occipital neuralgia.
- Triggers. Pain that worsens with neck movement points toward a cervical spine issue. Pain that worsens when standing and disappears when lying down suggests low spinal fluid pressure.
- Duration. Episodes lasting 30 minutes to a few hours that respond to rest, hydration, or over-the-counter pain relief are consistent with tension headaches. Persistent daily pain that doesn’t respond to basic measures needs further evaluation.
Practical Steps That Help
For the majority of back-of-head headaches driven by muscle tension and posture, a few adjustments make a meaningful difference. Positioning your screen at eye level so your head stays over your shoulders reduces the load on those suboccipital muscles. Taking breaks every 30 to 45 minutes to move your neck through its full range of motion helps prevent trigger points from forming.
Gentle neck stretches, particularly tilting your ear toward your shoulder and holding for 20 to 30 seconds per side, can release tightness along the muscles that refer pain into the skull. Applying heat to the base of the skull and upper neck relaxes the muscles and increases blood flow. For occipital neuralgia specifically, massaging the area where the skull meets the neck can calm nerve irritation during a flare.
If your headaches have shifted from occasional to frequent, or if they don’t respond to these basic strategies, the pattern itself is useful information. Tracking when the pain occurs, what it feels like, and what makes it better or worse gives a clinician a much clearer starting point than “I get headaches in the back of my head.”

