A sudden, sharp, electric-like pain that starts at the back of the head and travels toward the scalp can be alarming. Although headaches have many possible causes, this particular pain pattern may sometimes point to occipital neuralgia.
Occipital neuralgia develops when the occipital nerves become irritated or compressed. These nerves travel from the upper neck through the back of the scalp and help provide sensation to much of the head.
Quick Answer: What Is Occipital Neuralgia?
Occipital neuralgia is a nerve-related pain condition that affects one or more of the occipital nerves.
Because these nerves travel from the upper neck toward the scalp, irritation can cause pain that starts near the base of the skull and moves upward.
People often describe the pain as:
-
Sharp
-
Shooting
-
Stabbing
-
Burning
-
Electric-shock-like
-
Throbbing in some cases
Additionally, the scalp may become unusually sensitive or tender.
Where Does Occipital Neuralgia Hurt?
Pain usually starts near the upper neck or back of the head.
From there, it may travel:
-
Up the back of the scalp
-
Toward the top of the head
-
Behind one or both ears
-
Toward the forehead
-
Behind the eyes
Some people experience pain mainly on one side. However, symptoms can sometimes affect both sides of the head.
What Causes Occipital Neuralgia?
Occipital neuralgia occurs when an occipital nerve becomes irritated, inflamed, or compressed.
Several factors may contribute.
Tight Neck Muscles
Muscle tension around the upper neck can place pressure on nearby nerves. Therefore, prolonged poor posture or repetitive neck strain may contribute to symptoms in some people.
Neck Injury
A previous injury, including whiplash, may irritate structures around the occipital nerves.
Cervical Spine Problems
Arthritis or other changes in the upper cervical spine can sometimes affect surrounding nerves.
Prolonged Poor Posture
Spending long periods looking downward at a phone, laptop, or desk may increase tension in the upper neck.
Other Medical Conditions
Less commonly, inflammatory conditions, nerve disorders, or other structural problems may contribute to occipital nerve irritation.
In some cases, however, doctors cannot identify one specific cause.
What Does an Occipital Neuralgia Attack Feel Like?
Symptoms can appear suddenly.
For example, a person may experience a brief electric-shock sensation beginning at the base of the skull and shooting upward.
Other possible symptoms include:
-
Tenderness at the back of the head
-
Burning or aching between sharp episodes
-
Scalp sensitivity
-
Pain while brushing or washing the hair
-
Pain when resting the head on a pillow
-
Neck discomfort
-
Pain triggered by turning the head
Episodes may last only seconds or minutes. However, an aching or sensitive feeling may continue between attacks.
Is Occipital Neuralgia the Same as a Migraine?
No. However, the two conditions can sometimes produce similar symptoms.
Occipital Neuralgia
Pain often:
-
Begins near the back of the head
-
Feels sharp, shooting, or electric
-
Follows the path of the occipital nerves
-
Causes tenderness near the base of the skull
Migraine
Migraine may cause:
-
Throbbing or pulsating pain
-
Nausea
-
Sensitivity to light
-
Sensitivity to sound
-
Visual symptoms
Because symptoms can overlap, diagnosing the cause based on pain alone can be difficult. Therefore, people with recurring or unusual headaches may benefit from neurological evaluation.
Can Neck Problems Cause Pain at the Back of the Head?
Yes.
The upper cervical spine, muscles, joints, and nerves all sit close together. As a result, irritation in the neck can sometimes produce pain that travels into the scalp.
However, not every headache that begins in the neck represents occipital neuralgia. Cervicogenic headaches, migraine, muscle tension, and other conditions may cause similar discomfort.
A proper evaluation can help distinguish between them.
What Can Trigger Occipital Neuralgia Pain?
Triggers vary from person to person.
Symptoms may worsen with:
-
Turning the head
-
Looking downward for long periods
-
Neck strain
-
Pressure against the back of the head
-
Tight neck muscles
-
Certain sleeping positions
Therefore, identifying positions or activities that consistently trigger symptoms can provide useful information during an evaluation.
How Is Occipital Neuralgia Diagnosed?
There is no single test that diagnoses every case of occipital neuralgia.
Instead, a healthcare professional usually begins by reviewing:
-
Where the pain starts
-
Where it travels
-
How the pain feels
-
How long episodes last
-
What triggers symptoms
-
Whether neck pain is present
Additionally, a neurological examination may evaluate sensation, reflexes, strength, neck movement, and tenderness around the occipital nerves.
Are Imaging Tests Needed?
Not everyone needs imaging.
However, if symptoms suggest another underlying problem, a healthcare professional may recommend an MRI, CT scan, or other testing.
Imaging may help evaluate the neck, brain, or surrounding structures when necessary.
How Is Occipital Neuralgia Treated?
Treatment depends on the severity of symptoms and the suspected cause.
Conservative Treatment
For mild symptoms, treatment may initially focus on reducing irritation around the nerve.
Options may include:
-
Heat therapy
-
Gentle stretching
-
Posture improvement
-
Physical therapy
-
Reducing activities that strain the neck
Medications
Depending on the patient’s symptoms, a healthcare professional may recommend medications that target inflammation, muscle tension, or nerve-related pain.
Occipital Nerve Block
In some patients, an occipital nerve block may help both diagnose and temporarily relieve symptoms.
During this procedure, medication is placed near the irritated nerve.
Frequently Asked Questions
Mild symptoms may improve when pressure on the nerve is reduced. Persistent or worsening symptoms should be evaluated.
Bending the elbow can increase pressure or stretch on the ulnar nerve as it passes through the cubital tunnel.
Yes. More significant compression can interfere with muscles responsible for grip and finger coordination.
Not always. Many patients begin with conservative treatment such as activity modification, splinting, and therapy. Surgery is generally considered when symptoms are severe or continue despite treatment.
EMG and nerve conduction studies can help identify where the nerve is affected and evaluate the severity of nerve dysfunction.

