Headache with Neck Pain or Stiffness: Common Causes, Meningitis Warning Signs and When It Is Urgent

Key Takeaways
- The stiff neck of meningitis shows as pain or inability bending the chin to the chest, while a muscular stiff neck mostly limits turning the head side to side.
- A headache that reaches full intensity within about a minute is treated as bleeding around the brain until a scan proves otherwise, whatever the neck is doing.
- The meningococcal rash appears late or not at all; the NHS advises seeking emergency care for fever, headache and neck stiffness without waiting for it.
- Cervicogenic headache is one-sided, starts at the upper neck, spreads forward and is reproduced by neck movement or pressure, with no aura and little nausea.
- The WHO reports that about one in five survivors of bacterial meningitis has lasting after-effects, a group figure that cannot predict any individual.
- Using over-the-counter painkillers on more than a couple of days a week for several weeks can itself cause a daily headache, so rising use is a reason to see a clinician.
Headache with neck stiffness is most often caused by tense neck muscles, prolonged poor posture, a tension-type headache or a headache that starts in the neck joints (cervicogenic headache). It becomes an emergency when it comes with fever, a rash, confusion, drowsiness, vomiting or a headache that peaks within a minute; those signs can mean meningitis or bleeding around the brain and need immediate emergency care.
It usually announces itself at the end of the day. You reverse out of a parking space, turn to check over your shoulder, and the neck refuses to follow. Behind it, a dull band of pain has settled across the back of the head, and the two seem to be talking to each other.
Most people who type headache with neck stiffness into a search engine are sitting with exactly that: an achy, stubborn, slightly worrying pairing that has not been there before, or has been there too often. The honest news is that the overwhelming majority of these episodes come from muscle, joint and posture, not from anything inside the skull.
The honest caveat is that a small number of serious conditions, meningitis and bleeding around the brain among them, present with the same two words. The difference lies in what travels with the pain, how fast it arrived and how the person looks. This article walks through both ends of that spectrum, in the order the evidence suggests you should think about them.
Headache with neck stiffness: the short answer, and the signs that mean call emergency services now
Start with the one question that matters most. If the headache arrived with any of the following, stop reading and call emergency services or go to the nearest emergency department:
- fever with a stiff neck, especially if light hurts the eyes or the person is unusually sleepy or confused
- a rash of small red or purple spots that does not fade when a glass is pressed firmly against it
- a headache that reached its worst within about a minute, often described as the worst of a lifetime
- repeated vomiting, a seizure, slurred speech, weakness on one side or a drooping face
- a head or neck injury in the days before the symptoms
- cold hands and feet, mottled skin or breathing that looks fast and shallow
These are the pictures that the NHS, the CDC and the WHO describe for bacterial meningitis and for subarachnoid hemorrhage, which is bleeding into the space around the brain. Both can worsen over hours, and both are treated far more successfully when they are recognized early.
If none of those features is present, the picture is very different. Neck pain and headache without fever, rash, confusion or a sudden onset is, in most adults, a problem of strained muscles, irritated upper neck joints or a tension-type headache. It deserves attention, and sometimes a clinician’s examination, but rarely an ambulance. The sections that follow explain why the pairing is so common, what each cause typically looks like and how a clinician sorts one from another.
Why do headache and neck pain so often arrive together?
The back of the head and the top of the neck are not separate neighborhoods; they share the same wiring. Pain signals from the first three neck segments, from the small joints between the upper vertebrae, from the muscles that run up to the skull and from the lining around the brain all feed into one relay station in the brainstem. That relay also receives the nerve that supplies the face, scalp and forehead.

Because the signals merge, the brain often misreads where the pain began. A strained joint at the top of the neck can be felt as a headache behind the eye. Irritation of the membranes around the brain, as happens in meningitis, can be felt as a neck that will not bend. Clinicians call this shared processing the trigeminocervical complex, and it is the single most useful idea for making sense of headache with neck stiffness.
There is a mechanical side too. The head weighs roughly the same as a bowling ball, and the deep muscles at the base of the skull hold it steady every waking hour. Tilt it forward over a screen and the load on those muscles rises steeply. When they tire, they tighten, and tight suboccipital muscles both restrict neck movement and refer pain up over the scalp. The National Institute of Neurological Disorders and Stroke lists muscle tension and poor posture among the most frequent headache triggers for exactly this reason.
None of this means the two symptoms are always linked by muscle. It means the same two complaints can come from very different places, which is why the company they keep matters more than the symptoms themselves.
Neck pain and headache causes that are common and usually harmless
Three culprits account for most episodes a family doctor sees, and they overlap.
Tension-type headache. The NHS describes this as the most common headache type: a dull, constant, pressing pain on both sides, often with tenderness in the neck and shoulder muscles. Episodes typically last from 30 minutes to several hours, and the triggers are familiar: stress, screen time, skipped meals, poor sleep, dehydration. Light and sound are usually tolerated, and the person can generally keep going, which is one way it differs from migraine.
Mechanical neck strain. Sleeping awkwardly, carrying a heavy bag on one shoulder or hours of forward-head posture can leave the upper neck muscles sore and the range of movement reduced. The NHS notes that most simple neck pain settles within a few weeks with normal activity and gentle movement. The headache that accompanies it tends to live at the back of the head and ease as the neck frees up.
Posture-related overload. This is less a diagnosis than a pattern: the pain builds through the working day, is worst in the late afternoon, improves on days off and comes back on Monday. Turning the head is stiff rather than impossible. The person feels well in every other respect, with no fever, no vomiting and no change in alertness.
What unites these three is the texture of the pain: gradual, familiar, tied to activity and relieved by rest, warmth or a change of position. A clinician hearing that story, and finding a normal neurological examination, will usually feel reassured. The story that does not fit, a new kind of headache, a sudden start or a person who looks ill, is what moves the conversation to the causes described next.
Cervicogenic headache symptoms: what are the signs of a headache that starts in the neck?
A cervicogenic headache is a headache whose source is a structure in the neck, usually one of the small facet joints or the discs between the top three vertebrae, with the pain referred upward through the shared nerve pathway described earlier. It is a diagnosis of pattern, not of a scan, and the pattern is quite specific.

The clues that point toward the neck, as summarized by Cleveland Clinic and headache classification criteria, are:
- pain on one side that starts at the back of the head or upper neck and spreads forward toward the temple, forehead or behind the eye, usually without swapping sides
- pain that is provoked or worsened by neck movement, by holding the head in one position or by pressing on the upper neck
- a reduced range of neck movement, often with a sense that the neck is the real problem and the headache is the passenger
- a steady, non-throbbing quality that can last hours to days
- sometimes aching in the same-side shoulder or arm
Nausea, light sensitivity and visual aura are uncommon, and their presence makes migraine more likely. Cervicogenic headache is more frequent after whiplash, in people with arthritis of the upper neck and in those whose work holds the head in one position for long periods.
Clinicians confirm it by reproducing the headache with pressure or movement of the neck, by finding the neurological examination normal and, in some cases, by observing that numbing a specific joint or nerve temporarily switches the headache off. Imaging is reserved for cases with red flags or where the examination suggests nerve compression, because neck X-rays and scans in people over 40 very often show wear that is not causing symptoms.
Headache at the base of the neck: occipital neuralgia and migraine with neck pain
Two other conditions regularly plant themselves at the junction of skull and neck, and they are easy to confuse with each other and with the cervicogenic pattern.
Occipital neuralgia is irritation of the occipital nerves, which climb from the upper neck over the back of the scalp. The National Institute of Neurological Disorders and Stroke describes the pain as sharp, shooting or electric, starting at the base of the skull and traveling up one or both sides of the head, sometimes to behind the eye. The scalp can feel tender enough that brushing the hair or resting the head on a pillow hurts. Pressing on the nerve where it exits the neck often reproduces the pain, which is how clinicians distinguish it from the duller, movement-related ache of a joint problem.
Migraine is frequently blamed on the neck because so many people with migraine feel neck pain in the hours before and during an attack. Here the direction of travel runs the other way: the migraine process sensitizes the shared nerve pathway, and the neck hurts as a result. The giveaways are the throbbing quality, the preference for lying still in a dark room, nausea, and attacks that last from a few hours up to three days, the range cited by the NHS. The neck stiffness of migraine is real but it is a feature of the headache, not its cause, and it usually lifts when the attack does.
Why does the distinction matter? Because the approaches differ. Nerve-irritation pain and migraine respond to different strategies than a stiff joint does, and treating the neck for a headache that is actually migraine tends to disappoint. A headache diary that notes timing, side, quality and what the neck is doing gives a clinician far more than a scan would.
Stiff neck headache meningitis: what does meningitis neck pain feel like?
Meningitis is inflammation of the membranes that wrap the brain and spinal cord. The stiff neck it causes is different in kind from a muscular one, and the difference is worth understanding precisely.
In meningitis the inflamed membranes are stretched whenever the chin is brought toward the chest, so bending the neck forward is painful or impossible, while turning the head from side to side may be surprisingly free. A muscular stiff neck tends to be the reverse: rotation is the problem, and flexion is merely uncomfortable. The meningitis headache is usually severe, generalized rather than one-sided, worsened by light and often by sound, and it arrives alongside a person who looks unwell.
The NHS and the CDC list the core features: fever, severe headache, stiff neck, sensitivity to light, nausea or vomiting, confusion or drowsiness, and in some infections a rash. The rash of meningococcal disease begins as small red pinpricks and can spread into purple blotches; it does not fade under the pressure of a glass. The NHS is clear that the rash can appear late or not at all, so its absence rules nothing out.
Speed is the other hallmark. The WHO describes bacterial meningitis as a medical emergency that can be fatal within 24 hours, and notes that roughly one in five survivors is left with lasting after-effects such as hearing loss, learning difficulties or seizures. Those figures describe groups of patients and cannot predict any one person, but they explain why clinicians treat the combination of fever, headache and neck stiffness as urgent until proven otherwise.
Viral meningitis, by contrast, is more common and generally milder; the NHS notes that most people recover within 7 to 10 days. It still needs assessment, because at the bedside the two cannot be told apart reliably without tests.
Other serious causes clinicians rule out
Meningitis is the headline, but an emergency clinician assessing headache with neck stiffness has a short list of other possibilities in mind.
Subarachnoid hemorrhage is bleeding into the fluid-filled space around the brain, most often from a burst aneurysm. MedlinePlus and the NHS describe the signature as a sudden, severe headache that peaks within seconds to a minute, frequently with neck stiffness, vomiting, and sometimes a brief loss of consciousness. The neck stiffens because blood irritates the same membranes that infection does. The Ottawa Subarachnoid Hemorrhage Rule, derived from prospective emergency department cohorts and published in 2013, formalizes the features that prompt scanning: age 40 or over, neck pain or stiffness, witnessed loss of consciousness, onset during exertion, a headache that peaks within an hour and limited neck flexion on examination.
Cervical artery dissection is a tear in the wall of a neck artery, sometimes after a sudden neck movement or minor trauma. It produces one-sided neck pain and headache that can precede a stroke by hours or days, so new neck pain with any visual change, speech difficulty, weakness or a drooping eyelid is treated as urgent.
Giant cell arteritis, an inflammation of blood vessels in the head, mostly affects people over 50 and causes a new headache with scalp tenderness, jaw pain on chewing and sometimes visual loss. Neck and shoulder aching often accompanies it.
Raised pressure inside the skull, from a mass, a blocked fluid pathway or a venous clot, produces a headache that is worse lying flat, on waking and on coughing, often with vomiting or visual changes.
Each of these is uncommon. Each has a distinctive story, which is why the clinician’s first tool is a careful history rather than a scanner.
Causes at a glance: features and usual next step
The table below condenses the patterns described so far. It is a map, not a diagnosis; the clinician who examines you decides which column applies.
| Cause | Typical features | Usual next step |
|---|---|---|
| Tension-type headache | Dull band both sides, tender neck and shoulder muscles, builds with stress or screen time, 30 minutes to several hours | Self-care, posture and sleep review; clinician if frequent |
| Mechanical neck strain | Stiff rotation after awkward sleep or load, pain at back of head, settles over days to weeks | Gentle movement, heat; clinician if not improving in a few weeks |
| Cervicogenic headache | One-sided, starts in upper neck, spreads forward, worse with neck movement or pressure, no aura | Examination of neck; physical therapy guided by clinician |
| Occipital neuralgia | Sharp, shooting pain from base of skull over scalp, tender nerve on pressure | Clinician assessment to confirm and discuss options |
| Migraine with neck pain | Throbbing, often one-sided, nausea, light sensitivity, 4 to 72 hours | Headache diary; clinician review for a management plan |
| Meningitis | Fever, severe headache, neck will not bend forward, light sensitivity, drowsiness, possible non-fading rash | Emergency department immediately |
| Subarachnoid hemorrhage | Headache peaking within a minute, vomiting, stiff neck, possible collapse | Emergency department immediately |
| Artery dissection | New one-sided neck pain and headache, visual or speech change, weakness | Emergency department immediately |
| Giant cell arteritis | Over 50, new headache, scalp tenderness, jaw pain on chewing, visual symptoms | Same-day medical assessment |
Notice how the right-hand column splits cleanly in two. Everything above the meningitis row is managed over days to weeks; everything from that row down is managed within hours. The features that move a person across that line are fever, sudden onset, altered alertness, neurological change and age over 50 with a new type of headache.
How do clinicians tell the causes apart? The examination and tests
The first ten minutes of an assessment are talk. A clinician wants to know when the headache began and how quickly it reached full strength, whether it is new or a familiar type behaving unusually, which side it sits on, what makes it better or worse and what else has changed: temperature, appetite, vision, balance, sleep. For neck stiffness the key question is whether you can touch your chin to your chest.
The examination then tests exactly that. The clinician flexes the neck, checks rotation, presses along the upper neck muscles and the exit points of the occipital nerves, and looks for whether pressure reproduces the headache. A short neurological screen follows: pupils, eye movements, facial symmetry, limb strength, reflexes, walking. Temperature and blood pressure are recorded, and the skin is checked for a rash.
Two classic bedside tests, Kernig’s and Brudzinski’s signs, which look for involuntary leg movements when the neck or hip is flexed, are still taught, but their value is limited. A prospective study of 297 adults with suspected meningitis (Thomas and colleagues, 2002) found each sign present in only about 5 percent of confirmed cases, and neck stiffness itself in about 30 percent. A normal result therefore does not exclude meningitis; the overall picture does.
When the story or examination raises concern, tests follow the suspicion. For possible meningitis that means blood tests and a lumbar puncture, in which a needle draws a small sample of spinal fluid from the lower back for analysis. For a thunderclap headache it means a CT scan of the head, done urgently, sometimes followed by a lumbar puncture or a scan of the blood vessels. For suspected arteritis, blood markers of inflammation and sometimes a biopsy of a scalp artery.
For the common mechanical causes, the honest answer is that no test is usually needed. The NHS and MedlinePlus both note that routine imaging rarely changes management in uncomplicated neck pain, and that scans frequently reveal age-related changes unrelated to the symptoms.
How to get rid of a headache at the base of the neck: what helps at home
Once serious causes are off the table, the measures that mainstream guidance supports are modest, inexpensive in effort and genuinely effective for muscular and postural pain.
Keep moving, gently. The NHS advises against resting a stiff neck in a collar or holding it still; slow rotations, chin tucks and shoulder rolls several times a day maintain range and reduce muscle guarding. Stop at the edge of discomfort, not beyond it.
Warmth or cold. A warm pack or a shower on the back of the neck relaxes tight muscle; some people prefer a wrapped cold pack for the first day or two. Neither is superior in trials, so use the one that feels better, for about 15 to 20 minutes at a time as the NHS suggests.
Fix the setup. Raise the screen so your eyes meet its top third, bring the keyboard close enough that elbows stay at your sides, and break every 30 to 45 minutes. A pillow that keeps the neck level with the spine, neither propped up nor dropped, often resolves morning headaches on its own.
Sleep, fluids, meals. The NHS lists dehydration, missed meals and poor sleep among the most common tension headache triggers. Regular meals and a steady bedtime do more than most gadgets.
Over-the-counter pain relief can help an occasional episode. The important limit, highlighted by the NHS, is frequency: using painkillers on more than a couple of days a week for several weeks can itself cause a daily headache, called medication-overuse headache. If you find yourself reaching for them that often, that is a reason to see a clinician rather than to buy a bigger pack.
Manual therapy and a graded exercise program from a physical therapist have reasonable evidence in cervicogenic headache, and a clinician can refer you if the pattern fits.
What people often get wrong
“No rash, so it cannot be meningitis.” The rash belongs to one group of bacteria and appears late, if at all. The NHS says plainly not to wait for it. Fever, headache and a neck that will not bend forward are enough to seek emergency care.
“I can turn my head, so my neck is not really stiff.” The stiffness that worries clinicians is in flexion, chin toward chest. Rotation can be normal in meningitis and badly restricted in a purely muscular problem.
“A scan would settle it.” For mechanical pain, imaging mostly finds normal ageing. For meningitis, a scan cannot diagnose infection; spinal fluid can. The right test depends on the question, and the history decides the question.
“Cracking my neck will release it.” Forceful self-manipulation does nothing for joint irritation and, rarely, can injure a neck artery. Gentle active movement is the evidence-backed alternative.
“Worst headache ever means I should sleep it off.” A headache that reaches maximum intensity within a minute is the single most important red flag in headache medicine. Most turn out to be benign, but the ones that are not cannot be identified by waiting.
“It is just my old migraine with a bit of neck pain.” Usually true. But a familiar headache that changes character, side, timing or severity is, by definition, a new headache, and clinicians assess it as one.
“More painkillers will fix a daily headache.” Beyond a modest frequency, they can become the cause. The clinician who knows your history is the person to discuss any change with; never alter prescribed medicine on your own.
When to see a doctor: red flags and the right level of care
Call emergency services or go to an emergency department immediately if headache with neck stiffness comes with any of these:
- fever, drowsiness, confusion, or difficulty staying awake
- a rash that does not fade under a pressed glass
- a headache that peaked within about a minute, or the worst headache of your life
- repeated vomiting, a seizure, or a fall or blow to the head beforehand
- new weakness, numbness, slurred speech, double vision, loss of vision or a drooping eyelid
- a baby or young child who is floppy, high-pitched in cry, refusing feeds, has a bulging soft spot or is hard to wake
Arrange a same-day or urgent appointment if you are over 50 with a new type of headache, if you have scalp tenderness or jaw pain on chewing, if the headache is worse lying down or wakes you from sleep, if you are pregnant or recently delivered and have a new severe headache, if your immune system is weakened by illness or treatment, or if neck pain followed a sudden twist or minor trauma and feels different from anything before.
Book a routine appointment if neck pain and headache have persisted beyond two to three weeks despite the home measures above, if headaches are occurring on more than a few days a week, if you are taking pain relief most days, or if the pattern is affecting work or sleep. Keep a simple diary for a fortnight before you go; it shortens the consultation and sharpens the answer.
Children and pregnancy deserve a lower threshold throughout. In both, the warning signs are the same, but the margin for waiting is smaller, and the pathway is assessment first, treatment decisions by the clinician who sees them.
Frequently asked questions
Should I go to the ER for a stiff neck and headache?
Yes, if the headache came with fever, drowsiness, confusion, vomiting, a rash that does not fade under a glass, a sudden onset that peaked within a minute, or any weakness, speech or vision change. Those combinations can mean meningitis or bleeding around the brain and are time-critical. A stiff neck and headache without those features, in someone who otherwise feels well, is usually muscular and can be assessed by a regular clinician if it persists.
What does meningitis neck pain feel like?
It feels like the neck will not bend forward: bringing the chin toward the chest is painful or impossible, because the inflamed membranes around the brain are stretched by that movement. Turning the head may still be possible. It comes with a severe, generalized headache, fever, discomfort in bright light and often nausea, drowsiness or confusion. A muscular stiff neck, by contrast, mainly restricts rotation and is not accompanied by fever or a change in alertness.
What are the symptoms of cervicogenic headache?
A cervicogenic headache is one-sided, begins at the back of the head or upper neck and spreads forward toward the temple or behind the eye without changing sides. It is steady rather than throbbing, worsens with neck movement, sustained positions or pressure on the upper neck, and is often paired with reduced neck range and same-side shoulder ache. Aura, nausea and strong light sensitivity are unusual and point more toward migraine.
How to get rid of a headache at the base of the neck?
For a muscular or postural cause, gentle neck movements several times a day, warmth or cold on the back of the neck for about 15 to 20 minutes, a screen raised to eye level with regular breaks, a pillow that keeps the neck level, and attention to sleep, fluids and regular meals are the measures mainstream guidance supports. Occasional over-the-counter pain relief can help, but frequent use can cause daily headache, and persistent pain needs a clinician’s review.
Can a headache with neck stiffness be a sign of a brain bleed?
It can, although it is uncommon. A subarachnoid hemorrhage, bleeding into the space around the brain, classically causes a headache that peaks within seconds to a minute, often with neck stiffness, vomiting and sometimes brief collapse. The neck stiffens because blood irritates the brain’s membranes. Any headache that reaches its worst that fast needs emergency assessment and usually an urgent head scan, regardless of how it feels afterward.
How long does a headache from neck strain usually last?
A tension-type headache typically lasts from 30 minutes to several hours, and simple mechanical neck pain generally improves within a few weeks with normal activity, according to the NHS. Headaches that persist beyond two to three weeks despite home measures, or that occur on more than a few days a week, warrant a clinician’s assessment to confirm the cause and to review how often pain relief is being used.
Does neck pain and headache causes include migraine?
Yes. Many people with migraine feel neck pain before and during attacks because the migraine process sensitizes the nerve pathway that the neck and head share. The clues are a throbbing, often one-sided headache, nausea, sensitivity to light and sound, a wish to lie still and attacks lasting four hours to three days. Here the neck pain is a feature of the migraine rather than its source, and it usually settles as the attack does.
Can poor posture cause a headache with neck stiffness?
It is one of the most frequent causes. A head held forward over a screen multiplies the load on the small muscles at the base of the skull; when they fatigue and tighten they restrict movement and refer pain over the scalp. The pattern builds through the day, improves on rest days and returns with work. Raising the screen, keeping elbows close, taking breaks every 30 to 45 minutes and strengthening neck and shoulder muscles usually ease it.
What tests are done for a stiff neck and headache?
It depends on what the history suggests. Uncomplicated mechanical pain usually needs no tests at all, and imaging often shows only age-related wear. Suspected meningitis is investigated with blood tests and a lumbar puncture, which samples spinal fluid through a needle in the lower back. A sudden severe headache calls for an urgent head CT scan, sometimes followed by a lumbar puncture or vessel imaging. Suspected arteritis in older adults is checked with inflammation blood markers.
Is viral meningitis as dangerous as bacterial meningitis?
Generally no. Viral meningitis is more common and usually milder; the NHS notes that most people recover within 7 to 10 days. Bacterial meningitis is a medical emergency that the WHO describes as capable of being fatal within 24 hours. The problem is that the two cannot be reliably separated at the bedside, so anyone with fever, headache and neck stiffness is assessed urgently and tested before the type is known.
References
This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.
More from the Blog
Caregiver Guidance in Alzheimer’s Disease: Sleep, Fall Prevention and Daily Structure
Alzheimer's caregiver guidance centers on three practical levers: protect sleep with daylight, movement and a calm evening routine; prevent falls by simplifying the home…
How Are Sleep and Mood Changes Managed in Dementia Care Without Losing Daily Routine?
Sleep and mood changes in dementia are usually managed by keeping the day predictable first: consistent wake and bed times, morning daylight, regular meals,…
How Physical, Speech and Occupational Therapy Support Daily Life in Parkinson’s Disease
Physical, occupational and speech therapy support daily life with Parkinson's disease by retraining movements the brain no longer runs automatically. Physical therapists work on…
Neurosarcoidosis Treatment: How Specialists Control Inflammation and Prevent Relapses
Neurosarcoidosis is usually treated in stages: corticosteroids to dampen inflammation quickly, then steroid-sparing immune medicines such as antimetabolites to hold that control while steroid…
How Does Rehabilitation After Acute Flaccid Myelitis Rebuild Strength and Mobility?
Rehabilitation after acute flaccid myelitis rebuilds strength by protecting joints and limp muscles while surviving spinal motor neurons recover or sprout new connections, then…
Confirming HSP: How Genetic Testing, MRI and the Walking Assessment Fit Together
Hereditary spastic paraplegia (HSP) is diagnosed by combining three pieces of evidence rather than by a single test. A neurologist examines walking and leg…






