Neck Pain From Sleeping: Causes and Fixes

🕐 9 min read 📅 Updated July 2026
Quick Answer

Neck pain from sleeping is usually caused by a pillow or position that leaves the neck unsupported for hours, most often from stomach sleeping. Back or side sleeping with a pillow that keeps the head level with the spine, plus gentle stretching, resolves most cases within a day or two.

Working through neck pain from sleeping is easiest with one framework: the Neutral Neck Test. Ask whether your head, while asleep, stays roughly level with the rest of your spine, with no long twist to one side and no steep upward or downward angle. Most sleep-related neck pain traces back to a position or pillow that fails this test for hours at a stretch. This guide walks through how to sleep with existing neck pain, why the neck hurts after sleeping in the first place, the sleeping positions that hold up best, and what to do about a stiff or pinched-feeling neck the morning after. For general sleep setup beyond the neck, see our sleep guide.


How to Sleep With Neck Pain

If your neck already hurts, the goal at bedtime is to avoid adding any new strain while it settles. Sleep on your back or your side rather than your stomach, and choose a pillow that fills the gap between your head and the mattress without tilting your chin sharply up or down. Side sleepers generally need a firmer, slightly thicker pillow than back sleepers, since there is a wider gap to fill between the ear and the shoulder.

Avoid stacking two or three pillows to prop yourself up, since that bends the neck at an angle and holds it there all night. If you use a body pillow for side sleeping, keep the head pillow separate and sized to your shoulder width so your neck stays level rather than sagging down or tipping up. A pillow that is too flat lets the head drop toward the mattress; one that is too high pushes the chin toward the chest — both keep the neck out of its neutral line for hours.

Gentle movement before bed, such as slow neck rolls or a warm shower, can also help an already-sore neck relax into a better position rather than staying guarded and tense through the night.


Neck Pain After Sleeping

Waking up with neck pain that was not there the night before usually points to how the neck was positioned overnight rather than anything more serious. The most common drivers are stomach sleeping, a pillow mismatched to your sleeping position, an old or sagging mattress that no longer supports the spine evenly, or daytime posture — such as looking down at a phone or screen for long stretches — that carries fatigue into the night.

In most cases, morning neck pain from sleeping eases within a day or two once you change position, adjust your pillow, and move gently through the day. Pain that shows up most mornings, gets worse over time, or comes with numbness or tingling is a different pattern and is covered in the doctor guidance below.

Sore Neck From Sleeping

A sore neck from sleeping — a dull ache or tightness rather than sharp pain — is most often caused by a pillow that does not match your sleeping position, an unsupportive or worn-out mattress, or sleeping on your stomach. It can also build on top of a neck that was already fatigued from daytime posture before you even went to bed. Swapping to a supportive pillow and a back or side position is usually the first and most effective fix.

Stiff Neck After Sleeping

A stiff neck after sleeping — reduced range of motion along with the ache, so turning your head feels tight or catches — follows the same pattern as general soreness but reflects the neck muscles staying contracted through the night. Gentle range-of-motion stretches in the morning, rather than forcing the neck through painful movement, along with heat and a position change for the next few nights, typically brings the stiffness down.


Best Sleeping Position for Neck Pain

Back sleeping with a supportive pillow under the head and neck, and side sleeping with a pillow that keeps the head level with the spine, are generally the best options when neck pain is a concern. Stomach sleeping is the position most associated with neck strain, because it forces the neck to stay rotated to one side for hours at a time — there is no way to keep the neck neutral while facing down into the mattress.

Sleeping Position & Neck Support
Factor
Back
Side
Stomach
Neck alignment
Naturally neutral with a supportive pillow; no rotation needed.
Neutral if the pillow fills the ear-to-shoulder gap evenly.
Neck turned to one side for hours; hardest position to keep neutral.
Pillow needs
Medium loft, supports the natural curve under the head and neck.
Firmer, thicker pillow to match shoulder width.
Thin or no pillow reduces strain, but does not remove the rotation.
Common trade-off
Can be less comfortable for people with sleep apnea or heavy snoring.
Shoulder pressure if the mattress is too firm.
Most consistently linked to next-day neck stiffness.
Back and side sleeping keep the neck closer to a neutral line; stomach sleeping keeps it rotated all night.

Whichever position you use, matching pillow height and firmness to that position matters as much as the position itself — a great position with the wrong pillow can still leave the neck unsupported.


How to Sleep With a Stiff Neck

To ease a stiff neck at bedtime and through the night, start with a warm shower or warm compress to relax the muscles before you lie down, then choose back or side sleeping with a pillow that keeps your head level rather than tilted. Gentle, slow neck stretches — not forceful movement or cracking — can loosen tightness without adding strain.

Over-the-counter pain relief may help some people manage discomfort while the neck settles, but check with a pharmacist or doctor before starting any medication, particularly if you already take other medicines or have underlying health conditions. If the stiffness keeps returning night after night, it is worth looking at your pillow, mattress, and daytime posture as a set rather than treating each night in isolation.

How to Sleep With a Pinched Nerve in the Neck

A pinched nerve in the neck can feel different from ordinary stiffness — sharp pain, tingling, numbness, or weakness that may radiate into the shoulder or arm. Sleeping in an awkward or twisted position can aggravate an already-sensitive nerve, so the same neutral-position guidance applies: avoid stomach sleeping, use a supportive pillow, and try side or back sleeping with the head level. Some people find a small rolled towel under the neck (not the head) adds extra support in a side or back position.

Because a pinched nerve can involve genuine nerve irritation rather than just muscle tightness, it is a case where self-treatment has limits — see the doctor guidance below for when to get it checked.

When to See a Doctor

Most neck pain from sleeping eases within a day or two with position changes, a better pillow, and gentle movement. Seek medical advice if you notice:

A doctor can rule out a nerve or joint issue that position changes alone will not fix, and can advise on safe pain relief for your situation.


Frequently Asked Questions

How should I sleep if I have neck pain?
Sleep on your back or side rather than your stomach, and use a pillow that fills the gap between your ear and shoulder so your neck stays level with the rest of your spine. Side sleepers generally need a firmer, thicker pillow than back sleepers. Avoid stacking multiple pillows or propping your head at a steep angle, since that bends the neck out of a neutral line for hours.
Why does my neck hurt after sleeping?
Neck pain after sleeping is usually caused by the neck holding an unsupported or twisted position for hours, often from stomach sleeping, a pillow that is too flat or too high, or an old mattress that no longer supports the spine. It can also follow a day of poor posture that carries into the night. In most cases it settles within a day or two with position changes and gentle movement.
What is the best sleeping position for neck pain?
Back sleeping with a supportive pillow under the head and neck, or side sleeping with a pillow that keeps the head level with the spine, are generally the best options for neck pain. Stomach sleeping is the position most associated with neck strain because it forces the neck to stay turned to one side all night.
How can I fix a stiff neck from sleeping fast?
Gentle range-of-motion stretches, a warm compress or shower, and switching to a supportive pillow can ease a stiff neck from sleeping. Avoid forcing the neck through painful motion or cracking it. Over-the-counter pain relief may help some people, but check with a pharmacist or doctor before starting any medication, especially if you take other medicines.
What causes a sore neck from sleeping?
A sore neck from sleeping is most often caused by a pillow that does not match your sleeping position, an unsupportive or worn-out mattress, sleeping on your stomach, or a neck that was already fatigued from daytime posture, such as looking down at a phone or screen for long periods.
Can a pinched nerve in the neck happen from sleeping?
Sleeping in an awkward or twisted position can aggravate an already-sensitive nerve in the neck, producing sharp pain, tingling, numbness, or weakness that may radiate into the shoulder or arm. If these nerve-type symptoms occur, especially if they are new, one-sided, or do not settle with rest and position changes, it is worth seeing a doctor rather than self-treating.
How long does neck pain from sleeping usually last?
Mild neck pain from a single night of poor positioning often improves within a day or two of gentle movement, position changes, and heat. Pain that lasts beyond about a week, keeps returning most mornings, or comes with numbness, tingling, or weakness is a signal to check in with a doctor rather than wait it out.

Sources