The right combination of sleeping position, pillow height, and a few pre-bed habits can dramatically reduce neck and shoulder pain overnight. Most nighttime pain in this area comes down to alignment: your head, neck, and shoulders spending hours in a position that stretches, compresses, or strains the surrounding muscles and joints. Fixing that alignment is straightforward once you know what to adjust.
The Two Best Sleeping Positions
Back sleeping and side sleeping are both good options, but each requires a slightly different setup to keep your cervical spine (the neck portion) in a neutral curve rather than bent or twisted.
If you sleep on your back, the main goal is choosing a pillow height that keeps your head looking straight at the ceiling. A pillow that’s too flat will tilt your jaw toward the ceiling, overstretching the front of your neck. One that’s too thick pushes your chin toward your chest, compressing the joints in the back of your neck. Research on pillow height suggests roughly 7 to 10 centimeters (about 3 to 4 inches) works for most adults lying face up, though your frame matters. For shoulder pain specifically, try resting the affected arm on a folded blanket or a low, flat pillow beside you. This keeps the shoulder from rolling inward and tugging on the joint.
If you sleep on your side, you need a taller pillow to fill the gap between your ear and the mattress. Studies on lateral sleeping comfort point to about 10 centimeters (4 inches) of loft as a good starting point, but broader-shouldered people often need more. The key test: your nose should line up roughly with the center of your chest, not tilt up or down. Avoid tucking your chin, which collapses the natural curve of your neck. Keep your thighs aligned with your torso rather than curled tightly toward your chest. If one shoulder is the problem, sleep with that shoulder facing up and hug a pillow or stack of pillows in front of you so your top arm rests at body height. This creates a “shelf” that prevents the arm from pulling downward on the joint all night.
Why Stomach Sleeping Makes It Worse
Stomach sleeping is the single worst position for neck and shoulder pain. It forces your head to rotate to one side for hours so you can breathe, which keeps the neck out of alignment and loads stress onto the muscles connecting your neck, shoulder blade, and upper back. By morning, those muscles are tight and inflamed. If you already have a condition like a herniated disc or osteoarthritis in the neck, sleeping face down can make it significantly worse. Transitioning to your side or back is one of the highest-impact changes you can make.
Choosing the Right Pillow
A contoured cervical pillow, the kind with a lower center and raised edges, is designed with this exact problem in mind. The lower center cradles your head when you’re on your back, and the raised sides support your neck when you roll to the side. A small study of adults with chronic neck pain found that switching from a standard pillow to a properly shaped cervical pillow led to statistically significant reductions in both pre-sleep and post-sleep pain scores, along with improved sleep quality.
If you’re not ready to buy a new pillow, the principles still apply. Memory foam in medium density (often labeled 40D or 60D) conforms well to the head and neck without bottoming out. Whatever you use, the critical measurement is the distance from your ear to the outside of your shoulder. That gap is what the pillow needs to fill when you’re on your side. For back sleeping, the relevant measurement is the depth of the curve between the back of your neck and the mattress surface.
Mattress Firmness and Upper Body Support
Formal research on mattress firmness and neck pain specifically is thin, but the evidence from back pain studies offers a useful principle: medium-firm consistently outperforms hard. In one randomized trial, a hard mattress produced worse pain scores, more daytime disability, and fewer reported hours of sleep compared to medium-firm and foam alternatives. A mattress that’s too firm doesn’t let your shoulder sink in enough when you’re on your side, which pushes your neck into a lateral bend. Too soft, and your whole torso sags, collapsing spinal alignment. Medium-firm gives the shoulder and hip enough give to stay level while still supporting the spine.
Sleeping With a Rotator Cuff Injury
Rotator cuff tears deserve special mention because lying down can feel dramatically worse than standing. Gravity changes the way your arm’s weight pulls on the torn tissue, increasing the tugging and tension on the tear. The best approach is sleeping on the opposite side with the injured shoulder facing up, then building a wall of pillows in front of your body at roughly torso height. Rest your injured arm on that pillow wall so the shoulder blade and arm are fully supported in a neutral position, not dangling or reaching forward. Some people with severe tears find it easier to sleep in a reclined position, like a recliner chair, for the first few weeks until inflammation settles.
Heat, Ice, and Pre-Sleep Timing
What you do in the 20 minutes before bed can set the tone for the whole night. Temperature therapy is one of the simplest tools. If your pain started recently, from a strain or new injury, ice is the better choice. Cold reduces inflammation, decreases muscle spasms, and can speed early recovery. Apply it for 15 to 20 minutes before getting into bed.
For chronic or ongoing stiffness, moist heat tends to work better. It raises pain thresholds and loosens tight muscles, particularly helpful for osteoarthritis-related neck and shoulder pain. A warm towel, microwavable heat wrap, or a hot shower focused on the neck and shoulders can all work. One important rule: don’t apply heat to an area that’s visibly swollen, red, or hot to the touch, as it can worsen inflammation.
Pre-Bed Stretches That Help
About 10 minutes of gentle stretching before bed can reduce the muscle tension you carry into sleep. Physical therapists at the Hospital for Special Surgery recommend a short routine targeting the neck, upper back, and chest:
- Neck side stretch: Tilt your ear toward your shoulder until you feel a stretch along the upper trapezius. Hold 20 to 30 seconds, repeat two to three times per side.
- Neck rotation: Turn your head to look over one shoulder, feeling the stretch through the shoulder blade area. Hold 20 to 30 seconds, repeat two to three times per side.
- Chest and shoulder stretch: Stand in a doorway with your forearm against the frame at shoulder height, then gently lean forward until you feel a stretch across the chest and front of the shoulder. Hold 30 seconds, repeat two to three times.
- Lying T-twist: Lie on your side with arms stacked in front of you, then rotate your top arm open to form a T shape, letting your upper back rotate with it. Hold 10 seconds, repeat three to five times per side.
These stretches target the muscles most likely to tighten overnight: the trapezius along the top of the shoulders, the pectorals across the chest (which pull the shoulders forward when tight), and the small rotator muscles of the upper back.
Signs Your Pain Needs Medical Attention
Most neck and shoulder pain that worsens at night responds to position changes, better pillows, and consistent stretching within a few weeks. But certain symptoms point to nerve involvement that warrants prompt evaluation: numbness or tingling that travels down your arm or into your fingers, noticeable weakness in your hand or grip, or new clumsiness with fine motor tasks like buttoning a shirt. These can signal compression of the spinal cord or a nerve root, which requires different treatment than muscular pain alone.

