Your neck hurts during a headache because the nerves in your upper neck and the nerves in your head converge at the same relay station in your spinal cord. This hub, called the trigeminocervical complex, sits where your brainstem meets your upper cervical spine. Pain signals from your face, skull, and neck all funnel through it, which means the brain often can’t distinguish where the pain is actually coming from. The result: a headache can trigger neck pain, neck problems can trigger headaches, and both can happen simultaneously.
The Shared Wiring Between Your Neck and Head
The nerves that sense pain in your scalp, forehead, and the lining around your brain belong to the trigeminal nerve system. The nerves that sense pain in your upper neck come from the C1, C2, and C3 spinal nerves. Both sets of nerves send their signals to the same cluster of neurons in the upper spinal cord. These relay neurons then pass the information up to pain-processing areas in the brainstem, thalamus, and cortex.
Because these signals converge, pain originating in one area gets “referred” to the other. A stiff or injured neck joint at the C2-C3 level can produce a headache that wraps around to your forehead. A migraine that starts with changes in brain chemistry can radiate pain down into your neck muscles. Your brain interprets both inputs through the same circuitry, so they feel connected because, neurologically, they are.
Migraine and Neck Pain
Neck pain is one of the most common migraine symptoms, and it’s far more prevalent than most people realize. A 2024 study found that 68.3% of people with migraines reported neck pain during their headaches, compared to 36.1% of people with non-migraine headaches. That means roughly two out of three migraine sufferers experience neck involvement.
This neck pain isn’t a separate problem. It’s part of the migraine itself, generated through the same trigeminocervical pathway. For many people, neck stiffness or soreness begins in the prodrome phase, hours before the head pain arrives. Others feel it peak alongside the headache. Because neck pain is so common in migraine, it’s frequently mistaken for a “neck problem” when it’s actually a brain-driven event producing referred pain.
Tension-Type Headaches and Muscle Trigger Points
Tension-type headaches involve a different mechanism but produce a similar overlap. About 33.8% of people with tension-type headaches report neck pain during episodes. The muscles most commonly involved are the sternocleidomastoid (the thick muscle running from behind your ear to your collarbone), the upper trapezius (the broad muscle across your upper back and shoulders), and the levator scapulae (a deeper muscle connecting your shoulder blade to your upper neck).
These muscles develop trigger points, which are tight, irritable knots that refer pain to predictable locations. Trigger points in the sternocleidomastoid are particularly interesting because they don’t just cause neck pain. Depending on their location within the muscle, they can produce forehead pain, sinus-like pressure, ear pain, dizziness, and even blurred vision. The upper trapezius refers pain up the back of the neck and into the temple. When several of these muscles are involved at once, the combination of local tenderness and referred head pain creates the classic “my neck and head both hurt” experience.
Cervicogenic Headache: When the Neck Is the Source
Sometimes the neck isn’t just along for the ride. Cervicogenic headaches originate from a problem in the cervical spine itself, whether that’s a disc issue, a facet joint dysfunction, or soft tissue damage. The International Headache Society defines this as headache caused by a cervical spine disorder that is usually, but not always, accompanied by neck pain.
The pain pattern is distinctive. It typically starts in the neck and radiates forward, reaching the back of the head, the temple, and sometimes the area above the eye. It tends to be dull, pressing, or tightening rather than throbbing, and it’s often worse on one side. Reduced neck mobility is a hallmark: turning your head or holding certain positions makes the headache noticeably worse.
Cervicogenic headaches are essentially a referred pain disorder. Damage or irritation at the upper cervical joints sends signals through the trigeminocervical complex, and the brain interprets some of that input as head pain even though the actual problem is in the neck. This is why treating the neck, through physical therapy or joint mobilization, can resolve the headache entirely.
Occipital Neuralgia: Sharp Pain at the Base of the Skull
If your pain is sharp, stabbing, and focused at the base of your skull, you may be dealing with occipital neuralgia rather than a typical headache. This condition involves irritation or compression of the occipital nerves, which emerge from the C2 and C3 vertebrae and travel up over the back of the scalp.
The pain is distinctive: severe, shooting bursts lasting seconds to minutes, often with tenderness or unusual sensitivity over the back of the head. Some people also feel pain behind the eye on the same side, which again reflects the convergence of cervical and trigeminal nerve pathways. Unlike cervicogenic headaches, which produce a steady ache, occipital neuralgia tends to come in electric, paroxysmal jolts.
How Posture Plays a Role
Spending hours with your head pushed forward, whether over a laptop, phone, or steering wheel, increases the load on your cervical spine and the muscles supporting your head. This sustained strain tightens the suboccipital muscles at the base of your skull, compresses the upper cervical joints, and activates the same pain pathways that connect neck and head. Over time, this postural stress can lower the threshold for headaches, making you more susceptible to tension-type and cervicogenic episodes.
What Helps
Treatment depends on what’s driving the connection. For cervicogenic headaches, physical therapy targeting the cervical spine has strong evidence. A randomized controlled trial found that cervical mobilization combined with targeted exercises, performed three times a week for six weeks, significantly reduced headache intensity, headache frequency, and the need for pain medication. The treatment also decreased stiffness in the suboccipital, upper trapezius, and sternocleidomastoid muscles.
For migraines with prominent neck symptoms, treating the migraine itself is usually more effective than focusing on the neck. Preventive migraine strategies, whether medication, lifestyle adjustments, or both, tend to reduce the neck pain as the migraine frequency drops. That said, many people with migraine also carry cervical tension that compounds their symptoms, so addressing both can help.
For trigger-point-related tension headaches, targeted massage, stretching, and postural correction are the frontline approaches. Regular breaks from sustained postures, strengthening the deep neck flexors, and reducing upper trapezius overload through ergonomic adjustments all lower the frequency of episodes over time.
Warning Signs That Need Urgent Attention
Most neck-and-headache combinations are benign, but certain patterns warrant immediate evaluation. The American Headache Society uses the mnemonic SNOOP4 to flag concerning features:
- Sudden onset: A headache that reaches maximum intensity within seconds, sometimes called a thunderclap headache, can indicate a vascular emergency like an aneurysm.
- Neurological symptoms: New weakness in an arm or leg, numbness, or vision changes alongside your headache.
- Onset after age 50: A new headache pattern appearing for the first time after 50 is more likely to have a secondary cause.
- Progression: A headache that is clearly becoming more severe or more frequent over weeks.
- Positional changes: Pain that dramatically shifts when you stand up, lie down, or strain (coughing, bearing down).
- Systemic symptoms: Fever, night sweats, or unexplained weight loss accompanying your headache and neck pain.
Neck stiffness combined with fever and severe headache is a classic presentation of meningitis and requires emergency evaluation. Similarly, a sudden, explosive headache with neck pain and rigidity can signal a subarachnoid hemorrhage. These are uncommon, but recognizing the pattern matters.