Ask what the best sleeping position is and you will get confident, contradictory answers. The honest one is that there is no universally best position: sleep quality matters more than sleep geometry, and the body shifts position dozens of times a night regardless of how you start.
But when a specific joint is painful, the starting position and a well placed pillow or two genuinely change how the night goes and how the morning feels. Here is the setup for each common problem.
Lower back pain
Side lying, knees slightly bent, one firm pillow between the knees. The pillow stops the top leg dropping across, which twists the pelvis and lower back for hours at a time. Thick enough that the top knee stays level with the hip.
On your back works too: a pillow under the knees takes the pull of the hip flexors off the lumbar spine. During a flare, some people find a folded towel in the waist gap adds comfort.
Front sleeping is the position most sore backs and necks tolerate worst, because it parks the spine in extension with the head cranked fully to one side. If you can only sleep prone, a thin pillow under the pelvis softens it. Morning stiffness that eases within half an hour of moving is typical of an irritable back, as covered in our guide to lower back pain.
Neck pain and headaches from the neck
The whole job is one measurement: the pillow should fill the gap between head and mattress so the neck lies level with the rest of the spine.
- Side sleepers need a firmer, higher pillow, roughly the width of your shoulder
- Back sleepers need a lower one, or the head is pushed into flexion all night
- Front sleeping holds the neck rotated for hours and is the single habit most worth changing for recurrent neck pain and neck driven headaches
One decent pillow at the right height beats two stacked ones, which usually overshoot.
Hip pain, worst lying on one side
Pain over the outer hip that wakes you when you lie on that side is usually gluteal tendinopathy, a compression problem rather than bursitis, and the bed is where it gets provoked. The fix is covered fully in our guide to hip pain at night: a thick pillow between the knees so the top knee cannot drop across the midline, avoiding lying on the painful side while it is irritable, and never sleeping with one leg hitched up over the other.
Shoulder pain
Do not lie on the painful shoulder while it is angry; compression is the main provocation. Lying on the good side, hug a pillow so the sore arm rests on it rather than dropping across the chest, which winds the shoulder into the pinching position described in our guide to shoulder pain when lifting the arm. On your back, a small cushion under the upper arm stops it falling into the mattress.
The mattress question
The evidence here is thinner and cheaper than the industry suggests. Trials point mildly towards medium firm surfaces for back pain, and no further. Beyond that:
| Claim | Verdict |
|---|---|
| Firmer is always better for backs | No. Very firm surfaces often test worse than medium firm |
| One mattress suits everyone | No. Body weight and shape change what supports you |
| A good mattress fixes back pain | It removes an aggravator at best. Pain has other drivers |
| Replace every few years regardless | Only when visibly sagging or you wake worse than you slept |
A sagging decade old mattress is worth replacing. An expensive upgrade bought to cure pain usually disappoints, so change the pillows and positions first; they cost a fraction and do more.
One more honest note: position advice matters for falling asleep and for the first stretch of the night. After that you will move, and that is healthy. The aim is removing the worst sustained positions, not policing your sleep.
When the night itself is the clue
Pain that wakes you occasionally as you roll is ordinary. Patterns that deserve assessment: being woken every night at a similar time regardless of position, pain that is constant and unchanged by any position, night pain with fever, unexplained weight loss or feeling unwell, or morning stiffness lasting well over an hour, which points towards inflammatory causes rather than mechanical ones.
Get it assessed if
A specific joint reliably ruins the night despite two weeks of the setups above, you need painkillers to get through most nights, or any of the warning patterns just listed applies. Night symptoms respond well once the actual source is identified, and the examination for that takes one appointment.
Otherwise: right pillow height for the neck, a pillow between the knees, off the sore side, and spend the mattress money on something more fun.

