Our Services
Medical Information
Helpful Resources
Published on: 10/26/2026
Tenderness at the back of the head while lying on firm pillows often points to one of two causes: greater occipital neuralgia, which tends to cause sharp, shooting, electric or burning pain radiating from the base of the skull toward the scalp along with scalp sensitivity to light touch, or suboccipital muscle strain, which usually feels like a dull, tight ache with palpable tender knots that worsens with posture, prolonged screen time, or neck movement. Pillow height, sleep position, pressure duration, pain quality, numbness or tingling, and whether symptoms ease with heat and stretching all help separate nerve irritation from muscular overload, and the two conditions frequently overlap. Several important distinguishing details, red flags, and self-care considerations are outlined below, so review the complete answer rather than the summary alone.
Because occipital nerve pain and suboccipital strain respond to very different treatments, guessing wrong can mean weeks of discomfort and unnecessary trips to the wrong provider. Take a free, instant, online symptom check to clarify which pattern best matches your symptoms and understand the most sensible next steps.
Last reviewed for medical accuracy: 10/26/2026
Having the back of your head sore resting on a pillow can be uncomfortable, especially when the pain appears only when you lie down or use a firm pillow. In many cases, the cause is related to irritated muscles, pressure on sensitive tissues, or the way your neck is positioned during sleep. Two possibilities doctors may consider are greater occipital neuralgia and suboccipital muscle strain.
These conditions can feel similar, but the pain patterns are often different. Understanding the differences may help you decide what to do next. However, symptoms alone cannot confirm a diagnosis, so speak to a doctor if the pain persists, worsens, or is difficult to explain.
Greater occipital neuralgia is pain caused by irritation or inflammation of the greater occipital nerve. This nerve travels from the upper neck through the muscles at the back of the head and toward the scalp. It can become irritated by muscle tightness, neck injury, prolonged poor posture, or pressure around the upper neck.
The pain is usually nerve-like rather than a simple ache. People may describe it as:
Resting the back of your head on a firm pillow may trigger symptoms if the pillow presses against the irritated nerve or pushes the neck into an uncomfortable position. Turning the head, extending the neck, or keeping the neck still for a long time may also bring on pain.
Greater occipital neuralgia is not the same as a typical migraine, although the conditions can occur together or be confused with one another. A doctor may examine the scalp, neck, and nerves and gently press along the path of the occipital nerve. In some cases, a diagnostic nerve block is used to see whether numbing the nerve temporarily reduces the pain.
The suboccipital muscles are small muscles at the base of the skull that help control head and neck movement. They can become overworked or strained by:
A suboccipital strain more often causes a dull, tight, bruised, or aching sensation. The area may feel tender when you press it or when the back of your head rests on a pillow. Pain may increase when you turn your head, look up, or hold your neck in one position.
Unlike nerve pain, muscle strain usually does not cause repeated electric shocks or a distinctly burning sensation. You may also notice stiffness, reduced neck movement, or tightness extending into the shoulders.
It is possible to have both problems at the same time. Tight suboccipital muscles may irritate nearby nerves, causing a mixture of aching muscle pain and sharper, shooting sensations.
The following comparison is a general guide, not a way to diagnose yourself:
| Feature | Greater occipital neuralgia | Suboccipital strain |
|---|---|---|
| Pain quality | Sharp, shooting, stabbing, burning, or electric | Aching, tight, sore, or bruised |
| Location | Often follows a path from the upper neck into the scalp | Usually centered at the base of the skull and upper neck |
| Touch sensitivity | Scalp may be unusually sensitive | Local muscle tenderness is more common |
| Triggers | Pressure, neck movement, touch, or prolonged position | Movement, posture, pillow position, or muscle use |
| Duration | Bursts of pain with possible ongoing soreness | More constant discomfort that gradually improves |
| Other symptoms | Tingling or altered scalp sensation may occur | Stiffness and limited movement are more typical |
These patterns overlap, and other causes are possible. For example, tension-type headache, migraine, neck joint irritation, arthritis, skin conditions, or a recent injury can also produce pain near the back of the head.
If the pain is mild and you have no warning signs, simple measures may help:
Do not repeatedly press, massage, or use a massage device directly over a very tender spot if this reliably triggers sharp nerve pain. Gentle treatment of surrounding muscles may be more appropriate, but a healthcare professional can advise you.
You might also consider a free, online symptom check, using the doctor approved Ubie Symptom Checker to organize your symptoms and decide what type of medical care may be appropriate. An online checker cannot diagnose occipital neuralgia or replace an examination.
Speak to a doctor if the pain is new and does not improve after several days of sensible self-care, keeps returning, interferes with sleep, or requires frequent pain medicine. Arrange an evaluation sooner if you have scalp numbness, tingling, weakness, significant neck stiffness, or pain following a fall, accident, or other injury.
A doctor may ask about the pain’s timing, triggers, location, and quality. They may examine your neck, muscles, scalp sensation, reflexes, and strength. Treatment depends on the cause and may include physical therapy, posture and sleep-position changes, prescription medicine for nerve pain, or—in selected cases—an occipital nerve injection.
Most pillow-related pain is not dangerous, but some symptoms require prompt assessment. Seek emergency care or speak to a doctor urgently if the pain:
In short, a back of head sore resting on pillow may result from pressure on an irritated occipital nerve, tight suboccipital muscles, or another neck-related headache problem. Shooting and scalp-sensitive pain leans more toward greater occipital neuralgia, while localized aching and stiffness are more typical of muscle strain. Because these conditions can overlap, speak to a doctor about persistent, severe, unusual, or potentially life-threatening symptoms.
(References)
* CUSSON DL, KING AB. Cervical rhizotomy in the management of some cases of occipital neuralgia. Guthrie Clin Bull. 1960 Jan-Apr;29:198-208. PMID: 13718974.
* TARDIEU G, SILVESTRE J. [Cervicobranchial and cervico-occipital neuralgia; cervical arthritis]. Sem Hop. 1949 Apr 14;25(28):1217-9. PMID: 18118768.
* Vanelderen P, Lataster A, Levy R, Mekhail N, van Kleef M, Van Zundert J. 8. Occipital neuralgia. Pain Pract. 2010 Mar-Apr;10(2):137-44. doi: 10.1111/j.1533-2500.2009.00355.x. PMID: 20415731.
* Vincent MB. Headache and neck. Curr Pain Headache Rep. 2011 Aug;15(4):324-31. doi: 10.1007/s11916-011-0195-1. PMID: 21465114.
* Hong J, Ball PA, Fanciullo GJ. Neurostimulation for neck pain and headache. Headache. 2014 Mar;54(3):430-44. doi: 10.1111/head.12292. Epub 2014 Feb 14. PMID: 24527699.
* Finiels PJ, Batifol D. The treatment of occipital neuralgia: Review of 111 cases. Neurochirurgie. 2016 Oct;62(5):233-240. doi: 10.1016/j.neuchi.2016.04.004. Epub 2016 Aug 18. PMID: 27546882.
* Ledingham D, Cappelen-Smith C, Cordato D. Crowned dens syndrome. Pract Neurol. 2018 Feb;18(1):57-59. doi: 10.1136/practneurol-2017-001793. Epub 2017 Nov 24. PMID: 29175873.
* Viswanath O, Rasekhi R, Suthar R, Jones MR, Peck J, Kaye AD. Novel Interventional Nonopioid Therapies in Headache Management. Curr Pain Headache Rep. 2018 Mar 19;22(4):29. doi: 10.1007/s11916-018-0681-9. Epub 2018 Mar 19. PMID: 29556851.
* Laguerre M, McGargill S, Herman DC. Occipital Neuralgia - A Masquerading Cause of Concussion Symptoms. Curr Sports Med Rep. 2020 Sep;19(9):344. doi: 10.1249/JSR.0000000000000745. PMID: 32925371.
* Yamada G, Toyoda T, Katada E, Matsukawa N. Occipital Neuralgia Secondary to C2 Spinal Cord Infarction. Intern Med. 2022 Aug 1;61(15):2353-2355. doi: 10.2169/internalmedicine.8601-21. Epub 2022 Jan 13. PMID: 35022347; PMCID: PMC9424079.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.