Last updated: 2026-08-11
How Is This Different From a Long-Lasting Neck Headache?
If pain in the back of your head lasts for hours, it helps to think back to how it started. Occipital neuralgia (pain caused by irritation of the occipital nerves, which run from the upper neck to the scalp) causes repeated, sudden, short electric-like jolts. Cervicogenic headache (headache originating from the neck bones and surrounding tissue), by contrast, usually starts as a dull, heavy ache in the neck that then spreads to one side of the head.
Cervicogenic headache can last anywhere from several hours to several days. It tends to worsen when you turn your head or move it up and down, and neck movement itself becomes more limited. Sitting in the same position for a long time can make the back of the head feel progressively heavier. Even when the painful area overlaps with occipital neuralgia, the duration of pain and how it changes with neck movement differ (Lefel Nicole et al., 2025).
If your head throbs in time with your pulse and you find it hard to tolerate light or sound, migraine should also be considered. Migraine attacks typically last from 4 to 72 hours, often accompanied by nausea or vomiting, and pain that worsens with movement. In occipital neuralgia, the short, sharp electric-like pain and pain from scalp contact tend to stand out first.
Symptoms can also overlap. A dull ache from neck movement can be layered with sharp, electric-like jolts, or a patient with migraine may also have tenderness in the back of the head. Interpreting the medical history and physical exam separately, rather than together, can lead to a wrong diagnosis (Barmherzig Rebecca et al., 2019).
You don't need to keep a lengthy pain diary. Simply note, for each episode, whether it lasted seconds or hours, how many times it occurred per day, whether light or sound bothered you, and whether turning your neck made it worse — recorded by date. This record helps determine whether to examine the occipital nerve, the neck joints, or evaluate for migraine first.
Does the Pain Shoot Like an Electric Jolt Through the Back of Your Head?
Occipital neuralgia causes a sudden, stabbing or electric shock-like pain starting at a specific point below the back of the head. The pain shoots toward the crown or behind the ear and typically passes within seconds to minutes, though it can recur many times a day. Between attacks, the back of the neck may feel stiff or the scalp may feel like it's burning (Pan Wenyu et al., 2021).
The path the pain travels also tends to be consistent. An electric-like jolt may start at the back of the neck and shoot up one side of the back of the head to the crown, or curve behind the ear toward the temple. This narrow, linear spread along a nerve pathway is a clue that helps distinguish it from headaches that involve a broader, throbbing area.
Some patients experience allodynia (pain triggered by light touch that wouldn't normally hurt), such as pain when brushing or washing their hair. If a pillow, hat, or even eyeglass temples that never bothered you before now cause a stinging sensation, your doctor will check where the pain starts, the path it travels, and scalp sensation (Swanson Daniel et al., 2022).
How Is the Compressed Nerve Site Located?
The occipital nerve travels through deep muscles in the back of the neck before reaching the scalp. During the exam, your doctor will first press with a fingertip at the point below the base of the skull where the nerve emerges through the muscle. If this reproduces the familiar electric-like pain along the same path toward the crown or behind the ear, it points toward the occipital nerve as the source (Barmherzig Rebecca et al., 2019).
The exam isn't limited to pressing firmly on the painful spot. Your doctor will compare sensation on the right and left sides, and check for areas that feel unusually stinging or numb with light touch. They will also compare how the pain changes when you turn or bend your neck. If turning or bending produces only a pressure-like sensation that's completely different from your usual pain, other causes need to be explored further.
Even if the pain pathway and tender points match the occipital nerve, your doctor will separately check whether another type of headache is present at the same time. If needed, a greater occipital nerve block can help test whether that specific nerve is generating the pain. This nerve block procedure is performed directly by a physician board-certified in anesthesiology and pain medicine, who uses ultrasound imaging to visualize blood vessels, surrounding tissue, and the needle path while injecting a local anesthetic around the occipital nerve. Ultrasound-guided injections may be covered by national health insurance, though some medications used may fall under partially uncovered items. Before the injection, pain is scored on a scale of 0 to 10. Afterward, the same point is pressed again, and the neck movements that previously triggered pain are repeated to measure how much the pain has decreased.
If the usual electric-like pain and tenderness clearly decrease after the block, it suggests that nerve is likely generating the pain. Your doctor will record how much improvement occurred while the local anesthetic was active, and decide on further treatment based on when the pain returns (Chowdhury Debashish et al., 2021).
MRI and CT scans alone don't confirm occipital neuralgia. These imaging studies are used when there's a suspected problem with the neck bones, when pain started after an injury, or when other conditions need to be ruled out. If the exam findings and the nerve block response line up well, occipital neuralgia isn't ruled out even if imaging shows no clear abnormality.
What Should Be Checked After a Nerve Block to Decide on Next Steps?
In early or milder cases where pain changes with neck posture, treatment usually starts with medication to manage pain along with adjustments to screen height and sleep posture. Anti-inflammatory pain relievers or medications for neuropathic pain (nerve-related pain) are chosen based on current symptoms and any medications already being taken (Swanson Daniel et al., 2022).
If short electric-like jolts recur multiple times a day, or if contact from hair or a pillow becomes hard to tolerate, a nerve block may be considered. Before and after the injection, pain intensity is recorded separately at rest, when pressing on the painful spot, and when turning the head. For example, your doctor may track whether a pre-injection score of 8 dropped to 3 immediately after but rose to 6 after four hours, along with whether the number of electric-like episodes decreased over the following two days (Chowdhury Debashish et al., 2021).
If the response to the block is clear and the improvement lasts for a meaningful period, treatment continues with medication and posture adjustments while monitoring whether the same pain returns. If relief is brief and the pain returns along the same pathway, the tender points, neck muscles, and joint movement are reassessed to decide whether to add treatment targeting cervical (neck-related) factors.
If the electric-like pain improves after the block but the neck remains stiff with limited rotation, factors in the neck that irritate the nerve are addressed as well. At Ansim Tuntun Pain Management Clinic, manual therapy involves direct participation from a physician board-certified in anesthesiology and pain medicine. Neck and shoulder alignment is checked using X-ray and body posture analysis, and any needed spinal adjustment or rehabilitation therapy is planned accordingly.
Joints with limited mobility may be treated with joint mobilization and manual adjustment to restore movement. Myofascial release therapy uses trigger points to gently loosen stiff tissue and reduce pain. Muscle energy technique uses the patient's own gentle muscle contraction against controlled resistance to help restore the length and movement of tight muscles.
If compression between the cervical vertebrae is observed, traction therapy may be added to widen the joint space and relax the ligaments. Treatment intensity and frequency are adjusted to avoid worsening the electric-like pain.
Outside the clinic, poor posture can bring the pain back. If you've spent long periods looking down at a phone or laptop with your chin jutting forward, start by raising the screen closer to eye level. Avoid holding one position for too long, and change posture regularly within a range that doesn't worsen symptoms. Adjust your pillow height so it doesn't press firmly on the back of the head while also avoiding excessive neck bending.
When These Signs Appear Together, Rule Out Other Causes First
If pain in the back of the head comes with fever and severe neck stiffness, infection should be checked first. If sudden weakness develops in one arm or leg, the face droops, or speech becomes slurred, an emergency neurological evaluation takes priority over an occipital nerve exam (Lefel Nicole et al., 2025).
A headache that first appears after age 50 shouldn't be dismissed as ordinary muscle pain. If the pattern is different from anything experienced before, worsens over time, or comes with weight loss, vision changes, or jaw pain while chewing, further testing is needed to look for a secondary cause of headache.
If burning skin pain on one side of the back of the head is followed by a band-like blister rash, shingles (herpes zoster) should be considered. Pain can appear several days before the blisters show up. Watching for delayed skin changes helps ensure antiviral medication and pain treatment start promptly.
A "thunderclap headache" — sudden, explosive pain reaching maximum intensity within seconds to a minute, unlike anything experienced before — differs from the occipital neuralgia described in this article. This requires immediate emergency evaluation. Even if electric-like pain resembling occipital neuralgia is present, other serious causes must be ruled out first (Pan Wenyu et al., 2021).
Before visiting a clinic, it helps to note how long each episode lasts (seconds or hours), how many times it occurs per day, and where in the back of the head it starts. Also note whether it happens when turning your head, looking at a screen for a long time, or when something touches your pillow — this information makes it easier to determine what to examine and which treatment to start with.
This content is provided for medical information purposes only, and individual circumstances may vary. Please consult a physician for accurate diagnosis and treatment.
Related Medical Information
The medical definition, diagnostic criteria, and natural course of occipital neuralgia are summarized on the Linkare Knowledge: Occipital Neuralgia Medical Information page. If you're curious about neck-originating pain that radiates down the arm, you may also find Cervical Disc Herniation: From Causes to Diagnosis helpful.
References
- Pan Wenyu, Peng Joanna, Elmofty Dalia (2021). Occipital Neuralgia.. Curr Pain Headache Rep. PMID: 34287719
- Swanson Daniel, Guedry Ryan, Boudreaux Marc (2022). An Update on the Diagnosis, Treatment, and Management of Occipital Neuralgia.. J Craniofac Surg. PMID: 34753868
- Lefel Nicole, van Suijlekom Hans, Cohen Steven P C (2025). 11. Cervicogenic headache and occipital neuralgia.. Pain Pract. PMID: 39219023
- Barmherzig Rebecca, Kingston William (2019). Occipital Neuralgia and Cervicogenic Headache: Diagnosis and Management.. Curr Neurol Neurosci Rep. PMID: 30888540
- Chowdhury Debashish, Datta Debabrata, Mundra Anand (2021). Role of Greater Occipital Nerve Block in Headache Disorders: A Narrative Review.. Neurol India. PMID: 34003170
Frequently Asked Questions
Q. Which medical department diagnoses occipital neuralgia?
You can be evaluated by anesthesiology and pain medicine, neurology, or neurosurgery specialists. Based on the pattern of pain and neurological examination, imaging tests or a diagnostic nerve block may be performed if needed.
Q. How quickly does pain decrease after a greater occipital nerve block?
If the nerve responds to the local anesthetic, pain may decrease within minutes to tens of minutes after the injection. To assess how much and how long the pain decreased, pain scores and the frequency of electric-like episodes are recorded at different time points.
Q. Can occipital nerve blocks be repeated?
Whether to repeat the injection depends on how much the first block reduced pain, how long the relief lasted, which medication was used, and whether any side effects occurred. If pain returns quickly or the response is unclear, the same injection isn't simply repeated — the cause of pain and treatment plan are reassessed instead.
Q. Can occipital neuralgia and cervical disc-related pain occur together?
Problems with a cervical disc or surrounding joints and muscles can occur alongside occipital neuralgia. If arm numbness, muscle weakness, or pain that changes with neck movement is also present, further examination and testing are needed to check whether the pain is originating from the neck.
Q. Can occipital neuralgia return after treatment?
If the neck posture, muscle tension, or cervical spine issues that irritate the nerve remain unresolved, the pain can return. If it recurs, your doctor will check whether it's the same type of electric-like pain as before; if the pain pathway has changed or new neurological symptoms appear, other causes need to be investigated as well.
