Neck pain with a headache is often cervicogenic, meaning the upper neck joints or muscles send pain up the back of the head. Other causes include whiplash, arthritis and a pinched nerve. A sudden severe headache, stiff neck with fever, confusion, weakness or vision changes needs emergency care.
Neck pain and headache are two of the most common complaints in medicine, and they often show up together. In some people the neck is the source of the headache. In others a primary headache such as migraine causes neck tightness as part of the attack. Telling them apart takes a careful history and exam. This page describes the patterns, the warning signs and what an evaluation covers. It is general information and not a diagnosis.
Start with the urgent list
Call 911 or go to an emergency room immediately if you have any of these: a sudden, severe headache that peaks within seconds to minutes or is the worst of your life; a stiff neck with fever, rash or sensitivity to light; confusion, drowsiness, trouble speaking or walking; weakness or numbness in the face, arm or leg; vision loss or double vision; or neck pain and headache after a car accident, fall or blow to the head. Chest pain, shortness of breath or sweating with jaw or neck pain also needs 911.
Be examined within days if the headache is new after age 50, if it is steadily worsening over weeks, if it wakes you from sleep, if it is brought on by coughing or straining, or if you also have shooting arm pain, numbness or weakness in the hand.
When the neck is the source
Joints and muscles of the upper neck
The top three neck joints and the muscles at the base of the skull share nerve pathways with the head. When they become irritated, pain can spread up the back of the skull to the forehead, temple or around the eye. Neck movement, long periods at a screen or a particular sleeping position can bring it on. Neck pain from muscle strain and posture is often part of the picture, and facet joint irritation may be one source of pain at the back of the neck.
Whiplash
A sudden acceleration and deceleration, as in a rear-end collision, can strain the neck's soft tissues and joints. Whiplash commonly causes neck pain and headache beginning within hours to a day or so after the event. Any severe pain or neurological symptom after an accident calls for emergency assessment first.
Arthritis of the neck
Spondylosis, the age-related wear of discs and joints, is a frequent source of neck stiffness and pain that spreads toward the skull. It is common after 40 and may flare with long periods in one position.
A pinched nerve
If a nerve root is irritated, cervical radiculopathy can cause neck pain along with pain, tingling or weakness in the shoulder, arm or hand. Occasionally this produces pain toward the back of the head too.
When the headache is the main problem
Tension headaches commonly come with tight neck and shoulder muscles. Migraine can start with neck pain, and some people mistake it for a neck problem. These are medical conditions best sorted by a clinician who can ask about aura, light sensitivity, nausea and family history. A neck exam that reproduces your headache with a specific movement or pressure points toward a neck source.
Posture, screens and sleep
Forward head posture, where the head sits ahead of the shoulders, loads the muscles at the base of the skull. Phones add to the problem, since looking down increases the strain on the neck. Poor sleep, clenched jaw and stress also raise muscle tension and lower headache thresholds. None of these explains every case, but they are common contributors and they are changeable. Keeping a short diary of when headaches begin, what you were doing and how you slept helps a clinician spot patterns.
What people try first
- Breaking up long periods at a screen, with the monitor at eye level.
- Adjusting your pillow so the neck stays roughly in line with the spine when you sleep.
- Applying heat to tight muscles or ice to a sore spot for short periods.
- Gentle neck range of motion within comfort, without forcing it.
- Staying hydrated, eating regularly and keeping a consistent sleep schedule, which can help many headaches.
- Over-the-counter pain relievers as the label directs. Frequent use can itself cause rebound headaches, so tell a clinician if you rely on them often.
What a specialist will check
The clinician asks about headache timing, location and associated symptoms, and examines the neck for motion, tenderness and muscle tension. They check strength, reflexes and sensation in the arms, test whether certain neck positions or pressure reproduce the headache, and look at posture of the head and shoulders. Cranial nerves and balance are screened when the history suggests it.
Imaging is not required for every neck and headache complaint. X-rays show alignment and joint wear, and an MRI shows discs and nerves when a pinched nerve or other structural problem is suspected, or when there are neurological findings. A diagnostic injection near the small neck joints, done under image guidance, is sometimes used to see whether they are the source of pain. If the exam points to a primary headache disorder or something beyond the neck, referral to a neurologist or primary care clinician is appropriate.
Which specialist
Pain management evaluates persistent neck and headache pain, including options such as targeted injections. Spine care is the route if a disc or pinched nerve is likely. The which-specialist tool can help you choose.
Paying for care
If you have out-of-network benefits, see how those visits work. If you pay directly, see how self-pay care is arranged. Asking in advance whether imaging or injections are likely will help you plan.
Sources
- American Academy of Orthopaedic Surgeons, OrthoInfo. Neck Pain
- MedlinePlus (National Library of Medicine). Neck Injuries and Disorders
- MedlinePlus (National Library of Medicine). Headache
- American Academy of Orthopaedic Surgeons, OrthoInfo. Cervical Radiculopathy (Pinched Nerve)
This page is general health information and is not medical advice. It does not create a physician-patient relationship. Consult a qualified clinician about your own symptoms and treatment.
