Skip to content
MediBilbao Salud

Back and neck MediBilbao Salud

Neck Pain From Sleeping: Causes, Relief and the Best Sleeping Position

Waking up with a stiff, painful neck is very common. It usually comes from sleeping in an awkward position, an unsuitable pillow or muscles that were already tense. Most cases settle within a few days with gentle movement and heat, and small changes to how you sleep can stop it from coming back.

Topic
Physical therapy
Updated
Reading time
5 minutes
Reviewed by
Dr. Itziar Gotxi Erezuma · Medical doctor (ENT) · Bizkaia Medical Association no. 48/4809228

Why you wake up with neck pain

While you sleep, your neck can stay in one position for hours. If that position twists the neck, bends it to one side or pushes it forward, the muscles, ligaments and small joints of the neck are strained. Because muscles relax during sleep, they offer less protection. When you wake and try to move, irritated tissues become painful and nearby muscles go into protective spasm. A cross-sectional study of sleep posture found that people who spent more time in certain positions reported more waking spinal symptoms.

Common causes

  • Stomach sleeping: the head is turned to one side for hours.
  • Pillow problems: too high, too flat, too soft or too old.
  • Falling asleep sitting up: on a sofa, in a car or on a plane.
  • Sleeping with arms overhead, which can strain the shoulders and neck.
  • Muscle tension from stress or long screen use during the day.
  • Existing neck problems such as arthritis or a previous injury.
  • Sudden movement when waking or turning in bed.

Quick relief

  • Keep moving gently; do not keep the neck completely still.
  • Apply heat for 15–20 minutes: a warm shower, heat pack or hot water bottle wrapped in a towel.
  • Take paracetamol or ibuprofen if suitable for you.
  • Turn your whole body rather than just the head when you need to look around.
  • Avoid neck collars, which can slow recovery.
  • Massage the area gently or ask someone to help.

Gentle exercises

  • Neck rotations: turn slowly to each side within comfort, 5–10 times.
  • Side bends: ear toward shoulder, 5–10 times each side.
  • Chin tucks: glide the head back, 10 times.
  • Shoulder rolls: 10 backward circles.
  • Upper trapezius stretch: hold 20–30 seconds each side.
  • Repeat several times a day; aim for gradual improvement rather than full range at once.
  • See our guide to neck muscle strain for more.

The best sleeping position for neck pain

Sleeping on your back or on your side is usually best for the neck. On your back, use a pillow that supports the natural curve of the neck without pushing the head forward; a small rolled towel inside the pillowcase under the neck can help. On your side, the pillow should fill the space between the ear and the mattress so that the head is level with the spine, not tilted up or down; a pillow between the knees keeps the rest of the spine aligned. Stomach sleeping is the hardest on the neck; if you cannot sleep any other way, use a very thin pillow or none.

Choosing a pillow

  • The right height depends on your shoulder width and sleeping position: side sleepers need a higher pillow than back sleepers.
  • Choose a pillow that keeps your nose in line with the middle of your chest.
  • Contoured or cervical pillows suit some people, but there is no single best pillow.
  • Replace pillows that are lumpy or flat, usually every one to two years.
  • Studies show people’s waking symptoms vary with pillow type, so trial and comfort matter.
  • A pillow alone rarely fixes neck pain that has other causes.

Preventing morning neck pain

  • Avoid falling asleep on the sofa or sitting up.
  • Use a travel pillow on journeys.
  • Take screen breaks and set up your workstation well during the day.
  • Do a few neck and shoulder stretches before bed.
  • Manage stress with relaxation, exercise and good sleep habits.
  • Strengthen your upper back and neck muscles regularly.

When to see a doctor or physical therapist

Most morning neck pain improves within a few days to a week. See a doctor or physical therapist if pain lasts more than a couple of weeks, keeps coming back, spreads into the arm with numbness or tingling, or comes with headaches. Seek urgent care for the warning signs listed above. A physical therapist can identify contributing factors and give an exercise plan.

Three common situations

  • Woke up unable to turn the head to the left: heat, gentle movement and simple pain relief usually help within days.
  • Neck pain every morning after a new pillow: the height may be wrong for your sleeping position; try a lower or higher one.
  • Morning stiffness with arm tingling: a nerve may be irritated; see a professional.

Key points to remember

  • Morning neck pain usually comes from position, pillow or tension.
  • Keep moving gently and use heat for relief.
  • Sleep on your back or side with a pillow that keeps your neck level.
  • See a doctor for warning signs or persistent pain.

Questions about neck pain from sleeping

These answers are general information and do not replace an examination or individual medical advice.

How long does a crick in the neck last?

Usually one to three days, sometimes up to a week. Gentle movement and heat speed recovery.

Is it better to use heat or ice for neck pain after sleeping?

Heat is usually more helpful for stiff, tense muscles. Ice can be used if there is a recent injury.

What is the best pillow for neck pain?

One that keeps your neck aligned with your spine in your usual sleeping position. Side sleepers need more height than back sleepers.

Should I sleep without a pillow?

Only if you sleep on your stomach. Back and side sleepers need some support to keep the neck aligned.

Can a mattress cause neck pain?

A very soft or sagging mattress can affect spinal alignment, but the pillow and sleeping position usually matter more for the neck.

Sources

  1. Grimmer-Somers K, et al. Pillow use: the behaviour of cervical stiffness, headache and scapular/arm pain. J Pain Res. 2010
  2. Cary D, et al. Examining relationships between sleep posture, waking spinal symptoms and quality of sleep: a cross sectional study. PLoS One. 2021
  3. NHS · Neck pain

This guide is for general information and does not replace medical advice. How a problem is diagnosed and treated depends on your examination and medical history. If you think you have an emergency, contact your local emergency services.