Pain at the back of your head usually comes from tight muscles in the neck and scalp, though several other conditions can cause it too. The most common culprit is a tension-type headache, which affects more people than any other headache type. Less commonly, the pain originates from irritated nerves, problems in the upper spine, or postural strain from hours of looking at screens.
Tension-Type Headaches
Tension headaches are the most frequent reason for pain at the back of the head. They produce a mild to moderate feeling of constant pressure across the face, head, or neck, often described as a tight band wrapping around the skull. The pain tends to settle at the base of the skull and across the back of the head, though it can spread more broadly.
For years, doctors assumed this pain came from muscles clenching too hard and cutting off their own blood supply. That turns out to be wrong. Muscle activity during tension headaches is normal or only slightly elevated, and blood flow to those muscles stays adequate. What’s actually happening is more about sensitivity: the tissues around the skull become significantly more tender in people with tension headaches compared to people without them, and that tenderness tracks directly with how intense and frequent the headaches are. Inflammatory signals in the muscle and connective tissue excite nearby pain-sensing nerves, making normal sensations register as painful. Over time, the nervous system itself becomes more reactive, amplifying those pain signals both in the spinal cord and higher in the brain. This is why chronic tension headaches can feel worse over time even without any new injury.
Poor Posture and “Text Neck”
If your head sits forward of your shoulders for hours each day (while working at a computer, scrolling your phone, or reading), the muscles at the back of your neck have to work overtime to keep your head upright. This forward head posture creates a cascade of problems. The upper back rounds forward, the muscles along the back of the neck shorten and tighten, and the vertebrae at the top of the spine get compressed.
A group of small muscles at the very base of your skull, called the suboccipital muscles, are especially affected. They lose their normal range of motion, become stiff, and generate pain that radiates up the back of the head. The result is often indistinguishable from a tension headache, and in many cases it is one. Muscle fatigue and restricted blood flow in these shortened muscles feed directly into the headache cycle described above.
Occipital Neuralgia
Occipital neuralgia is a less common but more intense cause of pain at the back of the head. It involves the occipital nerves, which run from the upper neck up through the scalp. The largest of these, the greater occipital nerve, provides sensation from the lower back of your head all the way to the top of your skull and your ears.
The pain is distinctive. It comes in sudden, sharp bursts that feel like electric shocks or stabbing sensations, lasting anywhere from a few seconds to a few minutes before fading. Between attacks, you may notice a dull ache or burning sensation in the same area. Two hallmarks set it apart from tension headaches: the scalp itself often becomes hypersensitive, so that even brushing your hair or resting your head on a pillow feels painful, and pressing on the nerve where it exits the skull at the base of your head reproduces or worsens the pain.
Treatment typically involves a nerve block, which is an injection of numbing medication (sometimes combined with a steroid to reduce inflammation) near the affected occipital nerve. Relief from a nerve block is temporary but can last weeks to months, and it also helps confirm the diagnosis.
Cervicogenic Headaches
Sometimes the pain in the back of your head isn’t starting in your head at all. Cervicogenic headaches originate from problems in the upper cervical spine, specifically the top three vertebrae (C1 through C3), their joints, ligaments, and the nerve roots that exit between them. Damage or irritation in any of these structures sends pain signals upward into the head.
Conditions that can trigger cervicogenic headaches include arthritis in the neck, a pinched nerve, a herniated disc, whiplash injuries, or strained neck muscles. The pain usually starts in the neck and radiates to the back of the head on one side. It often worsens with certain neck movements or sustained positions, which is one way to distinguish it from a tension headache. If turning your head to one side consistently brings on the pain, a cervicogenic source is worth investigating.
Exertion Headaches
If the back of your head pounds during or right after physical activity, you may be dealing with an exertion headache. These are triggered by anything that increases pressure in the chest and head: weightlifting, running, coughing, sneezing, straining on the toilet, or sexual intercourse. The pain is typically throbbing and pulsating, affecting one or both sides of the head, and often includes neck pain.
Most exertion headaches last between five minutes and 48 hours. They tend to appear in clusters over a period of three to six months and then stop. Some episodes mimic migraines, with visual disturbances, nausea, and sensitivity to light. While the primary form is harmless, a first-ever exertion headache deserves medical evaluation because it can occasionally signal something more serious, like a blood vessel problem.
When the Pain Could Be Serious
The vast majority of pain at the back of the head is not dangerous. But certain features suggest the headache may be caused by something that needs urgent attention. Headache specialists use a set of red flags to identify these situations:
- Sudden, maximum-intensity onset. A headache that reaches its worst level within seconds, sometimes called a thunderclap headache, can point to a ruptured blood vessel or aneurysm. This is the single most concerning red flag.
- Neurological symptoms. New weakness in an arm or leg, numbness, slurred speech, double vision, or trouble with balance alongside head pain can indicate a stroke or vertebral artery dissection, a tear in one of the arteries running through the neck to the brain.
- Steady worsening over days or weeks. Primary headaches tend to come and go. A headache that progressively gets more severe or more frequent without letting up suggests a secondary cause.
- Fever, night sweats, or unexplained weight loss. These systemic symptoms alongside new headaches can signal infection or another underlying illness.
- Position-dependent pain. A headache that dramatically changes when you stand up versus lie down may indicate a pressure problem inside the skull.
- New headache during or after pregnancy. This warrants evaluation for vascular or hormonal complications.
Vertebral artery dissection deserves specific mention because it causes pain at the back of the head and neck, which is exactly where many benign headaches also occur. In the early stages, the only symptoms may be one-sided neck pain and a severe headache. If a clot forms and disrupts blood flow to the brain, stroke symptoms follow: dizziness, vertigo, hearing loss, difficulty speaking, or loss of coordination. This condition is uncommon but can follow neck trauma or even vigorous chiropractic manipulation.
What Helps at Home
For tension-type headaches and posture-related pain, the most effective long-term fix is addressing the source. Stretching the muscles at the back of the neck, strengthening the deep neck flexors at the front, and adjusting your workstation so your screen is at eye level can reduce the frequency and severity of episodes over weeks. Taking breaks every 30 to 45 minutes from sustained screen time gives the suboccipital muscles a chance to release.
Heat applied to the base of the skull and upper neck relaxes tight muscles and improves blood flow to the area. Over-the-counter pain relievers work for occasional episodes, but using them more than two or three days per week can paradoxically cause more headaches over time, a pattern called medication-overuse headache. If you’re reaching for pain relief that often, the underlying cause likely needs a different approach.
For cervicogenic headaches, physical therapy targeting the upper cervical spine has strong evidence behind it. Manual therapy, specific neck exercises, and postural correction can reduce headache frequency significantly. Occipital neuralgia often requires medical treatment like nerve blocks, but gentle massage and avoiding pressure on the back of the skull (including tight hats, headbands, or firm pillows) can help manage symptoms between treatments.