
You lie down hoping the ache will settle, and instead it finds you. You shift onto one side, then the other, then your back, and nothing feels right for long. Morning is no better: the first few steps out of bed are stiff and careful, as if your lower back has set overnight. If that sounds familiar, you are in large company, and the good news is that several things about how you sleep are within your control.
This guide covers the positions worth trying, the mattress question, the pillows that help, and the parts of the problem that sit outside the bedroom. It is also honest about where the evidence is strong and where the advice you read everywhere is mostly sensible guesswork.
Quick Answer
Sleep on your side with a pillow between your knees, or on your back with a pillow under your knees. If you can only sleep on your stomach, put a thin pillow under your hips. Side lying looks the most protective in the little research there is, but no position has been proven best, so pick the supported one that eases your pain. For mattresses the evidence is clearer: in a trial of 313 adults with chronic low back pain, a medium-firm mattress beat a firm one for pain in bed and disability after 90 days. Poor sleep and back pain feed each other, so treating the pain during the day, mainly with exercise, also improves the nights. See a doctor promptly for back pain with fever, weight loss, a history of cancer, leg weakness, or any change in bladder or bowel control.
In this guide:
- The Best Sleeping Positions for Lower Back Pain
- The Worst Position, and the Real Problem With It
- Your Mattress: The Best-Tested Change
- Why Back Pain Can Be Worse at Night or in the Morning
- The Sleep and Pain Cycle
- Before Bed and Getting Up
- What Helps Over Weeks
- When to See a Doctor
- The Verdict
The Best Sleeping Positions for Lower Back Pain
Every position below aims at the same thing: keeping your lower spine close to its natural shape, without twisting, and without one part of your body sagging into the mattress. That is the logic spine clinicians use, and it is a reasonable one. What you should know before trying them is how thin the research behind sleep positions is. A 2019 scoping review searched more than 4,000 articles for studies linking sleep posture to spinal pain and found just four that qualified. Their main finding was that side lying was generally protective against waking pain and stiffness, but the authors were clear that there were not enough high-quality studies to settle the question.
So treat the positions as options to test, not rules. If one of them eases your pain, it is the right one for you.
1. On your side, with a pillow between your knees
This is the most commonly recommended position and the one with the most support in the studies that exist. Lie on either side with your knees slightly bent. The pillow between your knees is the important part: without it, your top leg slides forward and down, which rotates your pelvis and twists your lower back for hours. A firm pillow thick enough to keep your knees hip-width apart works best. If there is a gap between your waist and the mattress, a small rolled towel there can stop your spine sagging.
A curled, fetal version, with knees drawn a little more toward your chest, is often more comfortable for people whose pain eases when they bend forward. If you also get night-time heartburn, the left side is the one to choose, for reasons covered in can you die from acid reflux in your sleep.
2. On your back, with a pillow under your knees
Lying flat on your back with straight legs pulls on the lower spine and can increase the arch in it. A pillow, or two, under your knees bends your hips and knees slightly and lets your lower back relax toward the mattress. Many people find this position the most comfortable during a flare. Keep the head pillow low enough that your chin is not pushed toward your chest.
One caution: back sleeping makes snoring and sleep apnea worse in many people. If you snore loudly or wake unrefreshed, side sleeping is the better choice, and the signs worth checking are in can sleep apnea be cured.
3. On your stomach, with a pillow under your hips
If you have tried and you simply cannot sleep any other way, you do not have to fight it all night. A thin pillow under your hips and lower stomach reduces the sag that arches your lower back. Use a very flat head pillow, or none, so your neck is not cranked to the side as well.
Can changing position actually reduce pain?
There is one small controlled study. Twenty physically active women in their 60s were split into two groups, and one group was taught a sleep position suited to their own pain. After four weeks, that group reported significantly less back pain than the group given no advice. It is a pilot study of 20 people, so it proves little on its own, but it fits with the wider picture: adjusting how you sleep is a cheap, low-risk change that helps some people noticeably.
The Worst Position, and the Real Problem With It
Stomach sleeping without any support is the position most often blamed, because it lets the lower back sag into an arch and forces the neck to turn. But how long you stay in an awkward position may matter as much as which one it is. In a 2021 study that filmed 53 adults sleeping at home on two nights, people who woke with spinal pain spent more time in what the researchers called provocative postures, such as twisted or half-rolled positions, and slept worse overall. The difference was clearest for neck pain; for the lower back group it pointed the same way but was not statistically significant.
The practical takeaway is to set yourself up well when you go to bed, using the pillows above, and not to worry about the positions you drift into later. Everyone moves during the night, and that movement is normal.
Your Mattress: The Best-Tested Change
The old advice was that a bad back needs a very firm mattress, even a board under it. The best trial on the question found the opposite. In a randomized, double-blind trial published in The Lancet, 313 adults with chronic low back pain that bothered them in bed and on rising were given either a firm mattress or a medium-firm one. After 90 days, the medium-firm group did better on pain while lying in bed (odds ratio 2.36) and on disability (odds ratio 2.10), and they had less pain on rising throughout the study.
Reviews since then point the same way. A 2015 systematic review of 24 controlled trials concluded that a medium-firm mattress, ideally one you can adjust yourself, was best for sleep comfort, sleep quality and spinal alignment. A 2026 review of 47 studies reached the same conclusion: medium-firm is the most defensible general recommendation for adults with nonspecific low back pain or morning stiffness, with the right choice also depending on your body size and usual sleep position.
What this means in practice:
- Very firm is not better. If your mattress feels hard enough that your hips and shoulders press into it, it may be part of the problem.
- Very soft or sagging is not better either. A mattress with a dip in the middle lets your spine curve all night.
- Test before you buy. If your back feels better after nights in a different bed, such as a hotel or a guest room, that is useful information about your own mattress.
- Use the trial period. Many mattress sellers allow returns after weeks of use. That matters, because one night in a showroom tells you little.
A new mattress is expensive, and it is not a cure. In the Lancet trial, both groups had chronic pain to begin with, and the medium-firm mattress improved it rather than removing it. If your mattress is reasonably supportive and not sagging, the positions and pillows above, plus the daytime steps further down, are the cheaper place to start.
Why Back Pain Can Be Worse at Night or in the Morning
Most lower back pain is what doctors call mechanical or nonspecific: it comes from the muscles, joints and discs of the back, it changes with movement and position, and it usually eases when you rest in a comfortable position. That kind of pain can still be worse in bed, because a poor position or an unsupportive mattress holds the back in a strained shape for hours, and stiffness builds while you are still.
A different pattern is worth recognizing. Inflammatory back pain, the kind caused by axial spondyloarthritis (which includes ankylosing spondylitis), behaves almost the opposite way. When an international group of rheumatology experts set criteria for it, five features stood out:
- It improves with exercise.
- It causes pain at night.
- It started gradually, not after an injury.
- It began before the age of 40.
- It does not improve with rest.
Having at least four of the five correctly picked out about 80 percent of people with inflammatory back pain in the validation group, though it also flagged some people who did not have it. If your back pain wakes you in the second half of the night, comes with long morning stiffness, and gets better once you move around, mention that pattern to a doctor. It is treatable, and a better mattress will not fix it.
The Sleep and Pain Cycle
Back pain and poor sleep go together very often. In an analysis of 1,941 patients with low back pain from 13 studies, 58.7 percent reported disturbed sleep. Each one-point rise in pain intensity on a 10-point scale raised the chance of sleep problems by about 10 percent, but the link was weaker than expected, which suggests other things, such as stress, low mood and habits, also keep people with back pain awake.
The relationship runs both ways. When the same research group tracked 80 people with low back pain using sleep diaries and, for 50 of them, a wearable sensor, a night of poor sleep was followed by a day of worse pain, and a day of worse pain was followed by a worse night. Experimental studies show the same direction of effect: a 2022 meta-analysis found that cutting healthy people’s sleep short raised their pain levels and made their nervous system more sensitive to pain.
That loop is frustrating, but it also means you can push on it from either side. Better sleep is worth protecting for its own sake: what helps deep sleep, the most restorative stage, is ranked in how to get more deep sleep, and the sleep debt calculator shows whether your nights have been adding up to too little.
Before Bed and Getting Up
A few habits make the first and last minutes of the night easier. Most of these are practical advice used by physical therapists rather than tested treatments; where trial evidence exists, it is noted.
- Heat before bed. A heat wrap or warm pack on the lower back is one of the first-choice treatments for acute and subacute low back pain in the American College of Physicians guideline, backed by moderate-quality evidence. Use it for 15 to 20 minutes before bed, not overnight, to avoid burns.
- Gentle movement in the evening. A short walk or a few easy stretches, such as pulling one knee at a time toward your chest while lying on your back, can loosen a stiff back before you lie down.
- Get into and out of bed in one piece. Instead of sitting straight up, roll onto your side with your knees bent, drop your legs over the edge, and push yourself up with your arms. This is often called the log roll, and it avoids twisting and bending your back at the stiffest moment of the day.
- Do not stay in bed to rest it. In a Cochrane review of 11 trials with 1,963 patients, people with acute low back pain who were advised to rest in bed had slightly more pain and slightly worse recovery than those advised to stay active. Lying down when you need to is fine, but long bed rest slows recovery.
- Be careful with alcohol as a sleep aid. It can make you drowsy, but it breaks up the second half of the night, which is the last thing a painful back needs.
What Helps Over Weeks
The changes that do the most for night-time back pain mostly happen during the day.
Exercise has the strongest evidence. A 2021 Cochrane review of 249 trials found moderate-certainty evidence that exercise reduces chronic low back pain compared with no treatment, usual care or placebo, by about 15 points on a 100-point scale, a difference the authors judged clinically important. The trials tested many kinds of exercise, so the practical choice is the one you will keep doing: walking, strengthening, Pilates, yoga or a program from a physical therapist. The FITT principle is a simple way to build up gradually without overdoing it.
The guideline order is non-drug treatments first. For chronic low back pain, the American College of Physicians recommends starting with exercise, rehabilitation, acupuncture, mindfulness-based stress reduction, tai chi, yoga, progressive relaxation, cognitive behavioral therapy or spinal manipulation. Anti-inflammatory painkillers such as ibuprofen, naproxen or meloxicam are the first medicine to consider if those are not enough, ideally after speaking to a doctor or pharmacist, since they are not safe for everyone.
Treat insomnia directly if it has taken hold. If you have been sleeping badly for months, the sleep problem may now be running on its own. Cognitive behavioral therapy for insomnia (CBT-I) is the standard treatment. In a 2024 randomized trial of 123 people with chronic spinal pain and insomnia, adding CBT-I to a pain program clearly improved insomnia, sleep quality and fatigue. Pain fell by 40 percent with CBT-I and 24 percent without it at 12 months, though that gap was not statistically significant. Treat CBT-I as a way to fix your sleep, which is worth doing anyway, rather than as a painkiller.
When to See a Doctor
Most lower back pain improves within weeks and is not caused by anything serious. A small number of cases are, and a few warning signs are worth acting on.
Go to an emergency department straight away if back pain comes with new difficulty passing urine or controlling your bladder or bowels, numbness around your genitals, buttocks or inner thighs, or weakness in your legs that is getting worse. These can be signs of pressure on the nerves at the base of the spine, which needs urgent treatment.
See a doctor soon if you have back pain and:
- A history of cancer. In a BMJ systematic review of red flags, this was the single most useful warning sign for cancer in the spine.
- Long-term use of steroid medicines, or a significant fall or injury, especially if you are older. These were the strongest signs of a spinal fracture.
- Fever, unexplained weight loss, or feeling generally unwell.
- Pain that is constant, severe and unaffected by any position, or that keeps waking you whatever you do.
- The inflammatory pattern described above: night pain, long morning stiffness, and improvement with movement, starting before 40.
- Pain that has not improved after four to six weeks of self-care.
The Verdict
Start with what costs nothing: a supported side position with a pillow between your knees, or your back with a pillow under them, and a careful roll out of bed in the morning. If your mattress is very firm or sagging, a medium-firm one has the best trial evidence of any sleep change. But the biggest gains usually come from outside the bedroom. Regular exercise reduces chronic back pain, and less pain means better nights, which in turn means less pain. If your sleep has stayed broken for months, treat the insomnia too, and see a doctor for any of the warning signs above.
FAQs
Citations
Kovacs FM, Abraira V, Pena A, et al. Effect of firmness of mattress on chronic non-specific low-back pain: randomised, double-blind, controlled, multicentre trial. Lancet, 2003. pubmed.ncbi.nlm.nih.gov
Radwan A, Fess P, James D, et al. Effect of different mattress designs on promoting sleep quality, pain reduction, and spinal alignment in adults with or without back pain; systematic review of controlled trials. Sleep Health, 2015. pubmed.ncbi.nlm.nih.gov
Gianfilippo C, Filippo P, Stefano P, et al. Mattress impact on lifestyle and back pain: a 25-year orthopedic literature review guideline. Journal of Orthopaedics and Traumatology, 2026. pubmed.ncbi.nlm.nih.gov
Cary D, Briffa K, McKenna L. Identifying relationships between sleep posture and non-specific spinal symptoms in adults: a scoping review. BMJ Open, 2019. pubmed.ncbi.nlm.nih.gov
Cary D, Jacques A, Briffa K. Examining relationships between sleep posture, waking spinal symptoms and quality of sleep: a cross sectional study. PLoS One, 2021. pubmed.ncbi.nlm.nih.gov
Desouzart G, Matos R, Melo F, Filgueiras E. Effects of sleeping position on back pain in physically active seniors: a controlled pilot study. Work, 2015. pubmed.ncbi.nlm.nih.gov
Sieper J, van der Heijde D, Landewe R, et al. New criteria for inflammatory back pain in patients with chronic back pain: a real patient exercise by experts from the Assessment of SpondyloArthritis international Society (ASAS). Annals of the Rheumatic Diseases, 2009. pubmed.ncbi.nlm.nih.gov
Alsaadi SM, McAuley JH, Hush JM, Maher CG. Prevalence of sleep disturbance in patients with low back pain. European Spine Journal, 2011. pubmed.ncbi.nlm.nih.gov
Alsaadi SM, McAuley JH, Hush JM, et al. The bidirectional relationship between pain intensity and sleep disturbance/quality in patients with low back pain. Clinical Journal of Pain, 2014. pubmed.ncbi.nlm.nih.gov
Chang JR, Fu SN, Li X, et al. The differential effects of sleep deprivation on pain perception in individuals with or without chronic pain: a systematic review and meta-analysis. Sleep Medicine Reviews, 2022. pubmed.ncbi.nlm.nih.gov
Qaseem A, Wilt TJ, McLean RM, Forciea MA. Noninvasive treatments for acute, subacute, and chronic low back pain: a clinical practice guideline from the American College of Physicians. Annals of Internal Medicine, 2017. pubmed.ncbi.nlm.nih.gov
Hagen KB, Hilde G, Jamtvedt G, Winnem M. Bed rest for acute low-back pain and sciatica. Cochrane Database of Systematic Reviews, 2004. pubmed.ncbi.nlm.nih.gov
Hayden JA, Ellis J, Ogilvie R, Malmivaara A, van Tulder MW. Exercise therapy for chronic low back pain. Cochrane Database of Systematic Reviews, 2021. pubmed.ncbi.nlm.nih.gov
Malfliet A, De Baets L, Bilterys T, et al. Cognitive behavioral therapy for insomnia in pain management for nonspecific chronic spinal pain: a randomized clinical trial. JAMA Network Open, 2024. pubmed.ncbi.nlm.nih.gov
Downie A, Williams CM, Henschke N, et al. Red flags to screen for malignancy and fracture in patients with low back pain: systematic review. BMJ, 2013. pubmed.ncbi.nlm.nih.gov
Leave a Reply