When your lower back aches, the night can be the hardest part, you're tired, but you can't find a position that doesn't hurt, and you wake up stiffer than when you lay down. The good news is that a few targeted adjustments to how you sleep can take real pressure off your spine.
The single best fix for most people is simple: sleep on your side with a pillow between your knees, or on your back with a pillow under your knees. Both keep your spine in a neutral position, which is what a sore back needs. Below are the position setups in detail, how to choose a mattress and pillow, how to get in and out of bed without a flare-up, and, importantly, the warning signs that mean you should stop reading and call a doctor.
The best sleeping positions for lower back pain
The goal of every good sleep position is the same: a neutral spine, where your head, shoulders, and hips line up and your lower back keeps its natural, gentle curve. When your spine sags or twists overnight, the muscles, discs, and joints stay under strain for hours, which is exactly what leaves you sore in the morning.
In order of how well they tend to work for lower back pain:
- Best: On your side with a pillow between your knees.
- Also good: On your back with a pillow under your knees.
- Avoid if you can: On your stomach, which strains the lower back and neck.
Here's how to set up each one.
Side sleeping: pillow between your knees
Side sleeping is the top pick for most people with lower back pain, and the pillow between your knees is what makes it work. Draw your knees up slightly toward your chest, then place a firm pillow (or a body pillow) between your knees. This keeps your top leg from pulling your pelvis forward and twisting your lower spine, which is exactly what happens without it. The result is that your hips, pelvis, and spine stay aligned, and pressure comes off your lower back.
A couple of refinements help. Support your head with a pillow thick enough to keep your neck level with your spine, not tilted down toward the mattress. And if there's a visible gap between your waist and the mattress, a small rolled towel there adds support. It's also worth not always sleeping on the same side, to avoid overloading one hip over time.
Back sleeping: pillow under your knees
Sleeping on your back is the next best option, and the key is a pillow under your knees. Lying flat can pull your lower back into a slight arch and tense the surrounding muscles; a pillow under the knees relaxes those muscles and lets your lumbar spine keep its natural curve, spreading your weight more evenly. If you still feel a gap at your lower back, a small rolled towel under your waist can fill it.
Some people with back pain find even more relief in a slightly reclined position, with the upper body and knees raised. You can get there with an adjustable bed or a wedge pillow, or approximate it with pillows behind your back and under your knees.
Stomach sleeping: the position to avoid
If you sleep on your stomach and your back hurts, this is the first thing to change. Stomach sleeping flattens the natural curve of your lower back and forces your neck to twist to one side, putting sustained strain on the spine, which is why it's widely considered the worst position for back pain.
That said, lifelong stomach sleepers can't always switch overnight. If it's the only way you can drift off, reduce the strain by placing a thin pillow under your pelvis and lower abdomen to lift your hips and stop your back from arching so deeply. Use a very thin pillow under your head, or none at all, so your neck stays closer to neutral. Think of these as a bridge while you gradually train yourself toward side sleeping.
Best position by cause: sciatica, herniated disc, and stenosis
The most comfortable position can depend on what's driving your pain, so it's worth experimenting within the safe options.
If you have a herniated disc or sciatica, many people find relief curling onto their side in a fetal position, knees drawn up toward the chest. Rounding the spine gently this way can open up the space between the vertebrae and ease pressure on the irritated nerve. If you have spinal stenosis, that same curled, slightly flexed posture often feels better than lying flat. And if lying down flat is uncomfortable but reclining in a chair feels good, as can be the case with a condition called spondylolisthesis, a reclined sleep setup may suit you.
One rule cuts across all of these: if a position increases your pain, or brings on numbness, tingling, or pain shooting down a leg, come out of it and try another, and if those symptoms persist, talk to a healthcare provider.
Your mattress: why medium-firm usually wins
Your mattress does quiet work all night, and the sweet spot for most people with lower back pain is medium-firm. A landmark trial published in The Lancet found that people with chronic low back pain did better on medium-firm mattresses than on firm ones, and later reviews have reached similar conclusions.
The logic is about balance. A mattress that's too soft lets your hips and lower back sink and sag out of alignment; one that's too firm creates pressure points at your hips and shoulders and can't accommodate your body's curves. Medium-firm supports the spine without either problem. Body type matters too, someone with wider hips may need a slightly softer surface to stay aligned, and a lighter or narrower-framed person may prefer a bit firmer. If a new mattress isn't in the budget, a supportive mattress topper can be a reasonable stopgap.
Your pillow: match it to your position
Pillows are cheap tools for better alignment, and the right setup depends on how you sleep. Side sleepers generally want a firmer, thicker head pillow to keep the head level with the spine, plus the all-important pillow between the knees. Back sleepers do best with a medium or thin pillow under the head (so the neck isn't pushed forward) and the pillow under the knees. Stomach sleepers should use the thinnest pillow they can, or none, to avoid cranking the neck. Whatever your position, the head pillow's job is simply to keep your neck in line with the rest of your spine.
How to get in and out of bed without a flare-up
The transition in and out of bed is where a lot of people accidentally aggravate a sore back, usually by twisting. The safer method is the log roll: to get out, roll onto your side as one unit, keeping your shoulders and hips moving together, then use your arms to push your upper body up while you let your legs swing down off the edge of the bed. Engage your core and avoid twisting your spine. Reverse the process to get in. It feels fussy the first few times and quickly becomes automatic.
Why does my back hurt when I wake up?
If your back is worse in the morning than at night, the usual culprits are sleep posture and your mattress. Hours in a position that flattens or twists your spine, or on a mattress that lets your back sag, leave the soft tissues overstretched and the joints stiff by morning. General overnight stillness and inflammation can add to that morning stiffness, which is why gently moving around often eases it within a while of getting up.
There's also a feedback loop worth knowing about. Pain and sleep affect each other in both directions: back pain makes it harder to sleep, and poor sleep actually increases how sensitive you are to pain the next day. That's part of why fixing your sleep setup can pay off beyond just the hours in bed, better sleep can turn the volume down on the pain itself.
When to see a doctor
Most lower back pain is what doctors call nonspecific, it's uncomfortable but not dangerous, and it improves within weeks with time, gentle movement, and simple care. Prolonged bed rest actually slows recovery, so the goal is to stay gently active, not to lie still. Fewer than about 1 in 100 cases of low back pain turn out to have a serious underlying cause.
But a small set of warning signs matter enormously, so know them.
Go to the emergency room right away if your back pain comes with any of these, which can signal a rare but serious condition called cauda equina syndrome: loss of bladder or bowel control (either leaking or being unable to go), numbness in the “saddle” area (your groin, inner thighs, or buttocks), or new weakness or numbness spreading down both legs. These are time-critical; prompt treatment can prevent permanent damage.
See a doctor promptly (not necessarily the ER, but soon) if you have back pain plus a fever, unexplained weight loss, pain that's constant or worse at night and isn't relieved by rest, a history of cancer, pain after a significant fall or accident, or progressive weakness, numbness, or pain shooting down one leg (sciatica) that isn't improving. And see a provider for any back pain that simply isn't getting better after a few weeks of sensible self-care.
Frequently asked questions
What's the worst sleeping position for lower back pain?
Sleeping on your stomach. It flattens your lower back's natural curve and forces your neck to twist, putting sustained strain on the spine. If you can't fall asleep any other way, place a thin pillow under your pelvis and use a very thin head pillow or none, then work gradually toward side sleeping.
How should I sleep with lower back pain and sciatica?
Many people with sciatica or a herniated disc find relief on their side in a loose fetal position, knees drawn up toward the chest, which can ease pressure on the irritated nerve. A pillow between the knees helps keep the spine aligned. If a position makes the leg pain, numbness, or tingling worse, change it, and if those symptoms persist or you develop weakness or bladder or bowel changes, see a doctor right away.
Is a firm mattress better for lower back pain?
Not the firmest, no. Research points to medium-firm as the best balance for most people with low back pain, supportive enough to keep the spine aligned, but with enough give to avoid pressure on the hips and shoulders. Very firm can be as problematic as very soft. Body type and sleeping position shift the ideal slightly.
Can my sleeping position actually cause back pain?
Yes. A position that keeps your spine flattened or twisted for hours, stomach sleeping is the classic offender, can overstretch tissues and strain spinal joints, leaving you sore or stiff in the morning. The flip side is encouraging: adjusting your position and support often reduces that morning pain.
If you take away one thing, make it the pillow: between your knees if you sleep on your side, under your knees if you sleep on your back. Pair that with a supportive medium-firm surface, move gently by day, and give the changes a week or two. And don't tough out the red flags, most back pain is harmless and passes, but the warning signs above are worth acting on right away.


