Best Sleeping Position for Back Pain

Which sleeping positions ease back pain, how to set up pillows for side, back and stomach sleeping, what the limited evidence says about mattresses, and the red flags that need urgent care.

HealthPathCore10 min read
A neatly made bed with white bedding and pink pillows beside a bedside lamp in a sunlit bedroom

The short answer

For most people with back pain, the best sleeping position is on your side with knees slightly bent and a pillow between them, or on your back with a pillow under your knees. Both keep the spine in a more neutral line. Stomach sleeping tends to strain the lower back, so NIH advises avoiding it if possible.

Key takeaways

  • NIAMS recommends sleeping on your side with a small pillow between your knees, or on your back with a pillow under your knees, when you have back pain.
  • Stomach sleeping tends to arch the lower back and twist the neck, so it is best avoided, or softened with a thin pillow under the hips and a flat head pillow.
  • Research on sleep posture and back pain is limited and mostly observational, but supported side lying is consistently linked with fewer spinal symptoms.
  • A medium-firm mattress has the most research support for nonspecific low back pain, though the evidence is modest and personal comfort matters.
  • Rolling onto your side and pushing up with your arms, called a log roll, avoids twisting and bending at once when you get out of bed.
  • Bed rest is not recommended for back pain, and staying gently active during the day tends to help both pain and sleep.
  • Morning stiffness that lasts a long time and improves with exercise but not rest can signal inflammatory back pain and is worth raising with your doctor.
  • Loss of bladder or bowel control, numbness in the groin, new leg weakness, or pain after a serious injury needs 911 or the emergency room.

When your back hurts, the hours you spend in bed can either give it a rest or keep aggravating it. Small changes to how you lie, and where you put a pillow or two, often make a noticeable difference to how you feel the next morning.

This article walks through each sleeping position, what to adjust, what the limited research says about mattresses, and the warning signs that mean back pain needs prompt care. It is part of our broader physical health guide. Nothing here can diagnose the cause of your pain, but it can help you sleep more comfortably while you and your doctor work that out.

What is the best sleeping position for back pain?

Side sleeping with your knees slightly bent and a pillow between them is the position most often recommended for back pain, with back sleeping and a pillow under your knees a close second. The National Institute of Arthritis and Musculoskeletal and Skin Diseases (NIAMS) gives exactly that advice, and also suggests avoiding stomach sleeping if possible.

The research behind this advice is thin. A 2019 scoping review in BMJ Open found only four usable studies and concluded that side lying was generally protective against spinal symptoms, while noting there were not enough high-quality studies for firm recommendations. A 2025 systematic review of six observational studies came to a similar view, favoring back and supported side positions and linking stomach sleeping with more pain.

The practical goal in any position is the same: keep your spine in a fairly neutral line, without your waist sagging, your top leg twisting your pelvis, or your neck cranked to one side.

PositionHow to set it upOften suitsWatch out for
Side, knees slightly bentFirm pillow between the knees; head pillow that fills the gap between ear and mattressMost people with low back painThe top knee dropping forward and twisting the lower back
Curled, fetal positionKnees drawn up toward the chest with a pillow between the legsFlares of acute low back painCurling so tightly that your neck bends forward too
BackPillow or rolled towel under the knees; thinner head pillowLow back pain that eases with the knees bentCan make snoring worse
StomachThin pillow under the hips and lower belly; very flat head pillow or nonePeople who cannot fall asleep any other wayArches the lower back and twists the neck
ReclinedAdjustable bed or wedge with the knees supportedPeople who find lying flat painfulLittle research behind it

How should you sleep on your side with back pain?

Lie on your side with your knees slightly bent and a firm pillow between them, so your top leg does not slide forward and rotate your pelvis. That pillow keeps your hips, pelvis, and lower spine stacked in line, which is the main reason this position is recommended.

A few details make it work better:

  • Support the whole top leg. A longer pillow or a body pillow that runs from knee to ankle keeps the leg level rather than just propping the knee.
  • Fill the gap at your waist if needed. If there is a wide space between your waist and the mattress, some people find a small rolled towel there stops the spine sagging.
  • Match the head pillow to your shoulders. It should fill the space between your ear and the mattress so your neck stays level, not tilted up or down.
  • Curl gently during a flare. MedlinePlus suggests a curled-up, fetal position with a pillow between your legs for acute low back pain. Draw your knees up only as far as feels comfortable.
  • Switch sides. Alternating sides can stop one hip and shoulder taking all the pressure. If one side is clearly more painful to lie on, start the night on the other.

If you wake with a stiff neck as well as a sore back, the head pillow is often part of the problem, and neck pain from sleeping covers how pillow height and position affect it.

Is sleeping on your back good for lower back pain?

Yes, for many people, as long as your knees are supported. Lying flat with your legs straight can pull your lower back into a deeper arch, while a pillow or rolled towel under your knees lets it relax toward the mattress, which is what both NIAMS and MedlinePlus recommend.

Use a fairly thin head pillow so your chin is not pushed toward your chest. Some people also like a small rolled towel under the curve of the lower back; it is worth trying if it feels supportive, though it has not been formally studied.

Back sleeping is not for everyone. It can make snoring worse, and people with sleep apnea, a condition in which breathing repeatedly stops and starts during sleep, may do worse lying on their backs. If a partner notices loud snoring or pauses in your breathing, mention it to your doctor.

Can you sleep on your stomach with back pain?

You can, but it is the position most likely to strain your lower back and neck, which is why NIAMS suggests avoiding it if possible. Lying face down tends to let your midsection sink and your lower back arch, and you have to turn your head sharply to one side to breathe.

If stomach sleeping is the only way you can fall asleep, you can make it gentler:

  • Put a thin pillow under your hips and lower belly to reduce the arch in your lower back.
  • Use a very flat head pillow, or none at all, so your neck is not bent upward as well as twisted.
  • Try hugging a body pillow while lying on your side, which gives some of the pressure on your front that many stomach sleepers find comforting.

Changing a lifelong sleeping habit takes time. Starting each night on your side with a body pillow, and not worrying if you roll over later, is a realistic way to shift gradually.

What mattress and pillow are best for back pain?

There is no single best mattress for back pain, and the research is limited, but medium-firm is the most commonly supported choice. A 2021 review of 39 studies in the Journal of Orthopaedics and Traumatology concluded that medium-firm mattresses offered more advantages for people with nonspecific low back pain, while acknowledging that many studies were small, firmness was often judged subjectively, and results conflicted.

The old advice to sleep on a very hard surface has not held up well in the few trials comparing firmness levels. A mattress that is too firm can press into the shoulders and hips, while one that is too soft lets the hips sink and the spine bend. The best choice is usually the one that keeps your spine level in your usual position and leaves you with less pain in the morning.

Before buying anything, try the simpler fixes:

  • Rearrange your pillows using the positions above for a week or two and see whether mornings improve.
  • If your mattress sags visibly in the middle, rotating it or adding a firmer topper may help in the short term.
  • If you do buy a new mattress, choose a retailer with a home trial period long enough to judge it over several weeks.
  • Be skeptical of products marketed as orthopedic or as treating back pain. The 2021 review found such claims lacked adequate support.

For head pillows, match the height to your position: thicker for side sleeping, thinner for back sleeping, and flattest for stomach sleeping. Aim for whatever keeps your neck level; there is little evidence that any one pillow material is best.

How do you get in and out of bed with back pain?

Roll onto your side first, then push yourself up with your arms while your legs swing off the edge of the bed together. This technique, often called a log roll, keeps your back from twisting and bending at the same time, which is the movement most likely to trigger a jolt of pain.

  1. Lying on your back, bend your knees so your feet are flat on the bed.
  2. Roll onto your side toward the edge of the bed, moving your shoulders, hips, and knees together as one unit.
  3. Let your lower legs slide off the edge as you push down through your hands and lower arm to raise your upper body.
  4. Sit at the edge for a moment, then stand by pushing through your legs with your feet slightly apart.

To lie down, reverse the steps: sit on the edge, lower yourself onto your side using your arms while lifting your legs onto the bed, then roll onto your back if you want to. Keep a lamp, your phone, and water within easy reach so you are not twisting to grab them.

Why is my back stiff in the morning?

Some morning stiffness is common, because joints and muscles stiffen after hours without much movement. With ordinary mechanical back pain, such as a strained muscle or irritated joint, that stiffness usually eases within minutes of getting up and moving around.

Stiffness that lasts a long time every morning, improves with exercise but not with rest, and keeps coming back over months is a different pattern. NIAMS lists ankylosing spondylitis (a type of inflammatory arthritis that affects the spine) among the inflammatory causes of back pain, and morning stiffness that lessens with activity is one of the symptoms it describes. That pattern is worth raising with your doctor, because inflammatory back pain is treated differently.

On ordinary mornings, a few things can help:

  • Do a few gentle movements before getting up, such as rocking your bent knees side to side or drawing one knee at a time toward your chest.
  • Take a warm shower or use a heating pad for a few minutes; MedlinePlus lists heat and cold among the options for back pain.
  • Walk around for a few minutes before you sit down for breakfast or a commute.

If stiffness comes with pain that travels down a leg, or you are not sure what kind of back pain you have, the common causes of lower back pain explains how strains, disc problems, and sciatica differ.

What else helps you sleep with back pain?

Staying active during the day is one of the most useful things you can do for back pain at night. NIAMS advises avoiding bed rest and gradually increasing activity as tolerated, and MedlinePlus notes that more than a day or two of bed rest may make symptoms worse.

  • Keep moving. Walking and gentle exercise help keep your back and core muscles from weakening. MedlinePlus advises avoiding heavy lifting and twisting for the first 6 weeks after back pain starts.
  • Break up long stretches of sitting. NIAMS recommends getting up, moving around, and switching positions frequently when you sit for a long time.
  • Ask about pain relief. An over-the-counter pain reliever may help you get to sleep during a flare, but ask your doctor or pharmacist which one is safe for you, especially if you have stomach, kidney, or heart problems or take other medicines.

If you spend most of your day at a desk, changing position through the workday matters more than finding one perfect posture, and it can leave your back less irritated by bedtime.

Pain and poor sleep tend to feed each other, and NIAMS lists poor sleep among the risk factors for back pain. If you still lie awake most nights after sorting out your position, the common causes of insomnia are worth a look, and talk to your doctor if poor sleep lasts more than a few weeks.

When should you see a doctor or call 911 for back pain?

Most back pain improves on its own within days to weeks, but some symptoms need prompt or emergency care. MedlinePlus advises contacting a provider if your pain is severe, has not improved after three days, or follows an injury.

Call 911 or go to the emergency room if back pain comes with any of these:

  • New loss of bladder or bowel control, or being unable to urinate
  • Numbness in the groin, genitals, buttocks, or inner thighs, the areas that would touch a saddle
  • New or worsening weakness in one or both legs, or trouble walking or keeping your balance
  • Pain after a serious fall, car crash, or hard blow to the back
  • Sudden, severe pain along with chest pain, trouble breathing, sweating, or fainting

The first three can signal pressure on the bundle of nerves at the base of the spine, called cauda equina syndrome, which needs emergency treatment to protect nerve function.

Call your doctor the same day or go to urgent care for back pain with:

  • Fever or chills, or redness and swelling over the spine
  • Burning or blood when you urinate
  • Pain that gets worse when you lie down or wakes you at night
  • A history of cancer, osteoporosis, long-term steroid use, or injected drug use
  • Weight loss you cannot explain
  • Pain that spreads below the knee, or numbness and tingling in a leg
  • Pain so severe that you cannot get comfortable in any position

Book a regular appointment if your back pain has not improved within a few weeks, or if this episode feels different from or worse than ones you have had before.

Common questions

What is the best sleeping position for lower back pain?
Side sleeping with your knees slightly bent and a pillow between them is the most commonly recommended position, and NIAMS gives that advice. Back sleeping with a pillow under your knees is a good alternative. Both help keep your spine in a neutral line. Research on sleep posture is limited, so use whichever supported position leaves you with the least pain in the morning.
Is it bad to sleep on your stomach with back pain?
It is the position most likely to aggravate back pain, because your midsection can sink and arch your lower back while your neck stays twisted to one side. NIAMS suggests avoiding it if possible. If you cannot sleep any other way, place a thin pillow under your hips and lower belly and use a very flat head pillow or none at all.
Is a firm or soft mattress better for back pain?
Medium-firm tends to do better than either extreme in the limited research available. A 2021 review found that medium-firm mattresses offered more advantages for people with nonspecific low back pain, though many studies were small and results conflicted. A very hard surface can create pressure points, while a very soft one lets your hips sink. Personal comfort and a home trial period matter.
Where should I put a pillow for back pain when sleeping?
If you sleep on your side, put a firm pillow between your knees, and ideally your ankles, so your top leg does not twist your pelvis. If you sleep on your back, put a pillow or rolled towel under your knees. If you sleep on your stomach, put a thin pillow under your hips. In every position, choose a head pillow that keeps your neck level.
Why does my back hurt more in the morning?
Joints and muscles stiffen after hours of lying still, and an unsupportive position or sagging mattress can add strain overnight. Brief stiffness that eases within minutes of moving is common. Stiffness that lasts a long time each morning and improves with exercise but not with rest can point to inflammatory back pain, such as ankylosing spondylitis, and is worth raising with your doctor.
Should I stay in bed if my back hurts?
No. Bed rest is not recommended for most back pain. NIAMS advises avoiding bed rest and gradually increasing activity as you can tolerate it, and MedlinePlus notes that more than a day or two of bed rest may make symptoms worse. Gentle walking and normal daily activity, while avoiding heavy lifting and twisting, tend to help recovery more than lying down.
When is back pain an emergency?
Call 911 or go to the emergency room for back pain with new loss of bladder or bowel control, numbness in the groin or inner thighs, new weakness in your legs, or pain after a serious fall or accident. Back pain with fever, pain that wakes you at night, or a history of cancer needs a prompt call to your doctor or a visit to urgent care.

Sources

Published research and guidance this page draws on. Check the original where a detail matters to you.

  1. 1Back Pain: Diagnosis, Treatment, and Steps to TakeNational Institute of Arthritis and Musculoskeletal and Skin Diseases (NIH)
  2. 2Back Pain: Symptoms, Types, and CausesNational Institute of Arthritis and Musculoskeletal and Skin Diseases (NIH)
  3. 3Low Back PainNational Institute of Neurological Disorders and Stroke (NIH)
  4. 4Back Pain: MedlinePlus health topicMedlinePlus, U.S. National Library of Medicine
  5. 5Low back pain - acute: MedlinePlus Medical EncyclopediaMedlinePlus, U.S. National Library of Medicine
  6. 6Taking care of your back at home: MedlinePlus Medical EncyclopediaMedlinePlus, U.S. National Library of Medicine
  7. 7Sciatica: MedlinePlus Medical EncyclopediaMedlinePlus, U.S. National Library of Medicine
  8. 8Identifying relationships between sleep posture and non-specific spinal symptoms in adults: a scoping reviewBMJ Open, via PubMed Central (NIH)
  9. 9What type of mattress should be chosen to avoid back pain and improve sleep quality? Review of the literatureJournal of Orthopaedics and Traumatology, via PubMed Central (NIH)
#back-pain#sleep#posture

This article is for general education and is not a substitute for professional medical advice. Speak with a qualified healthcare provider about your individual circumstances.

About HealthPathCore

An independent health knowledge library

Every article here is built from published research and guidance issued by named health bodies, written in plain language, and dated so you can see how current it is. When the evidence moves, we come back and correct the piece.

How we research and write

More in Physical Health

Folded striped towels and a wooden body brush on a curved wooden bench against a sunlit beige wall
Physical Health

Sauna and Cold Plunge: Benefits and Risks

What saunas and cold plunges actually do to your body, what the evidence suggests about their benefits, the real risks including fainting and cold shock, and who should check with a doctor first.

HealthPathCore9 min read
A woman in a burgundy workout outfit crouches in a low squat and grips a black dumbbell on the floor in a sunlit room
Physical Health

How Long Does It Take to Build Muscle?

How long it takes to build muscle, from early strength gains driven by your nervous system to visible growth, plus what speeds it up, what slows it down, and realistic expectations.

HealthPathCore10 min read

Clearer health, in your inbox

One practical, evidence-checked email a week. No spam, no hype, and you can unsubscribe anytime.

Made with Modulify