Back and hip pain

Neck pain from sleeping wrong: what to do today, how long it lasts and how to stop it coming back

You turned your head this morning and it caught. Now it hurts to look over your shoulder. A neck that locked up overnight is one of the most common reasons for neck pain, and it usually settles with a few simple steps.

A woman with short gray hair sits on the edge of her bed in pajamas, eyes closed and head tilted back, pressing one hand into her back in a softly lit bedroom

The short answer: neck pain from sleeping wrong happens when your neck is held in an awkward position for hours, and it usually improves within a week or two. To ease it, keep your neck gently moving, use a heat or cold pack, and ask a pharmacist about pain relief. Sleep with your head level with your body. See a doctor if it lasts more than a few weeks.

The NHS names a neck that locks in an awkward position while you sleep as one of the most common causes of neck pain.

Why does my neck hurt when I wake up?

Your neck hurts in the morning because it spent hours bent, twisted or tipped at an angle it doesn’t like. Physiotherapists at the Chartered Society of Physiotherapy (CSP) say the most likely cause of neck pain is a strain of one of the small joints on the side of the neck, called facet joints. Serious structural damage is rare.

Cleveland Clinic explains the sudden lock: a joint catches as you turn your head, and the muscles around it clamp down in a protective spasm.

The usual suspects are a pillow that’s too high or too flat, sleeping on your stomach with your head turned, and a soft mattress. Cleveland Clinic’s chiropractor says stomach sleeping is usually the culprit when people come in with pain they know is related to sleep. The CSP adds that poor sleep, stress, muscle tension and low activity all make the neck more sensitive.

How do you relieve neck pain from sleeping wrong?

Keep your neck moving gently, use heat or cold, and get the right pain relief. The NHS says not to wear a neck collar, because it’s better to keep your neck moving. NHS physiotherapists in Norfolk and Waveney add that using your neck as normally as you can is safe and the right thing to do, even if it clicks or creaks.

WhenWhat to doSource
First thingTake a warm shower and let the water run over your neckCleveland Clinic
MorningSlow turns, tilts and nods, only as far as is comfortableNHS, Cleveland Clinic
Through the dayCold pack wrapped in a towel for 5 minutes, 3 times a day, or a wrapped hot water bottle for 20 minutes, 2 to 3 times a dayNHS
At your desk or in the carRoll your shoulders back and down 10 times; squeeze your shoulder blades together 10 timesCleveland Clinic
All dayAvoid jerky or painful movements, and skip driving or cycling if you can’t turn your headNHS, Cleveland Clinic
BedtimeGentle stretches, then a low, firm pillow that keeps your head levelCleveland Clinic, NHS

Pain relief. The NHS lists over-the-counter painkillers, including gels you rub on your neck. Ask a pharmacist which one is safe for you, especially if you take other medicines or have a health condition.

Our guide to neck pain exercises sets out eight gentle moves with holds and reps.

Should I use heat or ice for a stiff neck?

Either can help, and the NHS says to try whichever eases your pain. Cleveland Clinic gives a simple rule: ice works best for a fresh ache, and heat suits muscles that feel tight and stiff.

ColdHeat
Best forA new ache, or right after an injuryTight, knotted muscles and stiffness
How it worksNarrows blood vessels to calm swelling and painIncreases blood flow and loosens muscles
What to useFrozen peas or an ice pack wrapped in a tea towelHot water bottle in a towel, warm shower, heating pad on its lowest setting
How longNHS: 5 minutes, 3 times a day. Cleveland Clinic: no more than 20 minutesNHS: 20 minutes, 2 to 3 times a day

One Cleveland Clinic article suggests ice for the first 48 to 72 hours, then heat. Always wrap the pack to protect your skin, and never fall asleep with a heating pad or ice bag on your neck.

How long does neck pain from sleeping wrong last?

Most neck pain from strain gets better within a week or two, according to Cleveland Clinic, though it can take a few months to disappear completely. The NHS says most neck pain lasts only a few weeks.

TypeHow longWhat it means
Acute neck painDays to 6 weeksThe usual pattern after sleeping awkwardly
Slow to settleA few weeksSee a doctor if it isn’t going away (NHS)
Chronic neck painLonger than 3 monthsResearch suggests exercise is the most effective treatment (CSP)

The CSP says most neck problems get a lot better within three months, and around half of people have it come back at some point. That’s why the setup below matters as much as today’s fixes.

What is the best sleeping position for neck pain?

The best sleeping position for neck pain is on your back or your side, with your head level with the rest of your body. Cleveland Clinic and the NHS both advise against sleeping on your stomach, because it leaves your neck twisted for hours.

PositionPillowTips
On your backLow enough that your chin doesn’t point at your chest, high enough that it doesn’t point at the ceilingPuts the least pressure on your spine
On your sideThick enough to fill the gap between your ear and the mattress so your head doesn’t droopLook forward, don’t tuck your chin, and switch sides
On your stomachBest avoidedA body pillow can help you stay on your side

Choosing a pillow. Cleveland Clinic’s rule of thumb is that your pillow should keep your neck parallel to the mattress. The most common mistake is a pillow that bends your neck forward or to one side. Contour pillows suit most people, while feather pillows shift as you move and give little support. A firm mattress needs a thicker pillow, and a pillow-top mattress or foam topper needs a thinner one, because your shoulder sinks in more.

There’s no ideal number of pillows, say NHS physiotherapists. Use the number that makes your neck feel comfortable. The NHS also suggests a firm mattress and not twisting your neck in bed. If your lower back aches at night too, read how to sleep with lower back pain.

When should you worry about a stiff neck?

Worry about a stiff neck when it comes with a fever, a severe headache or a rash, or when you can’t stand bright light. These can be signs of meningitis. The NHS says to call for emergency help right away if you have a stiff neck and can’t look at bright lights, a very high temperature, a rash that doesn’t fade when you press a glass against it, confusion, or a first seizure.

Call 911 or go to the emergency room if your stiff neck comes with:

  • A fever and a severe headache that’s getting worse
  • Pain when you look at bright lights, or vomiting
  • A rash that doesn’t fade under a glass
  • Confusion, slurred speech, or being very sleepy or hard to wake

Get urgent medical care if your neck pain comes with:

  • Loss of bladder or bowel control
  • Numbness, tingling or weakness in your arms, shoulders or legs
  • Loss of coordination in your arms or legs
  • Headache, dizziness or nausea
  • Chills or weight loss you can’t explain
  • Pain that stays the same whether you move or keep still

If your neck pain started after a car accident, a fall or a blow to the head, get it checked by a doctor. The CSP lists violent trauma as a reason to see one. Cleveland Clinic says to use cold, not heat, right after an injury.

When should you see a doctor for neck pain?

See a doctor if your neck pain hasn’t gone away after a few weeks, the NHS says. Book an appointment sooner if:

  • Painkillers haven’t helped
  • You have pins and needles, or an arm that feels cold
  • The pain is severe and constant, or keeps waking you up
  • It’s stopping you from working or doing daily tasks
  • You have a history of cancer, a weak immune system or inflammatory arthritis
  • You’re worried about it

A physical therapist can also help. NHS physiotherapists say an X-ray or scan usually doesn’t help a neck get better, because the results often show normal changes that aren’t the reason it hurts.

Your next step

Today, take a warm shower and try the slow turns and nods. Tonight, check that your pillow keeps your head level, and stay off your stomach. Tomorrow, start the 5-minute routine in our neck pain exercises guide. Upper back sore too? Read about back pain between the shoulder blades. For bad days, keep the free back pain rescue card handy. If your lower back hurts as well, The Back Pain Reset below sets out ten-minute sessions for 28 days.

The Back Pain Reset cover

If your back is holding you back

The Back Pain Reset

A simple 28-day plan with ten-minute sessions, 12 exercises with pictures and a rescue card. Only $3.

Quick questions

How do you fix a stiff neck from sleeping wrong fast?

Keep your neck gently moving, put a wrapped heat or cold pack on it, and take a warm shower. The NHS advises against a neck collar because movement helps it recover. Ask a pharmacist which pain reliever is safe for you. Most stiff necks from sleeping awkwardly ease within a week or two.

How long does neck pain from sleeping wrong last?

Usually a few days to a couple of weeks. Cleveland Clinic says neck pain from strain typically improves within a week or two, though it can take a few months to go completely. The NHS says to see a doctor if neck pain or stiffness hasn’t gone away after a few weeks.

Should I sleep without a pillow if my neck hurts?

It depends on how you sleep. Cleveland Clinic suggests trying a firm mattress with no pillow or with a special neck pillow. The goal is to keep your neck parallel to the mattress. Side sleepers usually need a pillow thick enough to stop the head drooping. The NHS suggests a low, firm pillow that keeps your head level.

Is it better to use heat or ice on a stiff neck?

Both can help, so use whichever eases your pain. Cleveland Clinic says ice works best for a new ache or right after an injury, and heat helps tight, knotted muscles. The NHS suggests a wrapped cold pack for 5 minutes, or a wrapped hot water bottle for 20 minutes, a few times a day.

Can sleeping wrong pinch a nerve in your neck?

A pinched nerve is one of the common causes of neck pain the NHS lists, alongside an awkward sleeping position. Signs that a nerve is involved include pain that shoots into your shoulder or arm, numbness, or pins and needles. See a doctor if you have any of these, or if your arm feels weak or cold.

When is a stiff neck an emergency?

A stiff neck is an emergency when it comes with a fever, a severe headache, a rash that doesn’t fade under a glass, pain looking at bright lights, or confusion. These can be signs of meningitis, the NHS says. Call 911. Also get urgent help for numbness, weakness or loss of bladder control.

This article is general information, not medical advice. If you have a stiff neck with a fever, a severe headache or a rash, call 911. If your neck pain follows an injury, or you have numbness or weakness in your arms, see a doctor. Ask a pharmacist or doctor before using any pain reliever, especially if you take other medicines.

Sources