Both can throb at the back of your head, and both can leave you flat for a day — but occipital neuralgia and migraine come from different places in the body. One is a nerve being irritated; the other is a brain-based disorder. They can even happen in the same person at the same time. Telling them apart isn't an academic exercise: it's what points you toward treatment that actually works.
Two different problems that feel similar
Occipital neuralgia is a nerve-pain condition. The occipital nerves run from the top of the spine up over the back of the scalp, and when they're irritated or compressed, the pain is characteristically sharp, stabbing, or electric — starting at the base of the skull and shooting upward, sometimes lasting only seconds to minutes, sometimes settling into a constant ache with spikes of shooting pain on top (StatPearls: Occipital Neuralgia).
Migraine is a primary neurological disorder — the pain generator is in the brain and its pathways, not a single peripheral nerve. It tends toward throbbing pain, often affects more than one area of the head, and typically travels with nausea, sensitivity to light and sound, and sometimes visual aura.
Because occipital neuralgia's pain radiates over the head, it is one of the most commonly mislabeled headache conditions (neuralgias of the head: occipital neuralgia).
The clues that separate them
Several features help distinguish the two. Occipital neuralgia is more often one-sided and single-site — people frequently describe pain in one distinct spot rather than across the whole head — while migraine more often shows up in multiple locations (occipital neuralgia vs. cervicogenic headache vs. migrainous cervicalgia). A striking tell of occipital neuralgia is that the person can often put a fingertip on the exact tender point at the back of the head, and pressing there reproduces the shooting pain. Occipital neuralgia is also more commonly linked to a prior whiplash-type neck injury.
The quality of the pain differs too. Occipital neuralgia is neuralgic — lancinating and electric — whereas migraine is more often a building, throbbing headache with its familiar companion symptoms. Scalp tenderness and tingling can occur in both, which is part of why they're confused.
When they coexist
Complicating things further, the two conditions genuinely overlap. Studies of people who have both occipital neuralgia and migraine find they experience significantly more pain traveling across the scalp, more scalp tenderness, and more paresthesias (tingling) than people with isolated occipital neuralgia (occipital neuralgia with and without migraine). When both are present, treating only one leaves pain behind — which is why careful, structured differentiation matters rather than settling for a single catch-all label (differential diagnosis criteria for occipital neuralgia and migraine).
Why the distinction changes what helps
Getting the diagnosis right is the whole point, because the treatments diverge. Migraine is managed with migraine-specific medications and preventive strategies aimed at its brain-based mechanism. Occipital neuralgia responds to approaches aimed at the occipital nerves themselves.
The most useful diagnostic tool does double duty here. A diagnostic occipital nerve block — numbing the occipital nerves — helps confirm the source: if it relieves the pain, the occipital nerves are implicated, and a positive block also predicts who will respond to targeted treatment. When medications and blocks give only temporary relief, minimally invasive options aim precisely at the responsible nerves. Radiofrequency treatment interrupts the specific occipital nerves carrying the pain signal, and occipital nerve stimulation modulates it with gentle electrical impulses — and stimulation is reversible and trialed first, so you experience the relief before committing to anything permanent. The evidence for these nerve-targeted options is still maturing and positive, and candidacy is individualized.
If you've been bounced between headache labels without lasting relief, our headache and neuralgia assessment is a plain-language starting point, and you can read more about the treatments we offer for headache and neuralgia — including our deeper guide to occipital neuralgia treatment options.

