Shooting pain at the base of your skull: is it occipital neuralgia?
Electric jolts up the back of the head, pain behind the ear, a scalp too sore to brush. How to tell occipital neuralgia from a tension headache or migraine, what helps at home, and when to get checked.
Related guide Headaches & jaw pain
Sharp, shooting pain that starts at the base of the skull and jolts up the back of the head, often on one side and sometimes behind the ear, is often occipital neuralgia: an irritated nerve at the back of the head. Heat, gentle neck work and fewer hours looking down usually help. A sudden severe headache, fever with a stiff neck, or numbness, weakness or vision changes need urgent care.

Some headaches arrive as a dull squeeze. This one arrives as a jolt: a sharp, shooting pain at the base of the skull that zips up over the back of the head, sometimes to the spot behind the ear or toward the eye. Between jolts the scalp can feel bruised, and even brushing your hair or resting your head on a pillow can hurt.
Here is the short version: that pattern often comes from an irritated nerve at the back of the head, a condition called occipital neuralgia. It is not dangerous in itself, it usually eases with simple care, and the main job is to make sure it is not something else.
What is occipital neuralgia?
Two pairs of nerves, the greater and lesser occipital nerves, leave the top of the neck and travel up through the muscles at the base of the skull to supply the scalp. When one of them is squeezed or irritated along that path, it fires pain along its route. Most people call it a pinched nerve at the base of the skull. The clinical term is occipital neuralgia.
The signs that point to it:
- Shooting or stabbing pain. Electric, piercing jolts that last seconds, sometimes in a run, starting at the base of the skull and travelling up the back of the head.
- Usually one side. It can affect both, but most people feel it on one.
- Pain behind the ear or the eye. The lesser occipital nerve supplies the scalp behind the ear. Pain can also be felt behind the eye on the same side, because nerves from the upper neck share a relay point in the brainstem with the nerve that serves the face and eye.
- A tender scalp. Touch, a ponytail or a pillow can set it off, and pressing the spot under the skull ridge often reproduces the pain.
The Cleveland Clinic notes there is no single test that confirms it, and that it is often mistaken for migraine.
What causes shooting pain in the back of the head?
Often there is no single event. The usual contributors are:
- Tight muscles at the base of the skull. The nerves pass through them, so muscles that stay clenched through long screen days or stressful weeks can squeeze them.
- A neck injury. A fall, a hit or whiplash from a car accident can irritate the nerves directly. Our article on care after an auto accident covers that sequence.
- Wear in the upper neck. Arthritis or disc changes in the top joints of the neck can crowd the nerve roots these branches come from.
- Other health conditions. Less often, diabetes, gout or inflamed blood vessels play a part, which is one reason a physician belongs in the picture when it keeps coming back.
A dull headache tells you a muscle is tired. A jolt that runs along the scalp tells you a nerve is involved, and nerves want calming, not forcing.
Occipital neuralgia, tension headache or migraine?
- Tension headache. A steady band of pressure, usually both sides, that builds through the day. No electric jolts. See tension headaches.
- Headache from the neck. A one-sided ache that starts at the base of the skull and spreads forward, and changes with neck movement. It is a deeper ache rather than a shock. Our guide to headaches from the neck explains it.
- Migraine. Throbbing pain lasting hours, often with nausea or sensitivity to light and sound.
- Shingles. Burning pain on one side of the scalp followed by a rash needs a physician promptly.
The patterns can overlap, and some people have more than one. The jolt-like quality and the tender spot under the skull are what set occipital neuralgia apart.
What helps occipital neuralgia at home
Heat on the back of the neck for 15 minutes, once or twice a day, often eases the muscles around the nerve. Break up long stretches of looking down, and use a pillow that keeps your head level rather than propped forward. The routine below, done once a day, keeps the area moving. Go gently, and skip any move that sets off a jolt or makes the pain spread.
Chin Tuck


Stand with your back against a wall and draw your chin straight back until the back of your head meets the wall, without tipping your chin up or down. It wakes up the deep muscles at the front of the neck so the small muscles under the skull do less of the holding.
8–10 reps/Hold 5sSub-Occipital Release


Lie on your back and rest the ridge at the base of your skull on two tennis balls, one each side of the spine, and let your head sink in gently. These muscles sit right where the nerve passes, so keep the pressure light and stop if it sets off a jolt.
1–2 minutesUpper-Trap Stretch


Sit tall, anchor one shoulder by sitting on that hand, and tilt your ear slowly toward the other shoulder. It eases the muscle that runs from the base of the skull to the top of the shoulder, which often tightens alongside the nerve.
30s each sideThoracic Extension Over a Chair


Sit tall with your hands behind your head and arch your upper back gently over the top of the chair, then return. A mid-back that moves takes some of the strain off the top of the neck.
8 slow repsDoorway Pec Stretch


Rest your forearm on a doorframe at shoulder height and step through until you feel a stretch across the chest. Opening the front of the shoulders makes it easier to hold the head over the body instead of ahead of it.
30s each sideIf the routine makes the scalp more sensitive rather than less after a few days, stop and get it assessed.
When should a headache at the base of the skull be checked?
It is worth an assessment if the jolts are not easing after a week or two, are waking you at night, or keep coming back.
Get urgent medical care for:
- A sudden, severe headache that peaks within a minute, often called the worst headache of your life.
- Headache with fever and a stiff neck, or with confusion, trouble speaking, double vision or vision loss.
- Numbness or weakness in the face, arm or leg, or a change in balance.
- Headache after a blow to the head.
See a physician soon for a new headache pattern after 50, pain at the temple or in the jaw when chewing, or pain with a rash on the scalp.
What a visit here looks like
Dr. Andersen starts by sorting out which headache this is. She asks about the pattern, checks how the upper neck and upper back move, presses along the path of the occipital nerves to see whether that reproduces the pain, and runs a neurological screen. If anything points beyond a mechanical problem, we send you to your physician first. A physician can also confirm the diagnosis with a nerve block and discuss medication, and some people need both kinds of care.
Treatment aims to take pressure off the nerve, not to push through it. We do not start with a forceful adjustment of the upper neck while the nerve is irritable. Early care leans on gentle mobilization, Pin & Stretch for the muscles at the base of the skull and across the shoulders, and acupuncture where it fits. As things settle, precision spinal adjustments where a segment is stiff and corrective exercise for the deep neck muscles help keep it from returning.
How long does occipital neuralgia last?
A single jolt lasts seconds, though they can come in clusters over hours. With treatment, the Cleveland Clinic page above notes mild to moderate cases often feel better within a week or two, while more intense pain can take four to six weeks. How quickly it settles varies from person to person, and it can return during stressful or screen-heavy stretches, which is why the home routine is worth keeping.
We are at 5285 State Route N, Suite 102, a short drive from St. Peters, O’Fallon and Wentzville. If you can point to the spot where the jolt starts, bring that finger with you; it saves time in the exam.
If the back of your head keeps shooting pain, let’s find what is pinching the nerve.
Frequently asked questions
- What causes shooting pain in the back of the head?
- Brief, electric jolts that start at the base of the skull and run up over the scalp are often occipital neuralgia, an irritated occipital nerve. Tight muscles at the base of the skull, a neck injury and wear in the upper neck are the usual contributors. A sudden, severe headache that peaks within a minute is different and needs emergency care.
- How do I know if I have occipital neuralgia or a tension headache?
- A tension headache is a steady band of pressure, usually on both sides, that builds through the day. Occipital neuralgia brings sharp, shooting jolts that last seconds, usually on one side, with a tender scalp and a sore spot under the skull ridge. The two can overlap, and an assessment can sort out which is driving yours.
- Why do I have pain behind my ear and at the back of my head?
- The lesser occipital nerve supplies the scalp behind the ear, so occipital neuralgia can send pain there as well as up the back of the head. A tight neck or upper-neck joint can also refer pain behind the ear. Pain with a rash, ear discharge, fever or hearing changes should be seen by a physician.
- Can a chiropractor help occipital neuralgia?
- A chiropractor can check the upper neck and the muscles the nerve passes through, screen for signs that need a physician, and use gentle mobilization, soft-tissue work, acupuncture and exercise to ease the pressure. At The Spine Studio we do not start with forceful adjustments of the upper neck while the nerve is irritable. Some people also need a physician for a nerve block or medication.