When your neck hurts, the right combination of sleeping position, pillow setup, and a few minutes of stretching before bed can make the difference between waking up better or worse. The goal is keeping your cervical spine in a neutral line, meaning your head, neck, and upper back form a gentle, natural curve without any twisting or sharp angles.
The Two Best Sleeping Positions
Back sleeping and side sleeping are both safe choices when your neck hurts. Each one keeps your head facing forward rather than twisted to one side, which is the single biggest factor in whether you wake up with more or less pain.
If you sleep on your back, your spine stays relatively straight as long as your pillow isn’t propping your head too far forward. The key is that the pillow fills the natural curve behind your neck without pushing your chin toward your chest. A pillow between 3 and 5 inches thick works for most people in this position.
If you sleep on your side, you need a slightly thicker pillow because your shoulder creates a gap between your neck and the mattress. That same 3 to 5 inch range applies, but broader-shouldered people will land on the higher end. Your ear, shoulder, and hip should form a roughly straight line when viewed from behind.
Why Stomach Sleeping Makes It Worse
Stomach sleeping forces your head to turn fully to one side so you can breathe. That twist pulls your entire spine out of alignment for hours at a time, stretching the muscles on one side of your neck while compressing the other. It also extends your neck backward, putting pressure on the vertebrae. The result is often morning soreness, stiffness, and sometimes tingling or numbness in one arm from compressed nerves.
If you can’t break the habit overnight, use a very thin pillow (3 inches or less) to minimize how far your neck bends. But switching to your back or side, even partially, will do more for your pain than any other single change.
How to Set Up Your Pillow
The pillow’s job is to fill the space between your neck and the mattress without tilting your head in any direction. A pillow that’s too thick pushes your head upward (or forward, if you’re on your back). One that’s too flat lets your head drop, straining the opposite side of your neck.
Rubber (latex) and spring-core pillows outperform feather pillows for neck pain. A meta-analysis of pillow studies found that rubber pillows significantly reduced both waking pain and neck disability compared to standard options. Interestingly, pillow design didn’t improve overall sleep quality for people with chronic neck pain, but it did reduce the pain itself and how much it limited their movement the next day. If you’re shopping for a new pillow, latex or a supportive spring-core design is worth the investment.
The Rolled Towel Trick
If you don’t want to buy a new pillow tonight, a rolled towel can add targeted neck support to whatever pillow you already have. Fold a small hand towel in half lengthwise, then roll it tightly into a cylinder about 3 to 5 inches in diameter. Secure it with rubber bands so it holds its shape, then slide it inside your pillowcase.
For back sleeping, position the roll directly under the curve of your neck so it acts like a built-in cervical support. For side sleeping, place it so it fills the gap between the side of your neck and the pillow’s surface. This is a surprisingly effective fix that physical therapists commonly recommend.
Mattress Firmness Matters Too
Your pillow can only do so much if your mattress is letting your body sink unevenly. There’s no single ideal firmness for neck pain. It depends on your body size, your sleeping position, and the specific problem causing your pain.
As a general guide on the standard 1 to 10 firmness scale: side sleepers do best on a soft to medium-firm surface (roughly 4 to 6.5), back sleepers on a medium to medium-firm surface (5 to 6.5), and stomach sleepers on a medium-firm to firm surface (around 6.5 or above). The common thread is that your spine should stay level. If your hips sink deeply into a soft mattress while your shoulders stay elevated, your neck compensates for that misalignment all night.
Stretches to Do Before Bed
A few minutes of gentle neck stretching before you lie down can release some of the tension that built up during the day, giving you a better starting point for sleep. These should feel like mild tension, never sharp pain.
- Chin tuck: Drop your chin slowly toward your chest until you feel tension along the back of your neck. Hold for 15 to 30 seconds, then slowly lift back to neutral.
- Side rotation: Turn your head to look over one shoulder, keeping your shoulders straight and still. Hold 15 to 30 seconds, then repeat on the other side.
- Lateral tilt: Tilt your head so one ear moves toward the same-side shoulder. Don’t lift your shoulder to meet it. Hold 15 to 30 seconds, then switch sides.
Breathe normally through each stretch. If any movement causes pain rather than gentle pulling, back off. The goal is relaxation, not forcing range of motion.
Other Small Changes That Help
Beyond position and pillows, a few habits can reduce how much strain your neck absorbs overnight. Avoid falling asleep on a couch or in a recliner, where your head often tilts at odd angles without proper support. If you tend to read or watch your phone in bed, hold the screen at eye level rather than looking down, since that pre-loads tension into your neck muscles right before sleep.
If your neck pain persists beyond a week or two despite these adjustments, or if you notice consistent numbness, tingling, or weakness in your arms or hands, that points to something beyond a positional problem. Conditions like disc herniations or nerve compression benefit from targeted treatment that sleep adjustments alone won’t resolve.

