What Causes an Electric Shock Feeling in the Neck?

An electric shock feeling in the neck is most often caused by a nerve being irritated, compressed, or stripped of its protective insulation. The sensation can shoot down the spine, radiate into the arms, or flash across the back of the head, depending on which nerve structure is involved. Several distinct conditions produce this symptom, ranging from a herniated disc pressing on a spinal nerve root to demyelinating diseases like multiple sclerosis, and the cause matters because the treatments are very different.

Lhermitte’s Sign and Demyelination

One of the most recognizable versions of this sensation has a name: Lhermitte’s sign. It feels like an electric shock running down the spine when you bend your neck forward. The sensation is triggered specifically by neck flexion and is caused by demyelination and hyperexcitability in the dorsal columns of the spinal cord, which are the nerve pathways that carry sensory information up to the brain.1PubMed Central. Lhermitte’s Sign: The Current Status When the myelin sheath that insulates those nerve fibers is damaged, bending the neck mechanically stretches the exposed fibers just enough to generate abnormal electrical signals, and the brain interprets those signals as a jolt.

Lhermitte’s sign is strongly associated with multiple sclerosis. In one study, about 88% of MS patients who reported the sign had a visible demyelinating lesion on cervical MRI, and nerve conduction testing showed delayed signals in over 90% of them.2PubMed. Reassessment of Lhermitte’s sign in multiple sclerosis But MS is not the only cause. The same sign has been documented in people with tumors pressing on the cervical spinal cord, radiation-induced spinal cord injury, inflammation of the membranes surrounding the cord, and even vitamin B12 deficiency.3JAMA. Lhermitte’s Sign in Cobalamin Vitamin B12 Deficiency What unites all these causes is that something is disrupting the normal insulation or structural integrity of the spinal cord itself. If you consistently feel a shock when you tilt your chin toward your chest, that pattern is worth mentioning to a doctor.

Cervical Radiculopathy and Pinched Nerves

A far more common reason for electric shock feelings in the neck is cervical radiculopathy, which is what happens when a nerve root exiting the spinal column in the neck gets compressed or inflamed. This is the “pinched nerve” most people think of, and it can send sharp, shooting, electric-type pain down the shoulder, arm, and sometimes into the hand. The shock-like quality of the pain is distinctive: in clinical studies comparing different types of neck and arm pain, patients with radiculopathy were significantly more likely to describe their pain using words like “electric shock,” “tingling,” and “pins and needles” compared to those with other types of neck pain.4Pain. Somatosensory and clinical profiles of patients with spine-related and clinical framework-based neck-arm pain

The compression itself usually comes from age-related changes in the spine: discs that have dried out and bulged, bone spurs that have grown into the space where nerves exit, or thickened ligaments narrowing the nerve channel.5Essentials of Physical Medicine and Rehabilitation. Cervical Radiculopathy These are degenerative changes, meaning they develop gradually over years. However, an acute disc herniation from an injury or sudden awkward movement can produce the same result much faster. Either way, the nerve root is physically squeezed, which fires off abnormal pain signals that the brain reads as a sharp electrical sensation traveling along the nerve’s path.

A key difference from Lhermitte’s sign is where the shock goes. With radiculopathy, the sensation follows a specific nerve root’s territory. A compressed nerve at the C6 level, for instance, might send a shock into the thumb and index finger. Lhermitte’s sign, by contrast, tends to shoot straight down the spine or into both legs symmetrically. That distinction alone can help narrow the cause.

Occipital Neuralgia

When the electric sensation strikes the back of the head rather than the arms or spine, occipital neuralgia is a likely suspect. This condition involves the occipital nerves, which run from the upper cervical spine up through the scalp. When one of these nerves is irritated or trapped, it produces sudden, sharp, lancinating pain that can feel like a brief electric jolt from the base of the skull up through the back or side of the head.6PubMed. Occipital neuralgia

The episodes tend to come in bursts, sometimes triggered by turning the head, pressing on the back of the neck, or even just brushing the hair. Between attacks, there may be a dull ache or tenderness at the base of the skull. Occipital neuralgia is considered uncommon as a standalone diagnosis, but it can develop after whiplash, from tight muscles compressing the nerve, or alongside degenerative changes in the upper cervical vertebrae. It is sometimes confused with migraines or tension headaches, so the electric quality of the pain is an important clue for distinguishing it.

Brain Zaps from Stopping Antidepressants

People who have recently stopped or reduced an antidepressant sometimes describe sudden electric shock sensations in the head or neck, often called “brain zaps.” These are a recognized feature of antidepressant discontinuation syndrome, and they feel like a brief jolt or buzzing that can radiate through the head, neck, and sometimes the limbs. They are most commonly triggered by abrupt discontinuation, though gradually tapering the dose only partially reduces them.7PubMed. Brain Zaps: An Underappreciated Symptom of Antidepressant Discontinuation

One unusual feature is that brain zaps are frequently triggered by lateral eye movements, meaning looking quickly to the side can set one off. This suggests the phenomenon involves the brainstem pathways connecting eye movement to sensory processing, though the exact mechanism is still not fully understood. SSRIs and SNRIs are the most common drug classes involved, likely because they affect serotonin signaling in the central nervous system, and the sudden withdrawal of that signaling throws certain circuits into a temporarily hyperexcitable state. If you are experiencing these sensations and recently changed your medication, that connection is worth raising with your prescriber. In most people, brain zaps resolve within a few weeks to months after the medication change, though for some they persist longer.

Vitamin B12 Deficiency

A less obvious but important cause is vitamin B12 deficiency. B12 is essential for maintaining the myelin that insulates nerves, so when levels drop low enough, the same kind of demyelination that occurs in MS can develop in the spinal cord. This is called subacute combined degeneration, and it can produce Lhermitte’s sign, the same forward-flexion shock described earlier.3JAMA. Lhermitte’s Sign in Cobalamin Vitamin B12 Deficiency Alongside the shock sensation, people with B12 deficiency often develop numbness and tingling in the hands and feet, difficulty with balance, and cognitive changes like memory trouble.

The reason this matters is that B12 deficiency is treatable. It’s more common in older adults, people who follow strict vegan diets without supplementation, those taking long-term acid-suppressing medications, and people with conditions affecting absorption in the gut. If the electric shock feeling in the neck comes with any of those other symptoms, a simple blood test can check B12 levels and potentially identify a very fixable cause.

How Forward Head Posture Plays a Role

You might not associate posture with electric shock sensations, but spending long hours with your head pushed forward, as most people do while staring at screens, can set the stage for nerve irritation in the neck. A computational biomechanics study found that forward head posture alters the curvature of the cervical spine, narrowing the spaces where nerves exit the vertebrae and increasing stress on the bone, particularly between the upper cervical vertebrae.8PubMed. A computational study of forward head posture biomechanics Over time, those narrowed spaces can compress nerve roots or the occipital nerves, producing the same shock-like symptoms as degenerative radiculopathy.

Research comparing cervical nerve root function in people with forward head posture versus neutral posture found significant differences in how the nerves performed across sitting positions. People with forward head posture showed altered nerve root signals while sitting upright compared to those with neutral alignment, and the differences were measurable across all postures tested.9PubMed Central. Alterations in Cervical Nerve Root Function during Different Sitting Positions in Adults with and without Forward Head Posture: A Cross-Sectional Study This does not mean bad posture will inevitably give you electric shocks, but it does mean that sustained poor posture increases the mechanical load on cervical nerves and could contribute to developing symptoms over time, especially if degenerative changes are already forming.

How Doctors Identify the Cause

When you describe an electric shock feeling in your neck, a clinician will usually start with the physical exam. One classic test is the Spurling maneuver, where the examiner turns your head to one side and gently presses down on the top of your head, compressing the nerve exit holes in the spine. If this reproduces your shooting pain, it strongly suggests cervical radiculopathy. The test is not great at catching every case: its sensitivity is moderate at best, meaning it misses a fair number of people who actually do have a pinched nerve. But when it is positive, it is very reliable, with a specificity around 92-93%, meaning a false alarm is rare.10PubMed. Diagnostic Performance of Spurling’s Test for the Assessment Subacute and Chronic Cervical Radiculopathy: A Systematic Review and Meta-analysis11PubMed. The Spurling test and cervical radiculopathy In practical terms, if the Spurling test triggers your symptoms, a pinched nerve is very likely. If it does not, other causes remain on the table.

MRI is typically the next step for confirming a structural cause. It can visualize herniated discs, bone spurs, spinal cord lesions, and the demyelinating plaques that characterize MS. Electromyography and nerve conduction studies play a supporting role, mainly to rule out other nerve conditions that might mimic radiculopathy.12PubMed. Degenerative cervical radiculopathy: diagnosis and conservative treatment. A review If the electric sensation follows the Lhermitte pattern, specifically triggered by forward neck bending and running down the spine, doctors will focus on the spinal cord itself and may order additional blood work including B12 levels and tests for inflammatory markers.

When to Worry About Red Flags

Most electric shock sensations in the neck are caused by conditions that are painful but not dangerous. However, certain accompanying symptoms should prompt urgent evaluation. Clinical practice guidelines identify a long list of warning signs associated with serious underlying conditions like fractures, tumors, infections, spinal cord compression, and artery dissection.13PubMed Central. Red flags for potential serious pathologies in people with neck pain: a systematic review of clinical practice guidelines The practical ones to watch for include:

  • Progressive weakness: If your grip is getting weaker, you are dropping things, or your legs feel heavy or uncoordinated, the spinal cord itself may be compressed.
  • Bladder or bowel changes: New difficulty urinating or loss of control suggests myelopathy, a serious condition requiring urgent attention.
  • Fever with neck pain: This combination raises concern for spinal infection.
  • Severe headache or dizziness: Especially after neck trauma or manipulation, these can signal artery dissection.
  • Unintended weight loss: Alongside new neck symptoms, this can point to a tumor.

It is worth noting that the evidence base behind many of these red flags is weaker than you might expect. A systematic review found that most guidelines on serious neck pathologies rely heavily on expert reasoning rather than strong clinical evidence, and there is remarkably little agreement between different guidelines on which warning signs to prioritize.13PubMed Central. Red flags for potential serious pathologies in people with neck pain: a systematic review of clinical practice guidelines That does not mean the red flags are not worth heeding. It means the medical community acknowledges there is still room to improve how we screen for serious causes of neck symptoms. If you have any of the warning signs listed above alongside your electric shock sensation, seek care promptly rather than waiting it out.

Treatment Approaches

Treatment depends entirely on the underlying cause, which is why diagnosis matters so much. For cervical radiculopathy, initial management is almost always conservative: physical therapy, activity modification, anti-inflammatory medications, and time. Many pinched nerves improve on their own as inflammation subsides. Neural mobilization techniques, where a physical therapist gently moves the affected nerve through its range to reduce sensitivity, have shown promising results. In one randomized trial, neural mobilization reduced pain and disability significantly more than conventional physical therapy alone.14PubMed Central. Comparison of neural mobilization and conservative treatment on pain, range of motion, and disability in cervical radiculopathy: A randomized controlled trial

For nerve-type pain that does not respond to standard painkillers, medications that target nerve signaling directly can help. Pregabalin, originally developed for epilepsy, has been studied specifically for cervical radiculopathy with radiating arm pain. In an eight-week study, patients treated with pregabalin showed significantly greater pain reduction than those receiving usual care, with a higher proportion reaching meaningful pain relief thresholds.15PubMed Central. Effectiveness of pregabalin for treatment of chronic cervical radiculopathy with upper limb radiating pain Gabapentin works through a similar mechanism and is also commonly prescribed off-label for radicular neck pain.

When conservative treatment fails, epidural steroid injections can deliver anti-inflammatory medication directly to the compressed nerve root. These are done under imaging guidance to ensure accuracy, and they serve as both a diagnostic and therapeutic tool: if the injection relieves your symptoms, it confirms the pain source and buys time for the underlying problem to settle.16PubMed. Cervical interlaminar epidural steroid injection for neck pain and cervical radiculopathy: effect and prognostic factors The relief is often temporary, lasting weeks to months, but it can break a cycle of pain and muscle guarding that is preventing recovery.

Surgery is reserved for cases with persistent severe symptoms or progressive neurological deficits despite months of conservative care. The most common procedure is anterior cervical discectomy and fusion, where the damaged disc is removed from the front of the neck and the two vertebrae are fused together. Long-term outcomes are generally favorable: a prospective ten-year study found significant improvement in pain and function at every follow-up point, with neurological deficits resolving in nearly all cases and self-reported success rates between 85% and 95%.17PubMed. Anterior Cervical Discectomy and Fusion Outcomes over 10 Years: A Prospective Study

For Lhermitte’s sign caused by MS, the treatment focus shifts to managing the underlying disease. Disease-modifying therapies that reduce MS activity can prevent new demyelinating lesions from forming, and medications like carbamazepine or gabapentin may help dampen the electric sensations directly. For B12 deficiency, supplementation with high-dose B12, either by injection or orally depending on the cause of deficiency, can halt and sometimes reverse the nerve damage if caught early enough.

Why the Same Symptom Feels Different to Different People

One frustrating thing about electric shock sensations in the neck is how variable they are. Some people feel a single sharp zap that lasts a fraction of a second. Others describe a sustained buzzing or vibrating feeling. Some get the sensation only with a specific neck movement; others experience it randomly throughout the day. This variability partly reflects which nerve structures are involved: a momentary shock triggered by forward bending (Lhermitte’s sign) has a different character from the lancinating jolts of occipital neuralgia, which is again different from the steady shooting pain of a compressed C7 nerve root.

But individual nerve sensitivity also plays a role. Two people with the same size disc herniation on MRI can have vastly different symptom experiences. One may feel nothing; the other may have constant electric shocks down the arm. This is partly because pain processing in the central nervous system amplifies or dampens signals depending on the person’s baseline sensitivity, stress level, sleep quality, and even mood. That does not mean the sensation is imaginary. It means the nervous system is a complex organ, and its output does not always scale neatly with the size of the structural problem on imaging. This is one of the reasons clinicians rely on the combination of symptoms, exam findings, and imaging rather than any single piece of information in isolation.