A sore lower back makes nights long. You lie down, the ache finds you, and every small move wakes you up again. The good news is that how you sleep matters as much as how long you sleep. The right position takes pressure off the lower back, a pillow in the right place keeps your spine in line, and a few small changes to your bed and bedtime can cut the tossing and turning. This guide covers the best ways to sleep with a sore lower back, what to avoid, and when the pain means you should see a doctor.
There is no single perfect position. The best one is the one that keeps your spine in its natural curve and lets you rest without waking in pain. For most people that means lying on your side with bent knees, or on your back with a pillow under your knees. Lying on your stomach is the one position most experts warn against, because it flattens the spine’s curve and twists the neck. Try each position for a few nights, and let your morning tell you which one worked.
Why Sleep and Back Pain Make Each Other Worse
Back pain and poor sleep feed each other. Pain makes it hard to fall asleep and easy to wake up, and poor sleep makes pain feel worse the next day, because tired bodies heal more slowly and feel pain more sharply. Fixing sleep is part of fixing back pain, not a separate job. The link runs through the spine: your lower back has a gentle inward curve that needs support while you sleep. A position that holds the curve takes the load off muscles and joints; one that flattens or twists it loads the same sore spots for seven or eight hours. That is why a small change — a pillow between the knees, a rolled towel under them — can make a real difference by morning.
The Best Position: On Your Side
Sleeping on your side is the position most sleep and back experts name first. It keeps the spine in line and takes pressure off the lower back, as long as your knees are slightly bent and your hips stay level. The key detail is a pillow between your knees: without it, the top leg drops and twists the pelvis, pulling on the lower back all night. Try the fetal position — knees drawn up a little, a firm pillow between them. Swap sides during the night, and try a body pillow, which supports the knees and the top arm at once.
One caution: do not curl up too tightly. A loose curl is restful; a tight ball pulls the lower back into a deep bend, which can hurt if you have a slipped disc or a similar problem. Keep the curl gentle, and keep a pillow between your knees rather than letting them press together.
The Second Best Position: On Your Back
Sleeping on your back is the next best choice, and for some people it is the best one. Lying flat spreads your weight evenly across the bed, which keeps pressure off any one spot in the lower back. The problem is the gap under the lower back: the spine curves inward, so a flat mattress leaves a space that the muscles have to bridge all night. A pillow under the knees fixes that. It flattens the lower back gently against the mattress and lets the muscles relax.

Use a small pillow or a rolled towel under your knees, not a big thick one — the aim is a slight bend, not legs raised high. A 2025 systematic review of sleep posture and low back pain, published on PubMed, found that lying on the back supports spinal alignment and is linked with lower rates of low back pain, while lying on the stomach raises the risk. You can read the review itself in the sleep posture review on PubMed. If you have an adjustable bed, raising the top slightly gives the same effect as the knee pillow, and a wedge pillow does a similar job on a flat bed.
Stomach Sleeping: The Position to Change
Sleeping on your stomach is the hardest position for a sore lower back. It flattens the spine’s natural curve, pushes the lower back into an arch, and forces you to turn your head to one side to breathe, twisting the neck as well. The same PubMed review found that stomach sleeping raises low back pain risk, and most sleep experts name it the worst position for back pain.
If you are a lifelong stomach sleeper, change slowly: put a thin, flat pillow under your pelvis and lower belly to take some arch out of the lower back, and use a very thin pillow under your head, or none at all. Then try a body pillow — hugging it on your side feels closer to the stomach position you know. Many people switch within a week or two.
Our guide to sleeping with sciatica gives the same advice for nerve pain that runs down the leg: side or back, with pillow support, and no twisting.
Your Mattress and Pillows
A mattress can help or hurt, and the difference is support. A medium-firm mattress suits most people with lower back pain: it holds the spine level without letting the hips sink too deep. Too soft lets the back sag; too firm presses on the hips and shoulders. Heavier sleepers usually need a firmer surface, lighter sleepers a softer one. If a new mattress is not in your budget, a topper can change the feel of the one you have, but it cannot fix a mattress that sags in the middle. If you wake with pain most mornings and your mattress is more than eight years old, or it dips where you sleep, the mattress itself is part of the problem.
Pillows matter as much as the mattress. Side sleepers need a firm, thick pillow that fills the gap between ear and shoulder, so the head stays level with the spine. Back sleepers need a medium pillow that supports the neck without pushing the head forward. The pillow between the knees for side sleepers, or under the knees for back sleepers, is not optional — it keeps the lower back in line. The Sleep Foundation guide gives the same pillow advice position by position.

Getting In and Out of Bed Without a Flare-Up
Many people hurt their back not while sleeping, but while getting up. The log roll is the simple fix: roll onto your side, bend your knees, let your legs drop over the edge, and push yourself up with your arms, keeping your back straight. Do the same in reverse to get in. Keep water, any medicine, and a phone close to the bed so you are not reaching or twisting in the dark. If you wake in pain, change position slowly and take a few slow breaths first — rushing the move is what turns a dull ache into a sharp one.
Daytime Habits That Help You Sleep Better
What you do during the day shapes how your back feels at night. Gentle movement is the strongest habit: a short walk, light stretching, or easy yoga keeps the back mobile and stops it stiffening up by bedtime. The National Institutes of Health notes that walking about 30 minutes most days helps chronic low back pain, and that bed rest is not advised. Core strength matters too: the muscles around the belly and lower back hold the spine steady, and simple moves such as pelvic tilts, partial crunches, and planks build that support. Stop any move that sends pain down your leg, and ask a doctor or physical therapist before starting a new routine if you have a known back condition. Heat can help before bed — a warm bath or a heat pack for 15 to 20 minutes relaxes tight muscles. Ice suits a fresh injury better than heat, so use heat for the dull, stiff ache at the end of the day.
A Bedtime Routine for a Sore Back
A short routine signals the body that sleep is coming and gives the back time to relax first. Keep the same sleep and wake times, even at weekends. Dim the lights an hour before bed, put the phone away, and keep the room cool, dark, and quiet. A sleep mask or earplugs help if light or noise wakes you, because waking in pain makes it much harder to fall asleep again. Watch caffeine and alcohol in the evening: caffeine makes sleep lighter and shorter, and alcohol breaks up sleep later in the night, when the back often aches most. A light stretch before bed — knees to chest, a gentle twist, a hamstring stretch — loosens the lower back and hips. Keep it slow, and stop if anything hurts.
If your hands tingle or go numb at night too, the cause may be different. Our guide to why hands fall asleep while sleeping explains the common causes and fixes, such as changing arm position and wrist support.
When to See a Doctor
Most sore lower backs get better in a few days with rest, movement, and the sleep changes in this guide. But see a doctor soon if the pain started with a clear injury, keeps getting worse after a few days, or is so strong you cannot move — and also if it runs down your leg, or comes with weakness, numbness, or changes in bladder or bowel control. Other warning signs are fever or swelling near the pain, pain that wakes you every night for weeks, unexplained weight loss, or a personal history of cancer. A doctor can check whether the cause is a muscle strain, a disc problem, or something that needs tests.
Frequently Asked Questions
What is the best way to sleep with a sore lower back?
For most people, lying on your side with knees slightly bent and a pillow between them. Lying on your back with a pillow under your knees is next best. Avoid lying on your stomach without support.
Should I put a pillow under my knees for lower back pain?
Yes, if you sleep on your back. A small pillow under the knees stops the lower back from arching. Side sleepers should put the pillow between their knees instead.
Is a firm or soft mattress better for a sore lower back?
A medium-firm mattress suits most people. It supports the spine without letting the hips sink too deep. Too soft lets the back sag; too firm presses on the hips and shoulders. Body weight and sleep position affect the right choice.
Can sleeping on my stomach make back pain worse?
Yes. It flattens the spine’s natural curve and twists the neck, putting strain on the lower back. If you cannot change position, put a thin pillow under your pelvis and use a very thin head pillow.
Why does my lower back hurt more in the morning?
It often means your sleep position or mattress loaded the sore spot all night. A sagging mattress, a missing knee pillow, or a twisted position are the usual causes. Try the side or back position with pillow support for a few nights and see if mornings improve.
When should I see a doctor for lower back pain at night?
See a doctor if pain follows an injury, keeps worsening, runs down your leg, or comes with weakness, numbness, fever, or bladder or bowel changes. Pain that wakes you every night for weeks also deserves a check.

