Waking up in pain, in your back, neck, or shoulders, is often linked to how you sleep: a mattress or pillow that doesn’t suit you, or a position that keeps your neck, spine or shoulder strained for hours. The NHS notes that back pain commonly comes from muscle strains and other injuries, and only very rarely signals something serious, so check when to see a doctor if yours is persistent or comes with warning signs.
Who This Is For
- You wake up with stiffness or pain in your lower back, neck, or shoulders
- The pain eases as you move around during the day
- You feel worse after sleeping longer, not better
- Your mattress feels too soft, too firm, or uneven
- You wake up with a stiff neck or a dead arm from sleeping on your side
- You struggle to find a genuinely comfortable sleeping position
Quick Summary
- Check your mattress first: sagging, excess softness, or excess firmness can all add to the problem
- Match your pillow to where the pain actually is (neck pillow for neck pain, shoulder-relieving pillow for shoulder pain)
- Sleep on your side or back, and avoid stomach sleeping
- Keep your spine in a neutral position from hips to head
- Stretch lightly before bed and again after waking
- Give changes a few nights to show results before assuming they don’t work
Why This Happens
1. Your Mattress Isn’t Supporting Your Spine
A mattress that doesn’t suit you is one common thing to rule out first. Cleveland Clinic suggests a medium-firm mattress, which it says research links to improved sleep quality and reduced chronic back pain, but comfort is personal and no single firmness suits everyone.
What happens:
- A mattress that’s too soft lets your hips sink, curving your spine out of alignment
- A mattress that’s too firm pushes back against your hips and shoulders instead of contouring to them
- An aging or sagging mattress does both at once, unevenly
If your mattress is the likely culprit, the best mattresses for back pain covers what to look for and specific options built around spinal support.
2. Your Pillow Is Misaligning Your Neck and Spine
Your pillow doesn’t just affect your neck, it affects your entire spine, because your head’s position sets the alignment for everything below it.
What happens:
- Too high a pillow pushes your neck and spine out of alignment
- Too low a pillow lets your neck collapse and your head tilt back
- The wrong pillow shape leaves your neck unsupported the moment you change position
If neck pain specifically is what’s waking you, why you wake up with neck pain goes deeper into neck-specific causes, and the best pillow for neck pain from sleeping covers pillow options built to keep your neck aligned.
3. Shoulder Pressure From Side Sleeping
If you sleep on your side, your shoulder carries a large share of your body weight for hours. Without the right pillow height and mattress give, that pressure point can leave your shoulder aching, numb, or stiff by morning.
What happens:
- A pillow that’s too flat lets your top shoulder roll forward, straining the joint
- A mattress that’s too firm concentrates pressure directly on the shoulder instead of letting it sink in slightly
- Sleeping on the same shoulder every night compounds the strain over time
If shoulder pressure is part of what’s waking you, a pillow suited for side sleepers with shoulder pain covers options built to relieve that specific pressure point.
4. Your Muscles Are Tight or Overworked
Tension from the day, or from staying in one position too long overnight, adds to whatever your mattress and pillow are already causing.
- Pressure builds when you stay in one position too long
- Muscles stiffen further overnight without movement
Improving comfort so your body can shift naturally through the night, rather than staying locked in one restrictive position, may help more than any single product.
5. Your Sleep Environment Is Working Against You
Small physical factors can make pain worse without being the root cause.
- A room that’s too warm may lead to more movement and more strain
- Uncomfortable bedding encourages poor positioning
If overheating is part of the picture, improving how you stay cool while sleeping at night may reduce the restless movement that can aggravate pain.
How to Fix It
Start With Your Mattress
If your mattress is getting old (Cleveland Clinic suggests replacing a mattress about every 10 years, particularly after an injury or a notable weight change), sags visibly, or you sleep better away from home, it’s worth ruling out first. See a mattress suited for back pain for what to look for.
Match Your Pillow to Where It Hurts
- Neck pain: use a pillow that keeps your head level with your spine, see a pillow suited for neck pain
- Shoulder pain from side sleeping: use a pillow with enough loft to keep your top shoulder from rolling forward, see the right pillow for shoulder pain
Fix Your Sleep Position
- Sleep on your side or back, stomach sleeping is often a poor fit for neck pain, because Cleveland Clinic says lying face down can put pressure on your neck and lower back over long periods
- If you’re a side sleeper, try placing a pillow between your knees to keep your hips and lower back aligned
- Alternate which side you sleep on where possible, to avoid compounding strain on one shoulder
Stretch Before Bed and After Waking
A few minutes of light stretching in the evening and again when you get up gives tight muscles a chance to loosen instead of staying locked overnight. This may help whichever part of your body is affected. If the problem is a sudden, painful knot in your calf or foot rather than stiffness, that is more likely a cramp, covered in why you get leg cramps at night.
When to See a Doctor
Much morning stiffness is mechanical and may ease with the changes above, but the NHS advises seeing a GP if back pain persists after weeks of home treatment, stops you doing daily activities, is getting worse at night, or comes with unexplained weight loss. For neck pain, Mayo Clinic advises contacting a healthcare provider if it worsens despite self-care, lasts several weeks, or comes with headache, weakness, numbness or tingling.
Get emergency help for back pain with pain, tingling, weakness or numbness in both legs, loss of feeling around the genitals or anus, bladder or bowel changes, chest pain, or pain after a serious accident (NHS). Severe neck pain after an injury, or with muscle weakness or fever, also needs emergency care (Mayo Clinic).
Practical Tips
- Give a new mattress or pillow a week or two before judging it, as your body may need time to adjust to a new alignment
- Test pillow height while lying in your actual sleep position, not sitting up
- If only one side hurts, check whether you consistently sleep on that side
- A cheap fix worth trying first: a pillow between the knees (side sleepers) or under the knees (back sleepers)
Common Mistakes
- Assuming a firmer mattress is always better for pain, too firm can cause problems too
- Buying a new pillow without matching it to your actual sleep position
- Sleeping on your stomach to feel more comfortable in the moment, at the cost of spinal alignment
- Judging a new setup after one night instead of giving it time to work
- Ignoring pain that spreads, worsens, or wakes you specifically at night
If the pain is not confined to one area from an obvious sleep position but shows up widely across your body along with sleep that never feels restorative, fibromyalgia is worth ruling in or out rather than assuming it is purely mechanical.
FAQ
How do I know if my mattress is causing my back pain?
If your mattress is getting old (Cleveland Clinic suggests replacing a mattress about every 10 years, particularly after an injury or a notable weight change), sags visibly, or you consistently sleep better away from home, it may not be supporting you well. A mattress that’s too soft lets your hips sink out of alignment, while one that’s too firm pushes back against your hips and shoulders instead of contouring to them.
Why does my shoulder hurt specifically when I sleep on my side?
Side sleeping puts a large share of your body weight on one shoulder for hours. A pillow that’s too flat lets your top shoulder roll forward and strain the joint, and a mattress that’s too firm concentrates pressure directly on the shoulder instead of letting it sink in slightly, which is worse if you consistently favor the same side.
How long should I give a new mattress or pillow before deciding if it helped?
Give it a week or two before judging it, since your body may need time to adjust to a new alignment. Judging a new setup after just one night is one of the most common mistakes people make when trying to fix sleep-related pain.
When should back, neck, or shoulder pain from sleeping be checked by a doctor?
Adjusting your mattress, pillow and sleep position may ease morning pain, but the NHS advises seeing a GP if back pain persists after weeks of home treatment, stops you doing daily activities or is getting worse at night. Mayo Clinic advises seeing a provider for neck pain with numbness, tingling, weakness or headache. Get emergency help for pain, tingling or numbness in both legs, bladder or bowel changes, or pain after a serious accident.
Key Takeaways
Waking up with back, neck, or shoulder pain is often linked to a mattress, pillow, or sleep position that isn’t working for you. Matching your pillow to where it actually hurts, checking your mattress, sleeping on your side or back, and giving changes a couple of weeks are sensible first steps. If the pain persists, worsens, or comes with numbness, tingling or weakness, see a doctor.
Related Reading
- Best Sleeping Position: Side, Back, or Stomach? What Actually Matters
- Why Do I Wake Up With Neck Pain?
- Best Mattress for Back Pain Sleep (2026)
- Best Pillow for Neck Pain From Sleeping (2026)
- Best Pillow for Shoulder Pain Sleeping (2026)
- How to Improve Sleep Quality Naturally (7 Proven Ways That Work)
Widespread, hard-to-pin-down pain has its own distinct pattern worth knowing about, Fibromyalgia and Sleep: Why Rest Never Feels Restorative explains why rest can feel incomplete even after a full night in bed.
About This Article
Written by the Sleep Fixes editorial team. We’re not medical professionals, we research each topic against primary sources and hold ourselves to being critical and thorough about what actually makes it onto the site.
This article is part of Sleep Fixes, a site focused on practical, easy-to-follow solutions for common sleep problems like night waking, dry mouth, overheating, and disrupted sleep.
The content is based on widely accepted sleep and posture principles and common real-world patterns, with a focus on simple changes that may improve sleep quality.
It is not medical advice. If your pain is severe, persistent, spreading, or worsening, consider consulting a qualified healthcare professional.
