← The Motion Blog
Neck November 23, 2026 · 12 min read

Woke up with a stiff neck: what helps, and when it's more than a bad night

Dr. Malek Sleem, licensed physical therapist in Beirut
Licensed Physical Therapist · FixUrMotion, Beirut

You went to bed fine. You woke up and the first time you tried to check the clock, your neck caught: a sharp grab on one side, and now you are turning your whole body to look over your shoulder, like a robot reversing out of a parking spot in Hamra. Maybe a dull headache is building at the back of your head too.

Most of the time this is an ordinary, painful, self-limiting stiff neck. But a stiff neck is also a classic warning sign of meningitis, and with a headache it can occasionally mean a hospital today. So the urgent list comes first, then what helps, then the point at which a stiff neck that keeps returning with headaches becomes a pattern.

The short answer

A stiff neck after sleeping usually eases on its own, with most of the improvement early. Keep it moving gently within comfort, use heat if it feels good, ask a pharmacist about a simple painkiller, and sort out your pillow. Do not crack it forcefully, wear a collar or lie still for days. Get urgent care if it comes with fever, a rash, confusion, a sudden severe headache, an injury, or arm weakness or numbness. If it keeps coming back with headaches, the upper neck is worth assessing.

See a doctor first if

A stiff neck is usually mechanical, but a few causes are time-critical. Get medical care instead of reading on if:

  • A stiff neck and headache with fever, especially with vomiting, light hurting your eyes, or feeling very unwell. Emergency care: this can be meningitis.
  • Any rash with these symptoms, particularly spots that look like small bruises or bleeding under the skin and do not fade when you press on them. Emergency care, without waiting for the other signs.
  • Confusion, unusual drowsiness, or being hard to wake. Emergency care.
  • A sudden, severe headache that peaks within a minute, the worst you have ever had, with or without a stiff neck. Emergency care.
  • Neck pain after a fall, a car accident, a sports collision or any other injury. Get checked before you start moving it around.
  • Weakness, numbness or pins and needles in an arm, clumsy hands, or trouble walking, or new neck pain with dizziness, double vision, slurred speech or trouble swallowing. Same-day care, emergency if it came on suddenly.
  • Unexplained weight loss, a history of cancer, a weakened immune system, pain that is worse at night whatever position you lie in, or a stiff neck that keeps getting worse rather than better. See a doctor soon.

Everything below is for a stiff neck with none of these, in an adult who otherwise feels well.

Why a neck locks up overnight

The textbook name for the classic version is acute wry neck, or acute torticollis: you wake with the head held slightly turned or tilted, one side sharply painful, and a movement in one direction that simply will not happen. The usual explanation is that one of the small joints at the back of the neck, or the tissue around it, gets irritated after hours in an awkward position, and the muscles around it clamp down to protect it. That guarding is what makes it feel locked.

How much of that is proven? Not much. Research on this exact picture is mostly case reports and small uncontrolled studies. What we do have is decent data on new neck pain in general, which the next section uses. Your grandmother will blame the air conditioner. I have not found good research either way, so I won't argue with her.

The usual suspects are familiar: a night on the sofa, a pillow far too high or too flat, sleeping on your stomach with the head cranked to one side, a stressful week of shoulders up by your ears. A stiff neck with no red flags does not need a scan; it is assessed from the story and an examination.

How long it usually lasts

The good news is that most of the improvement happens early. In a Norwegian population study that screened 9,056 adults and followed 219 with a new episode of neck or low back pain, pain declined fastest within the first month, with little change after that. Only 1 in 5 sought any health care for it.

The less comfortable news: a systematic review of acute neck pain pooled seven studies and found pain fell from 64 to 35 out of 100 by about six and a half weeks, but the pooled score at 12 months was still 42. The authors concluded that the prognosis is worse than people are usually told. That covers all new neck pain, not only the morning-after kind.

So expect it to ease, mostly early, and do not assume "it'll go away" means "it'll never come back". If you are not clearly improving after a week or two, or this is your third stiff neck this year, have it looked at. We go into recovery timelines for neck-related headaches in how long it takes to fix neck-related headaches.

The first 48 hours: what actually helps

A large clinical guideline on neck pain (the OPTIMa collaboration) starts in the right place: rule out serious causes, then reassure people about the usually benign, self-limiting course, and stress the importance of staying active and moving. That is the backbone of the first two days.

  • Keep it moving, gently and often. Every hour or so, turn your head slowly towards the stiff side until you feel the catch, ease back, and repeat five or six times. Then tilt ear towards shoulder, and nod your chin down and back. Small, slow and frequent beats one heroic stretch. The guideline lists range of motion exercise among the options worth considering for recent neck pain.
  • Use heat if it feels good. A warm shower aimed at the neck, or a warm (not hot) pack for 15 to 20 minutes, often makes moving easier. But the guideline found clinic-based heat was not effective for recent neck pain, so treat heat at home as comfort that helps you move, not as treatment. If cold feels better, use cold. Never sleep on a heat pad.
  • Ask about a simple painkiller. Something that takes the edge off can make the gentle movement possible. Which one, at what dose and for how long depends on your stomach, kidneys, blood pressure, pregnancy and other medicines, so that is a pharmacist's or doctor's call, and follow the label. If you find yourself reaching for painkillers for headaches on many days each month, read tension headache every day before the next box.
  • Carry on with normal life, adjusted. Work, walk, cook. Take breaks from the laptop. If you cannot check your blind spot properly, do not drive until you can.
  • Set up tonight's sleep. More on this below, but the short version is a pillow that keeps your head level with your spine, on your back or side, not your stomach.

What not to do

  • Do not crack it forcefully, or let a friend do it. A hard twist for a pop is not treatment, and there is a specific reason for caution: a tear in a neck artery (cervical artery dissection) can start out looking like neck pain and headache. In a systematic review of 1,972 people with a vertebral artery dissection, 51% had headache and 46% neck pain, and fewer than half had any obvious trauma. An American Heart Association statement found that most population studies show an association between neck manipulation and this kind of stroke in young patients. It also said the evidence does not establish that manipulation causes it, and the risk is probably low, but that clinicians should consider dissection in someone presenting with neck pain. A trained clinician who has screened you is one thing; a forceful twist from someone who has not is another.
  • Do not rest it completely. Lying still for days runs against the guideline's advice to keep active and moving.
  • Skip the soft collar. The same guideline advises against a cervical collar for recent neck pain, because the evidence showed no benefit.
  • Do not stretch into sharp pain. Pulling hard on your head with your hand, or bouncing into the stiff direction, tends to make the guarding worse. Ease towards the catch and back off.
  • Do not ignore a change. A stiff neck that is getting worse, spreading into an arm, or picking up new symptoms goes back to the red-flag list. The guideline is explicit that worsening or new symptoms mean referral to a physician.

Stiff neck and headache: when it is urgent

Here is what the box at the top is based on.

Meningitis. In a nationwide Dutch study of 696 episodes of bacterial meningitis in adults, the classic triad of fever, neck stiffness and a change in mental state was present in only 44%. But 95% had at least two of four: headache, fever, neck stiffness and altered mental state. You do not need the full textbook picture: a stiff neck, a headache and a fever is enough to go now. In a study of 448 children and teenagers with meningococcal disease, the classic features (a haemorrhagic rash, signs of meningitis such as a stiff neck, and impaired consciousness) developed late, at a median of 13 to 22 hours, while earlier signs of sepsis such as leg pain and cold hands and feet appeared at a median of 8 hours. Do not wait for the rash.

Bleeding around the brain. A headache that reaches full strength within a minute, often described as the worst ever, can come with a stiff neck. That is an emergency whatever your neck has been doing lately. We cover it in more detail in headache at the base of the skull.

A torn neck artery. New neck pain and headache, especially on one side, with dizziness, double vision, slurred speech, trouble swallowing, unsteadiness or weakness. In the review above, dizziness or vertigo was the most common symptom at 58%. Emergency care. If dizziness is part of your picture, also read neck pain and dizziness.

After an injury. A stiff neck that started after a crash, a fall or a hit needs checking before self-care. After the doctor has cleared it, our whiplash article picks up from there.

One honest caveat for the whole list: an international framework on red flags written for physiotherapists notes that most individual red flags lack high-quality evidence for how accurately they pick out serious disease. They are prompts to get checked, not a diagnosis. If unsure, get checked.

When it keeps coming back with headaches

One stiff neck after a bad night is bad luck. A neck that stiffens every few weeks, mostly on the same side, with headaches that start at the back of the head, is a pattern.

Neck pain and headache often travel together. In a Danish population study of 797 people, 85.7% of those with migraine or tension-type headache had neck pain in the past year, against 56.7% of those without headache. That study cannot tell you which comes first, and a migraine can stiffen the neck without the neck being the source (see migraine or neck headache). But for some people the upper neck is part of what drives the headache. That is cervicogenic headache, and the nerves from the top three neck segments share a relay in the brainstem with the nerve that covers the forehead, temples and eyes, which is how a stiff upper neck can be felt as a headache in front.

Signs that the neck may be part of your headaches: they start at the back on one side and do not switch sides; held postures or certain neck movements bring them on; your neck turns less to that side; and pressing at the base of the skull reproduces your familiar headache. We rate each of those signs in is my headache coming from my neck?

The jaw belongs in the same conversation. If you wake with a stiff neck and a tired jaw or sore teeth, night-time clenching and a stiff upper neck converge on the same pain relay, and each can keep the other sensitised. More in toothache with no cavity.

This is where physiotherapy has real evidence. In a randomised trial of 200 people with cervicogenic headache, specific exercise and manipulative therapy each reduced headache frequency and intensity, and the effect held at 12 months. The realistic aim is fewer and milder headache days from the neck's share. A migraine driver stays with your neurologist. The assessment looks at how the top neck joints move and respond, how the deep neck muscles hold up, and the jaw, and much of it can be done online.

Sleep position and the pillow

If you keep waking up stiff, the night is the obvious suspect. Keep expectations honest, though. A 2021 systematic review and meta-analysis found 35 studies of pillows but only nine of high quality, with 555 participants. In people with chronic neck pain, rubber pillows reduced neck pain and waking pain by small amounts, sleep quality did not change, and the authors suggest the shape and height of a pillow matter more for neck alignment than its material. A 2025 review of five more recent studies found no pillow type clearly better than another. Neither review studied the one-off stiff neck after a bad night.

  • On your back: a lower pillow that supports the curve of your neck without pushing your chin towards your chest.
  • On your side: a pillow high enough to fill the gap between ear and shoulder, so your head stays level rather than dropping or tilting up.
  • On your stomach: hard on the neck, because your head is turned fully to one side for hours. If you cannot give it up, use a very flat pillow, or none.
  • The sofa: your head on the armrest all night is a common story behind the morning-after neck. Go to bed.

We go through each position, and the causes of waking with a headache that no pillow will fix, in best sleeping position and pillow for neck pain and headaches.

One thing to do this week

Write it down. For two weeks, log each morning on your phone: neck stiff or not (which side), headache or not, how you slept, and whether your jaw felt tired. A log turns "it happens sometimes" into something an assessment can use. If the stiff mornings and the headache days line up, run the Source Test: three physical checks, including a press at the base of the skull and a two-week morning pattern, in about two minutes.

Frequently asked questions

How long does a stiff neck last after sleeping on it wrong?
There is little research on that exact episode, but new neck pain tends to improve early. In a Norwegian population study most of the improvement came in the first month, and a review of acute neck pain found pain roughly halved by about six and a half weeks. The same review found many people still had some pain at a year, so a neck that is not clearly improving after a week or two, or keeps coming back, is worth having assessed. Any red flag means a doctor first.
Is a stiff neck with a headache serious?
Usually not, but it can be. Get emergency care for a stiff neck and headache with fever, vomiting, confusion or drowsiness, or a rash that does not fade when pressed, which can be meningitis. The same goes for a sudden severe headache that peaks within a minute, and for new neck pain and headache with dizziness, double vision, slurred speech or weakness. In a Dutch study of adults with bacterial meningitis, only 44% had the classic triad, but 95% had at least two of headache, fever, neck stiffness and altered mental state.
Why does my stiff neck keep coming back with headaches?
A neck that stiffens again and again, with headaches that start at the back of the head on one side, can mean the upper neck is part of what drives the headaches. That is worth an assessment of how the top neck joints move and whether pressing them reproduces your familiar headache, and of the jaw, because night-time clenching and a stiff upper neck converge on the same pain relay. The realistic aim is fewer and milder headache days from the neck's share. A migraine driver stays with your neurologist.
Dr. Malek Sleem
Licensed physical therapist based in Beirut, working with headache, migraine and TMJ patients whose imaging came back clear and whose neck and jaw were never part of the conversation.

This article is general information, not a diagnosis. Painkillers, scans and any other medication are decisions for your pharmacist or doctor, and you should not change any medicine without speaking to them. If anything in the list at the top applies to you, seek medical care rather than booking a physiotherapist. Research cited via PubMed.

Keep reading

Stiff again. Headache again.

If your neck keeps locking up and the headaches keep coming with it, a doctor has ruled out the serious causes, and nobody has examined how your upper neck and jaw move, that is worth one short call. We'll tell you honestly whether it looks like something we can help with, or whether it belongs with your doctor or neurologist. Online, or in person in Beirut.

Book a Call Message Us

Not ready for a call? See where yours starts on the Headache Map, or run the Source Test: three physical checks, about two minutes.