Physiotherapist assessing posture and spinal alignment

If you wake up with a stiff neck or aching back, your sleeping position may be part of the problem. We spend about a third of our lives in bed, and the position we sleep in can either support or strain our spine for hours at a time.

Many people assume that morning pain is just a sign of getting older or a bad mattress. While those can contribute, the position you sleep in — and the pillows you use — often play an equal or greater role. The good news is that small changes to your sleep setup can make a big difference.

The goal: a neutral spine

The key principle for pain-free sleep is maintaining a neutral spine — the natural alignment where your ears, shoulders, hips and knees are in line, with the natural curves of your spine supported. When your spine is neutral, the muscles and ligaments can relax fully. When it is twisted, bent or extended for hours, those structures work overtime and become painful.

Best positions for lower back pain

1. On your back with a pillow under your knees

This is widely considered the best position for lower back pain. Lying flat on your back distributes your weight evenly and allows the spine to rest in its natural curve. The pillow under your knees slightly bends the hips and reduces the pull on the lower back muscles.

Use one pillow for your head (thin enough that your head is not pushed forward) and one or two pillows under your knees.

2. On your side with a pillow between your knees

Side sleeping is also good for the lower back, provided you use a pillow between your knees. Without it, the top knee drops down, rotating the pelvis and twisting the lower spine. The pillow keeps your hips level and your spine aligned.

Draw your knees up slightly towards your chest — but not too far, as a full fetal position can restrict breathing and over-round the back.

3. On your back with a towel roll under the lower back

If you have an exaggerated arch in your lower back (lumbar lordosis), placing a small rolled towel under the small of your back can provide support and reduce morning stiffness.

Best positions for neck pain

1. On your back

Back sleeping is ideal for the neck because the head rests squarely on the pillow without twisting. Use a pillow that supports the natural curve of your neck — a contour memory foam pillow works well, or a thin traditional pillow. The goal is that your forehead and chin are level, not tilted up or down.

2. On your side with the right pillow height

Side sleeping can be good for the neck if your pillow fills the gap between your ear and the mattress. If the pillow is too thin, your head tilts down; if too thick, it tilts up. Both strain the neck for hours. A pillow that keeps your neck in line with your spine is essential.

Memory foam side-sleeper pillows with a contoured edge are designed for this purpose. Alternatively, use a pillow thick enough that your head is level — you can test this by having someone check from behind.

The worst position: stomach sleeping

Sleeping on your stomach is the hardest position on both your neck and lower back:

  • Neck: You must turn your head 90 degrees to breathe, twisting the neck joints for hours. This is a leading cause of morning neck pain and stiffness.
  • Lower back: Your spine sags into extension as your belly pushes into the mattress, compressing the joints in the lower back.

If you cannot sleep any other way, use a very thin pillow (or no pillow) under your head and place a pillow under your pelvis to reduce the arch in your lower back. However, try to gradually transition to side or back sleeping.

Choosing the right pillow

Your pillow is as important as your position. Here is what to look for:

Back sleepers

  • Thin to medium pillow
  • Memory foam contour to support neck curve
  • Head should not be pushed forward
  • Chin should not be tucked towards chest

Side sleepers

  • Thick pillow that fills ear-to-shoulder gap
  • Firm enough to hold shape all night
  • Neck should stay level with the spine
  • Consider a body pillow for full-body support

Replace pillows every 1 to 2 years — they lose support over time. If you fold your pillow to get comfortable, it is time for a new one.

Choosing the right mattress

A mattress that is too soft lets your body sag out of alignment. One that is too firm can create pressure points. Most people with back pain benefit from a medium-firm mattress that supports the spine while contouring to the body's natural curves.

If you cannot replace your mattress, a mattress topper can help. Memory foam toppers 5 to 8 cm thick can improve support and pressure relief.

Mattress age matters

Most mattresses have a lifespan of 7 to 10 years. If yours is older and you are waking with pain, the mattress may have lost its support. Signs it is time to replace include visible sagging, lumps, or waking with pain that eases as the day goes on.

Morning routine for pain relief

Even with the best sleeping position, some morning stiffness is normal. These simple movements can help:

  1. Before getting up: While still in bed, gently pull your knees to your chest and hold for 10 seconds. Repeat 3 times.
  2. Knee rolls: Lying on your back with knees bent, slowly roll both knees from side to side 10 times.
  3. Chin tucks: Gently tuck your chin in (making a double chin) and hold for 3 seconds. Repeat 5 times.
  4. Get up slowly: Roll onto your side, push up with your arms, and sit on the edge of the bed for a moment before standing.
  5. Warm shower: A warm shower in the morning can relax tight muscles and ease stiffness.

Other sleep tips for pain

  • Stay active during the day: Regular exercise reduces pain and improves sleep quality
  • Avoid screens before bed: Blue light disrupts sleep, and looking down at a phone strains the neck
  • Use heat before bed: A heat pack on your back or neck for 15 minutes can relax muscles
  • Watch your evening posture: Slumping on the sofa for hours before bed can pre-stiffen your neck and back
  • Stay warm: Cold muscles are stiffer — keep the bedroom warm or use a duvet that traps heat well

When to seek help

If changing your sleeping position and pillow does not improve your morning pain within a couple of weeks, or if you have pain that disturbs your sleep, radiates into your arms or legs, or is accompanied by numbness or tingling, see a physiotherapist. The issue may be more than just your sleep position — there may be an underlying joint or muscle problem that needs treatment.

Frequently asked questions

What is the best sleeping position for lower back pain?

Sleeping on your back with a pillow under your knees, or on your side with a pillow between your knees, are both good for lower back pain. These positions keep the spine in a neutral alignment. Avoid sleeping on your stomach, as this forces the spine into extension and twists the neck.

What is the best sleeping position for neck pain?

Sleeping on your back or your side is best for neck pain. On your back, use a thin pillow that supports the natural curve of your neck without pushing your head forward. On your side, use a pillow that fills the gap between your ear and shoulder so your neck stays level. Avoid stomach sleeping, which twists the neck.

Can my pillow cause neck pain?

Yes. A pillow that is too high or too low puts the neck at an angle for hours, straining the joints and muscles. The right pillow keeps your neck in line with your spine. Back sleepers need a thinner pillow; side sleepers need a thicker one. Memory foam contour pillows can help maintain the neck's natural curve.

Waking with pain every morning?

Our physiotherapists can assess your spine, identify the cause of your morning pain, and provide treatment and advice. Find a physio near you, or explore our joint pain and muscle injury treatment.

Lizzie Thornton, Specialist Community Physiotherapist

About Lizzie Thornton

Lizzie Thornton is a specialist community physiotherapist with over 15 years of experience in vestibular rehabilitation, falls prevention and post-illness recovery. She is HCPC registered and a member of the Chartered Society of Physiotherapy. Lizzie provides home physiotherapy visits across Staffordshire Moorlands and Cheshire East.

View Lizzie's profile