Occipital Neuralgia: What It Is, Why It Hurts, and How It Is Treated
By HealthRader Editorial Team | Published November 29, 2026 | Last updated November 29, 2026
Occipital neuralgia is a headache disorder that causes sharp, piercing pain at the back of the head, behind the ears, or in the upper neck. It happens when the occipital nerves, the nerves that run through the scalp, become injured or inflamed. The pain often starts at the base of the skull and spreads across the scalp, and it can feel like an electric shock, a burning ache, or a throbbing pulse.
It is often confused with migraine, but the causes and treatments are different. A simple clue is that migraine often brings nausea and sensitivity to light, while occipital neuralgia often brings a tender scalp and pain that starts at the back of the head. This guide explains the symptoms, causes, diagnosis, and treatment of occipital neuralgia, plus the home steps that may ease it.
Table of Contents
- What Is Occipital Neuralgia?
- What Are the Symptoms of Occipital Neuralgia?
- What Causes Occipital Neuralgia?
- Occipital Neuralgia vs Migraine
- How Is Occipital Neuralgia Diagnosed?
- How Is Occipital Neuralgia Treated?
- What Can You Do at Home for Occipital Neuralgia?
- Can Occipital Neuralgia Be Prevented?
- When Should You Seek Urgent Care?
- Frequently Asked Questions

What Is Occipital Neuralgia?
Occipital neuralgia is a type of headache disorder. It occurs when one or more of the occipital nerves become inflamed or damaged. Cleveland Clinic, in its overview last updated on May 21, 2022, defines it as a condition in which the occipital nerves become inflamed, causing headaches that feel like severe piercing, throbbing, or shock-like pain in the upper neck, back of the head, or behind the ears.
Three occipital nerves run through each side of the scalp and carry feeling to the brain. They are the greater occipital nerve, the lesser occipital nerve, and the third occipital nerve. The greater occipital nerve is the largest of the three, and it is the one most often involved. Irritation of any of these nerves can cause symptoms of occipital neuralgia.
The condition is rare, and exact numbers are limited. A 2021 study of 800 people in a hospital-based headache clinic found that about 25 percent of the patients there had occipital neuralgia, according to Harvard Health Publishing in an article published on March 25, 2024. That figure comes from a specialist clinic, not the general public, so it shows how common the condition is among people who seek help for headaches, not how common it is overall.
The condition can affect anyone, at any age. It may be primary, with no clear underlying disease, or secondary, linked to another health problem. Many cases are linked to chronic neck tension or have no clear cause at all. The pain can last seconds or minutes in a single burst, or it can settle into a longer ache that lasts for hours.
What Are the Symptoms of Occipital Neuralgia?
The symptoms affect the head and neck, and they often come on suddenly and without warning. The pain usually starts at the back of the head and spreads to one or both sides of the head. It can be felt in the scalp, the upper neck, and behind the eyes and ears.
The pain may feel like:
- Aching that does not go away
- Burning along the scalp or neck
- Throbbing or pulsing pain
- Sudden, sharp, or piercing pain
- An electric shock that shoots across the head
Attacks often last from seconds to minutes, and they can repeat through the day. Between attacks, some people feel a dull, constant ache at the base of the skull. The scalp may become extremely sensitive and tender, so that even combing the hair or lying on a pillow can cause severe pain. For some people, the feeling is numbness rather than pain.
Certain movements can trigger the pain. Turning the head, pressing on the scalp, or touching the back of the head may set off an attack. The pain often affects one side of the head, but it can affect both sides. Pain behind the eye on the affected side is also common.
The symptoms overlap with migraine symptoms, and some people have both conditions at once. The key difference is that migraine often brings nausea and sensitivity to light, while occipital neuralgia often brings scalp tenderness and pain that starts at the back of the head. A comparison table later in this guide shows the differences in detail.
What Causes Occipital Neuralgia?
The most common cause is a pinched nerve or tight muscles in the neck. When neck muscles stay tight for a long time, they can press on the occipital nerves. A head or neck injury can also damage these nerves, and the pain may start right after the injury or weeks later.
The table below groups the main causes, how each one affects the nerves, and who it affects most.
| Cause | How it affects the occipital nerves | Who it affects most |
|---|---|---|
| Pinched nerve or muscle tightness | Tight neck muscles press on the nerve | Desk workers, people with poor posture |
| Head or neck injury | Trauma damages or irritates the nerve | People after whiplash or a fall |
| Osteoarthritis of the upper spine | Worn joints in the neck pinch the nerve roots | Older adults |
| Cervical disc disease | A damaged disc presses on nerve roots | Adults with neck degeneration |
| Tumors affecting the C2 and C3 nerve roots | A growth presses on the nerve roots | Rare, any age |
| Gout | Uric acid crystals cause inflammation | People with gout |
| Diabetes | High blood sugar damages nerves over time | People with diabetes |
| Blood vessel inflammation | Inflamed vessels irritate nearby nerves | People with vasculitis |
| Infection | Infection inflames the nerve or nearby tissue | Rare, after some infections |
It can be primary or secondary. A primary case has no clear underlying disease behind it. A secondary case is linked to an underlying condition, such as arthritis, diabetes, or a spine problem. The American Association of Neurological Surgeons notes that many cases can be traced to chronic neck tension or have unknown origins, even after testing.
Poor posture is a common everyday factor. Long hours at a desk, looking down at a phone, or sleeping with the neck in an awkward position can keep the neck muscles tight. Over time, that tension can irritate the nerves. Stress can add to the problem, because it often makes people hold tension in the neck and shoulders without noticing.
Occipital Neuralgia vs Migraine
This nerve pain is often confused with migraine, and the two conditions can occur together. The table below compares them, so you can see how they differ and where they overlap.
| Feature | Occipital neuralgia | Migraine |
|---|---|---|
| Where the pain starts | Back of the head, base of the skull | Often one side of the head, around the temple or eye |
| What the pain feels like | Piercing, shock-like, burning, throbbing | Throbbing or pulsing, often moderate to severe |
| How long attacks last | Seconds to minutes, often repeating | 4 to 72 hours if untreated |
| Nausea | Uncommon | Common |
| Sensitivity to light and sound | Uncommon | Common |
| Scalp tenderness | Common, even light touch can hurt | Less common |
| Pain triggers | Turning the head, pressing the scalp | Stress, sleep changes, some foods, hormones |
| Aura, visual changes | Uncommon | Common in migraine with aura |
| Main cause | Irritated or damaged occipital nerve | Brain and blood vessel activity, genetics |
A simple rule helps. If the pain starts at the back of the head, feels like an electric shock, and the scalp is tender to touch, occipital neuralgia is more likely. If the pain comes with nausea, light sensitivity, and visual changes, migraine is more likely. Only a clinician can confirm the diagnosis, and the distinction matters, because the treatments are different.
How Is Occipital Neuralgia Diagnosed?
Diagnosis starts with a physical and neurological exam. The clinician will ask about the pain: where it starts, what it feels like, how long it lasts, and what triggers it. They will also press gently on the back of the head and neck to find tender spots, called trigger points, where the nerve is irritated.
It can be hard to diagnose, because its symptoms look like migraine and other headache disorders. Imaging tests can help rule out other causes. A clinician may order a magnetic resonance imaging (MRI) scan or a computed tomography (CT) scan of the neck and head. To learn what a CT scan involves, see our guide to CT scan preparation and risks.
A diagnostic nerve block is often the key test. A specialist injects a local painkiller, sometimes with a steroid, into the area around one of the occipital nerves. If the pain eases quickly after the injection, that supports a diagnosis of occipital neuralgia. The same injection can also be used as a treatment.
Some clinicians use a handheld ultrasound device to look for trigger points, the exact spots where the nerve is being irritated. Finding these points helps guide treatment. A clinician may also order an electroencephalogram (EEG) or other tests if the symptoms are unclear. Our guide explains the EEG test, its procedure, uses, and results.
Keep a short pain diary before your visit. Note the date, the time, where the pain started, what it felt like, how long it lasted, and what you were doing. A diary gives the clinician a clear picture and makes the diagnosis faster.
How Is Occipital Neuralgia Treated?
Treatment aims to ease the pain and to fix the cause behind it. Most people start with nonsurgical treatments, and surgery is only considered when those do not help. The American Association of Neurological Surgeons notes that treatment aims to relieve pain, not to cure the condition outright, and that options can be surgical or non-surgical.
Nonsurgical treatments
| Treatment | What it involves | How it helps |
|---|---|---|
| Heat therapy | A heating pad on the neck or scalp | Relaxes tight muscles and eases pain |
| Physical therapy | Guided neck stretches and strength work | Loosens tight muscles and improves posture |
| Massage therapy | Gentle massage of the neck and scalp | Relaxes muscles that press on the nerve |
| Regular exercise | Stretching, yoga, walking | Keeps neck muscles flexible and strong |
| Oral medicines | NSAIDs, muscle relaxants, anticonvulsants | Reduce pain, muscle spasm, and nerve overactivity |
| Nerve blocks | Injection of numbing medicine and steroid near the nerve | Calms the nerve and confirms the diagnosis |
| Botulinum toxin injections | Botox injected near the nerve | Reduces inflammation of the nerve |
Medicines are usually tried first. Nonsteroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen or aspirin, can ease mild pain. Muscle relaxants help when tight muscles are pressing on the nerve. Anticonvulsant medicines, drugs that calm overactive nerves, are sometimes used for nerve pain. A clinician chooses the medicine based on the cause and on your other health conditions. Do not take any medicine, including over-the-counter painkillers, for longer than the label advises without talking to a clinician.
Nerve blocks can both diagnose and treat the condition. A specialist injects a local anaesthetic, often with a steroid, around the occipital nerve. Relief may last weeks or months, and the injection can be repeated. Botulinum toxin (Botox) injections can also reduce inflammation of the nerve, and they are used when other injections do not give lasting relief.

Surgical treatments
Surgery is usually the last resort, and it is only considered when nonsurgical treatments have not helped. The main surgical options are:
- Occipital nerve stimulation. Electrodes are placed under the skin near the occipital nerve. They send small electrical currents that block pain signals from reaching the brain.
- Spinal cord stimulation. Electrodes are placed between the spinal cord and the vertebrae. They block pain messages from travelling to the brain.
- Ganglionectomy. This surgery removes certain nerve cells near the top of the spine, called the C2 and C3 ganglion, to stop the pain signals.
- Occipital release surgery. This procedure relieves pressure on the greater occipital nerve, the most common trigger point for occipital neuralgia. It is often considered a last resort when other treatments have failed.
- Pulsed radiofrequency ablation. Radiofrequency energy is applied around the nerve to reduce pain signals. It may be considered after a nerve block confirms the diagnosis, and it can give longer-lasting relief.
A surgeon will explain the benefits and risks of each option, and surgery is only offered when the diagnosis is certain and other treatments have been tried. Some people with occipital neuralgia also choose to join a clinical trial, which can be found through ClinicalTrials.gov, a database run by the National Library of Medicine.
What Can You Do at Home for Occipital Neuralgia?
Home steps cannot cure this condition, but they can ease the pain and reduce how often attacks happen. Use this checklist every day, and keep the habits that help most.
- Apply heat to the neck or scalp with a heating pad or a warm towel, for 15 to 20 minutes at a time. Do not put heat or ice directly on bare skin.
- Try a cold compress on the back of the head if heat does not help. Some people find cold works better for sharp pain.
- Stretch the neck gently every day. Slow side bends, chin tucks, and shoulder rolls keep the muscles loose. Stop if a stretch causes sharp pain.
- Check your posture at your desk. Keep the screen at eye level, sit with your back supported, and take a short break every 30 to 45 minutes.
- Sleep with a pillow that supports the neck in a neutral position. Avoid sleeping on your stomach, which twists the neck. Our guide on how to fix your sleep schedule can help you build a steadier sleep routine.
- Avoid pressing on the tender spots at the back of your head. Wear a loose hat, and avoid tight headbands or headphones that press on the scalp.
- Keep a pain diary. Write down each attack, what triggered it, and what helped. Patterns often show up after two or three weeks.
- Manage stress with slow breathing, a short walk, or gentle yoga. Stress often tightens the neck and shoulders without you noticing.
- Take a dated note of any change in symptoms, so you can report it clearly at your next visit.

Can Occipital Neuralgia Be Prevented?
It cannot always be prevented, especially when it follows an injury or a spine condition. But the everyday steps that keep neck muscles loose can lower the risk of attacks.
Good posture is the biggest factor. Keep screens at eye level, avoid looking down at a phone for long periods, and sit with your shoulders relaxed. Strengthen the neck and upper back with gentle exercise, and stretch the neck daily. A pillow that supports the neck helps, and so does a regular sleep schedule.
Treat the conditions that can cause it. Managing diabetes, gout, and arthritis, and getting prompt care for a neck injury, can reduce the chance of nerve irritation. If you have had a head or neck injury, follow your clinician’s advice on rest and rehabilitation, even after the pain fades.
When Should You Seek Urgent Care?
Most cases are painful but not dangerous. Still, some symptoms need urgent care. Seek help right away if you have a sudden, severe headache unlike any you have had before, a headache after a head injury, weakness or numbness in the arms or legs, trouble speaking, vision changes, or a stiff neck with fever.
See a clinician soon if the pain does not improve with home care, if attacks become more frequent, or if the pain starts to affect your sleep, work, or daily life. Early care can prevent the pain from becoming a long-term problem.
Frequently Asked Questions
Is occipital neuralgia the same as migraine?
No, they are different conditions, although they can occur together. Migraine often brings nausea, sensitivity to light and sound, and visual changes called aura. Occipital neuralgia often brings sharp, shock-like pain at the back of the head and a tender scalp. The treatments are different, so an accurate diagnosis matters.
How long does occipital neuralgia last?
It varies. A single attack often lasts from seconds to minutes, but attacks can repeat through the day. Some people have pain for hours, and others have a chronic pattern that lasts weeks or months. The outlook depends on the cause and on how well treatment works.
Can occipital neuralgia go away on its own?
Sometimes, yes. If the cause is muscle tension or a minor injury, the pain may ease as the muscles relax and the tissue heals. If the cause is a spine problem, diabetes, or another condition, the pain is more likely to keep coming back until that cause is treated.
What is the best treatment for occipital neuralgia?
There is no single best treatment for everyone. Most people start with heat, physical therapy, and medicines such as NSAIDs or muscle relaxants. Nerve blocks and Botox injections are used when those do not give enough relief. Surgery is only considered when nonsurgical treatments have failed.
Can I treat occipital neuralgia at home?
Home steps can help. Heat, gentle stretching, good posture, a supportive pillow, and stress management may ease the pain. Over-the-counter painkillers may help for a short time. If the pain does not improve, or if it keeps coming back, see a clinician for a proper diagnosis and treatment plan.
Is occipital neuralgia dangerous?
It is usually not dangerous, but it can be very painful and can affect daily life. The pain itself does not damage the brain. Still, a new or sudden severe headache should always be checked, because other conditions can cause similar pain.
Conclusion
Occipital neuralgia is sharp, piercing pain at the back of the head and neck, caused by irritation or damage to the occipital nerves. It is often confused with migraine, but it starts at the base of the skull, brings a tender scalp, and rarely causes nausea or light sensitivity. Heat, physical therapy, medicines, nerve blocks, and Botox help most people, and surgery is only a last resort. If sharp pain at the back of your head keeps coming back, keep a pain diary and talk to a clinician. A clear diagnosis is the first step to lasting relief.
This article shares general health information only and is not medical advice. If you have ongoing symptoms or health concerns, talk to a healthcare professional.
