How to Sleep With Pain: Best Positions, Pillows and Mattresses
Pain and poor sleep feed each other. Small changes to how you lie, what supports you and how you wind down can break the cycle.
What is the best way to sleep when you are in pain?
Keep your spine in a straight, relaxed line and support the sore area with pillows. For most people that means sleeping on the back with a pillow under the knees, or on the side with a pillow between the knees, and avoiding stomach sleeping. Pain and sleep work both ways: poor sleep can make pain feel worse the next day (Sleep Foundation).
Best Sleeping Position for Your Pain
Use this as a starting point, then test one change for a few nights before deciding whether it helps.
| Where it hurts | Try this | Avoid |
|---|---|---|
| Lower back | On your back with a pillow under your knees, or on your side with a pillow between them | Stomach sleeping on a soft mattress |
| Sciatica | On the pain-free side, knees slightly bent, firm pillow between the knees | Lying on the painful side |
| Neck | Back or side, with a pillow that keeps your head level with your spine | Stomach sleeping, very high or flat pillows |
| Shoulder | Back, or the other side, hugging a pillow to support the sore arm | Lying on the painful shoulder or arm overhead |
| Hip | The pain-free side with a pillow between knees and ankles | Lying on the sore hip, crossing the top leg over |
| Knee | Side with a pillow between the knees, or back with a thin pillow under them | Keeping the knee tightly bent all night |
| Upper back | Back or side, hugging a pillow so the top shoulder does not roll forward | Stomach sleeping |
These tips follow guidance from Cleveland Clinic.
How to Choose a Pillow When You Have Pain
- Side sleepers usually need a fuller pillow that fills the gap between ear and shoulder.
- Back sleepers usually do better with a thinner pillow, so the chin is not pushed toward the chest.
- A knee pillow (or any firm pillow) between the knees is one of the cheapest, most useful changes for back, hip and sciatica pain.
- Replace flat or lumpy pillows. If you fold your pillow in half to get enough height, it no longer supports you.
Tip: lie in your usual position and ask someone to look at you from behind or the side. Your nose, chin and breastbone should line up with the middle of your body.
How to Choose a Mattress for Back or Joint Pain
There is no single best mattress for pain. The right one keeps your spine level in the position you sleep in, without pressure points at the shoulder or hip.
- Back and stomach sleepers often prefer a firmer surface so the hips do not sink.
- Side sleepers with shoulder or hip pain often need a softer comfort layer to cushion those points.
- Not ready to replace your mattress? A good topper can soften a hard bed, and a board under a sagging one can help short term.
- Use the trial period. Many brands let you test at home for several weeks; your body needs time to adjust.
A 30-Minute Wind-Down for Painful Nights
- Warm up stiff muscles: a warm shower or heat pack for 15 minutes.
- Move gently: two or three easy stretches from your area guide.
- Set up your pillows before you lie down, so you are not rearranging in pain.
- Keep the same bedtime and wake time, even after a bad night.
- If you cannot sleep after about 20 minutes, get up, do something quiet in dim light, and go back when sleepy.
When Pain Keeps You Up: What Nobody Tells You
Night pain is lonely. Everyone else is asleep, the pain feels louder in the dark, and tomorrow is already looking harder. Here is what usually goes unsaid.
"I'm exhausted, but I can't switch off."
Pain, worry and poor sleep tend to feed each other (Harvard Health). Lying awake fighting it usually makes it worse.
Your next step: try a slow breathing pattern in bed: in for four, out for six, for five minutes.
"My partner and I keep waking each other."
Tossing and turning disturbs both of you, and some couples quietly start sleeping apart without talking about it.
Your next step: talk openly about what helps you. Separate blankets, a bigger bed or a temporary separate room on bad nights are practical, not a sign of trouble.
"I dread going to bed."
After weeks of bad nights, bedtime itself can become a source of stress.
Your next step: keep a short evening routine that feels pleasant, not clinical: a warm drink, a book, low light.
"Is it just the pain?"
Sometimes not. Loud snoring, gasping, restless legs or insomnia lasting more than three months are worth checking separately, because they can be treated in their own right (Sleep Foundation).
Your next step: mention your sleep at your next appointment and ask whether a sleep check or insomnia therapy (CBT-I) could help.
Sleep Positions and a Daily Routine in One Guide
The Pain-Free Body Protocol
Want the whole routine in one place? Pain-friendly sleeping positions are only one part of the picture. This illustrated guide pairs them with a short daily routine and simple habits that make nights easier.
Large print · step-by-step illustrations · 10–15 minutes a day
Get the Pain-Free Body ProtocolE-book · US $17.99 · instant download
Frequently Asked Questions
What is the best sleeping position for lower back pain?
For most people, lying on the back with a pillow under the knees, or on the side with a pillow between the knees. Both keep the spine in a neutral line. Stomach sleeping tends to arch the lower back.
How should I sleep with sciatica?
On your pain-free side with your knees slightly bent and a firm pillow between them, or on your back with pillows under your knees (Cleveland Clinic).
Can a bad pillow cause neck pain?
Yes. A pillow that is too high, too flat or worn out can hold your neck at an angle all night and leave you stiff in the morning.
Is a firm mattress better for back pain?
Not always. Very hard mattresses can create pressure points. Many people with back pain do best on a medium-firm mattress that supports the spine while cushioning the shoulders and hips.
Sources
This guide is general education based on these sources. It is not medical advice.
- Best Sleeping Positions for Pain, Cleveland Clinic
- Pain and Sleep, Sleep Foundation
- How to Get Better Sleep With Sciatica Pain, Cleveland Clinic
- The pain-anxiety-depression connection, Harvard Health Publishing
Written by Silvio Paiva, Psychology Graduate (Universidade Lusíada do Porto) and PhD Candidate (Universidad de Santiago de Compostela) · Last updated November 2026 · About this site
