Overview
Trigeminal neuralgia causes brief, severe electric shocks in the cheek, jaw, or teeth, triggered by touching the face, chewing, or brushing teeth. Occipital neuralgia causes shooting pain from the base of the skull up the back of the head.
Primary stabbing headaches (ice-pick) are short jabs lasting seconds, often in people with migraines. Shingles can cause burning or stabbing pain before a rash appears.
When to get medical care
Causes
Causes include trigeminal neuralgia, occipital neuralgia, primary stabbing headache, shingles, and, rarely, multiple sclerosis or a tumor pressing on a nerve.
OwieClear has pages on 2 conditions that can cause sharp, shooting, or electric head pain. Each shows how soon to get care.
Common causes
- Ice pick headache (primary stabbing headache)Often treated at home
Very brief, sharp, stabbing head pains lasting a few seconds, in one spot or moving around.
- Occipital neuralgiaSee a doctor if it doesn't get better
Irritation of the nerves at the base of the skull.
What you can do at home
- Notice triggers like cold wind or chewing.
- Use warm compresses on the neck for occipital pain.
Medicines
Nerve pain medicines like carbamazepine help trigeminal neuralgia. Nerve blocks may help occipital neuralgia. Shingles needs antivirals early.
At the doctor
The provider will check your nerves.
Questions you may be asked
- Where the pain is and what triggers it
- How long each jab lasts
- Rash
- Numbness
The exam
A nerve exam.
Tests
- MRI if needed
Prevention
Some steps help.
- Get the shingles vaccine
- Avoid known triggers
Check your symptoms
Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.
Sources
Last updated 2026-11-13.