Written and medically reviewed by Tae Ho Guak, MD, board-certified neurologist · Reviewed July 2026 · Editorial policy

A woman in her forties sat down in my office last month and told me she’d had migraines for six years. Except when I asked her to show me where it hurt, she didn’t point to her temple or behind her eye. She reached to the base of her skull and drew a line with her finger up the back of her head, toward the crown. “It’s like an electric shock,” she said. “A few seconds, gone, then again. And this patch of scalp is so sore I can’t lie on it.” That is not what a migraine does. That is an irritated occipital nerve, and once you recognize the pattern, it is often one of the more treatable headaches I see.
If a sharp, shooting or stabbing pain travels up the back of your head — usually on one side, in bursts lasting seconds to a couple of minutes, with a tender spot at the base of the skull — you may be dealing with occipital neuralgia, not migraine or ordinary tension headache. It comes from the greater, lesser, or third occipital nerves, which run from the top of the neck into the scalp. The reason this matters so much is practical: there is a simple injection that can both confirm the diagnosis and relieve the pain, and the label you’ve been carrying may have been steering you toward the wrong treatments for years.
What occipital neuralgia actually feels like
The signature is the quality of the pain. Patients reach for words like electric, shooting, stabbing, or lightning. It fires in paroxysms — sudden bursts lasting from a few seconds to a few minutes — rather than the slow, hours-long build of a migraine. Between the jolts there can be a dull ache in the same area, but the jolts are what people remember.
Two other clues point away from migraine. First, location: the pain starts at the back of the head, near where the neck meets the skull, and travels upward and forward, sometimes as far as behind the eye on the same side. Second, the scalp itself is often abnormal. Brushing your hair, resting your head on a pillow, or a light touch over that patch can hurt or feel oddly tingly — what we call allodynia and dysaesthesia. And there is usually a specific tender point at the emergence of the greater occipital nerve, about halfway between the bump at the base of your skull and the mastoid bone behind your ear. Press it and it reproduces the pain. Migraine doesn’t do that.
Why it gets called migraine — or tension, or “your neck”
Occipital neuralgia is under-recognized because its territory overlaps with things that are far more common. Migraine can radiate to the back of the head. Tension-type headache lives in the same neck-and-occiput real estate. And cervicogenic headache — pain genuinely driven by the upper cervical joints — can feel almost identical and often coexists. When a busy clinic sees “back-of-head pain that comes and goes,” migraine or tension is the statistically safe guess, and a triptan or an over-the-counter painkiller gets prescribed.
The problem is that those treatments largely miss the target. Triptans work on the migraine pathway, not on an irritated peripheral nerve. Daily painkillers, taken for a pain they can’t fix, are how some people drift into medication-overuse headache on top of the original problem. This is the trap I see again and again: a headache doesn’t improve, so more medication goes in, and the real diagnosis never gets made. If your headache simply isn’t getting better despite reasonable treatment, that stall is itself a clue worth taking seriously — I’ve written separately about why good doctors miss the diagnosis and when a second opinion is worth it.
It’s also worth separating occipital neuralgia from two of its close relatives. Cervicogenic headache comes from the neck joints and tends to produce a steadier ache provoked by neck movement, rather than electric jolts. And trigeminal neuralgia produces the same lightning-quality pain but in the face, not the back of the head. The distinctions aren’t academic — they change what actually helps.
The block that both proves it and treats it
Here is what makes occipital neuralgia satisfying to diagnose. Under the international headache criteria (ICHD-3, code 13.4), the diagnosis is confirmed by numbing the suspected nerve with a small injection of local anesthetic. If the pain switches off for the duration of the anesthetic, you have strong confirmation you were treating the right nerve. In my clinic, watching a patient’s face when a years-long pain disappears within minutes is one of the more convincing moments in headache medicine.
I’ll add two honest caveats, because I’d rather you go in with realistic expectations. A single positive block can mislead — false-positive rates run as high as 40% in the literature — so I don’t hang everything on one injection; a repeat block that also works makes me far more confident. And the anesthetic effect is temporary by nature. That’s why blocks are usually done with a corticosteroid added, which can quiet the nerve for weeks to months, and why the block is a starting point rather than a cure. For many people, a well-placed block buys real relief and confirms the diagnosis at the same time.
What we try when a block isn’t enough
Not everyone needs injections, and injections don’t fix everyone. The rest of the toolkit is medical and physical. Nerve-calming medications — gabapentin, pregabalin, carbamazepine, or a low-dose tricyclic like amitriptyline — can dampen the misfiring nerve when taken regularly. Physical therapy aimed at the upper neck and posture matters, because so many of these patients have a cervical component feeding the problem; forward-head posture at a desk all day is a genuine aggravator. Simple heat, and not sleeping in a position that crushes that nerve, help more than people expect.
For the minority who stay stuck after blocks and medication, there are further options — pulsed radiofrequency treatment of the nerve, and, in carefully selected refractory cases, occipital nerve stimulation. These are later steps, considered only after the simpler measures have had a fair trial and the diagnosis is secure.
When pain at the back of the head is not occipital neuralgia
One reason I’m cautious about self-diagnosis here: occipital pain can occasionally be a warning sign rather than a nerve quirk. A block is safe, but skipping the questions that come before it is not. I want to know if the pain is brand-new and unlike anything before, if it came on like a thunderclap, if there’s fever or neck stiffness, if there are neurological changes — weakness, double vision, trouble speaking — or if it followed neck trauma or manipulation. Sudden severe pain at the back of the head can, rarely, signal a problem in the arteries of the neck or the posterior part of the brain, and those need imaging, not a nerve block. Genuine occipital neuralgia is a recurring, patterned pain with a tender nerve you can put a finger on; a new, escalating, or “worst-ever” occipital pain is a different conversation and belongs in an emergency room.
That caution aside, the everyday version of this story is a hopeful one. The patient I described at the start had a block, felt the pain vanish, and started a short course of a nerve-calming medication alongside some targeted neck work. She isn’t cured of everything — she still gets the occasional true migraine — but the electric jolts that had been mislabeled for six years are, for now, quiet. The point isn’t that occipital neuralgia is common. It’s that when it’s there, naming it correctly changes everything.
Next steps
If any of this sounds like your headache, two things are worth doing:
- Download the free red-flag checklist so you can tell an ordinary headache from one that needs urgent attention: Free Headache Red Flags
- Talk it through with a specialist if your “migraines” have never quite fit the picture: Talk to a Specialist
This article is for education and is not a substitute for a personal medical evaluation. It cannot diagnose your headache or replace care from your own physician. If you have a sudden, severe, or “worst-ever” headache, or one with fever, a stiff neck, weakness, confusion, or vision loss, treat it as an emergency and go to the nearest emergency room right away.
From the textbook. Chapter 50, “Occipital Neuralgia and the Greater Occipital Nerve Block,” of my clinical textbook Headache Medicine covers this topic in full for doctors, with the evidence and decision pathways behind it. About the book →
