The best position in bed for lower back pain is usually on your back with a pillow under your knees, or on your side with a pillow between your knees. If arching your back hurts, a gentle curl on your side (the fetal position) often helps. Stomach sleeping is usually the hardest position on a sore lower back.
This guide is based on published research and the advice of spine and sleep specialists. It is general information, not a diagnosis. If your pain is severe, new, or comes with the warning signs listed below, see a doctor.
In this article
- Why a very firm mattress is not always better
- Match the position to your pain
- Get the pillows right
- Extra support for side sleepers
- The log-roll: how to move without twisting
- The first minutes after you wake up
- If you can only sleep on your stomach
- Common questions about sleeping with back pain
- Getting the rest you need
- Sources
At a Glance
- Back sleepers: a pillow under your knees.
- Side sleepers: a pillow between your knees, and a head pillow that keeps your neck level.
- Pain when you arch your back: try a gentle curl on your side.
- Mattress: medium-firm did better than firm in a trial of people with chronic low back pain.
- Getting up: roll to your side first, then push up with your arms.
Why a very firm mattress is not always better

Many people still believe a bad back needs the hardest mattress they can find. The research does not support that. In a 2003 trial published in The Lancet, Kovacs and colleagues gave 313 adults with chronic low back pain either a firm or a medium-firm mattress. After 90 days, the medium-firm group had less pain lying in bed and less disability than the firm group.
The reason is alignment. A mattress that is too firm does not let your shoulders and hips sink in, so it can leave a gap under your waist and press hard on the points that touch it. A mattress that is too soft lets your middle sag like a hammock. You want the middle ground, where your spine keeps its natural curves. If you sleep on your side, read our guide on what to do when your mattress is too firm for a side sleeper.
Myth vs fact

Myth: The firmer the mattress, the better it is for your back. Fact: In the best-known trial, medium-firm beat firm for people with chronic low back pain. The goal is a neutral spine, not a hard surface.
Match the position to your pain
There is no single best position for everyone. A useful clue is which movement makes your pain worse: bending forward (flexion) or arching backward (extension).
- Arching or standing for a long time hurts: this is common with spinal stenosis (a narrowed spinal canal) and sore facet joints. A gentle curl on your side often eases it.
- Bending forward or sitting hurts: this is common with a disc problem. Lying on your back with your knees supported, or on your side without curling up tightly, is often more comfortable.
- General stiffness: back or side, whichever lets your spine stay in a neutral line.
| What makes it worse | A common cause | Position to try | Pillow |
|---|---|---|---|
| Arching, standing, lying flat | Spinal stenosis or facet joints | Side, gently curled | Between the knees |
| Bending forward, sitting | Disc problem | Back | Under the knees |
| General stiffness or ache | Muscle strain | Back or side | Under or between the knees |
Only a doctor or physical therapist can tell you what is causing your pain. Use the table as a starting point, and stop any position that makes your pain sharper.
Get the pillows right
Pillows are not only for your head. Used as supports, they keep your pelvis from twisting or tilting, which is what strains the lower back during the night.
- Head pillow: for side sleepers it should fill the space between your ear and the mattress, so your neck stays level. Too thin and your head drops; too thick and it tilts up.
- Knee pillow for side sleepers: a firm pillow between your knees stops your top leg from sliding forward and rotating your pelvis. Some people like one that reaches down to the ankles.
- Knee pillow for back sleepers: a pillow under your knees bends them slightly and takes strain off the lower back.
Try this tonight
On your back: put a medium pillow under your knees. On your side: put a firm pillow between your knees, and check that your head pillow keeps your neck level with your spine.
Snore when you lie on your back? Our guide to the best sleep position for snoring explains why the side often helps with that too.
Extra support for side sleepers
Side sleeping is the most common position, but on many mattresses the shoulder and hip sink further than the waist. The spine then bends into a curve. If your waist is not supported, a small, flat pillow or folded towel under your waist can fill the gap and keep your spine straighter.
Hugging a pillow against your chest can also help. It stops your top shoulder and arm from falling forward, which would twist your upper body.
The log-roll: how to move without twisting

Most guides explain how to lie, but not how to get there. Twisting your upper body while your hips stay still is a common trigger for a pain spike. Physical therapists teach the “log-roll”: your shoulders, hips and knees move together, as one unit.
- Getting in: sit on the edge of the bed, then lower your upper body onto your side, using your arms to take the weight, while you lift your legs onto the bed.
- Turning over: bend your knees first, then roll your shoulders and hips together.
- Getting out: roll onto your side, let your legs slide off the edge, and push yourself up to sitting with your arms.
The first minutes after you wake up

Many people with back pain feel worst in the morning. One reason is that the discs between your vertebrae take up fluid while you lie down, so they are slightly fuller and stiffer when you wake. Spine researchers advise avoiding hard forward bending in the first hour after getting up.
Before you stand, a few gentle movements while lying down can help: ankle circles, gently bending one knee toward your chest and then the other, and a few slow breaths into your belly. Then use the log-roll to get up.
When to see a doctor
A better position can ease ordinary back pain. Get medical help straight away if you have:
- numbness in the groin, buttocks or inner thighs (the “saddle” area);
- new trouble controlling your bladder or bowels;
- weakness in your legs;
- back pain with a fever, unexplained weight loss, or after a fall or injury.
If you can only sleep on your stomach
Stomach sleeping is usually the hardest position on a sore lower back. It tends to increase the arch in your lower back and turns your neck to one side for hours.
If you cannot sleep any other way, two changes can help: put a thin, flat pillow under your hips and lower stomach to reduce the arch, and use a very thin head pillow, or none. Your neck may still complain, so try moving slowly toward side sleeping with a pillow to hug.
Before you buy a new pillow or mattress
- Try the free fixes first: knee pillows, a towel under your waist, and the log-roll.
- Check the return policy or trial period. Comfort is personal, and back pain can take weeks to settle.
- For a head pillow, match its height to how you sleep and how broad your shoulders are.
- Ignore “orthopedic” labels on their own; look for medium-firm support that keeps your spine straight.
Common questions about sleeping with back pain
Can I decompress my spine while sleeping?
Not in the way traction does, but you can avoid adding strain. Keep your spine in a neutral line with a pillow under your knees on your back, or between your knees on your side, so your pelvis does not tilt or twist.
Is a recliner or adjustable bed good for lower back pain?
For some people, yes. Raising your head and knees a little takes pressure off the lower back, and people with spinal stenosis often find a slightly reclined position comfortable. Still use the log-roll to get up.
Why does my back feel worse right after I wake up?
Your discs take up fluid overnight and your muscles have been still for hours, so the spine is stiffer in the morning. Slow, gentle movements before you stand usually help.
Should I sleep on the floor if my bed is too soft?
Usually not. The floor is too hard for most people and presses on the hips and shoulders. If your mattress sags, a firm foam topper or a new medium-firm mattress is the more comfortable fix.
Getting the rest you need

For most people, a better night with back pain comes from small changes, not a single product: a position that suits your pain, pillows that keep your pelvis level, a medium-firm surface, and moving as one unit when you turn or get up. If the pain keeps you awake for more than a few weeks, see a doctor or a physical therapist.
Sources
- Kovacs FM, et al. Effect of firmness of mattress on chronic non-specific low-back pain: randomised, double-blind, controlled, multicentre trial. Lancet, 2003.
- Caggiari G, et al. What type of mattress should be chosen to avoid back pain and improve sleep quality? Review of the literature. J Orthop Traumatol, 2021.
This article is general information, not medical advice. See our medical disclaimer.




[…] pain: size matters less than support. See our guide to the best position for lower back pain and what to do if your mattress is too firm for side […]