Hip pain that only shows up at night is frustrating in a specific way: you were fine all day, and then the one thing that is supposed to restore you makes it worse. The usual cause is simple mechanics. When you lie on your side, your whole upper body weight stacks onto one hip joint for hours at a time. If the surface under you does not let the hip sink in, pressure builds. If the surface lets the hip sink too far, the pelvis tilts and the joint sits at an angle all night. Either way you wake up sore.
Most of what helps is adjustable tonight, without buying anything. The rest comes down to whether your mattress is still doing its job.
Start with pillow placement, not position
If you sleep on your side, the single most effective change is a pillow between your knees. Without one, your top leg falls forward and down, which rotates your pelvis and twists the hip joint for the whole night. A firm pillow between the knees keeps your thighs roughly parallel and your pelvis square.
Three details make the difference between this working and not working:
- Use a firm pillow, not a soft one. A squashed pillow does nothing by 2 a.m. A dense foam or latex knee pillow holds its height.
- Place it from knee to ankle if you can. Supporting only the knee still lets the lower leg drop. A longer pillow or a folded blanket under the shin keeps the whole leg level.
- Add a small pillow at the waist. There is usually a gap between your ribcage and the mattress when you lie on your side. Filling it stops your torso from sagging and pulling the hip out of line.
Change which side you sleep on
If one hip hurts, sleep on the other side. That sounds obvious, but many people keep lying on the painful hip out of habit. Switching usually gives noticeable relief within a few nights. Hug a body pillow in front of you to stop yourself rolling back over in your sleep.
If both hips hurt, try sleeping on your back with a pillow under your knees. Back sleeping spreads your weight across your whole body instead of concentrating it on one joint, and the knee pillow takes tension off the hip flexors and lower back. It is the position that puts the least load on the hips, though it is a hard habit to adopt if you have been a side sleeper for decades.
Stomach sleeping is the one to avoid. It flattens the natural curve of your lower back and rotates the pelvis forward, which tends to aggravate both hip and back pain.
Check whether your mattress is the real problem
Position fixes go only so far if the surface underneath is wrong. Two mattress problems cause hip pain, and they are opposites.
Too firm. A hard surface will not let your hip and shoulder sink in, so your body weight concentrates on those two points. You wake with a sore, tender hip and you shift position constantly through the night. This is the most common cause in side sleepers who bought a firm bed because someone told them firm is better for the back.
Worn out and sagging. An old mattress with a dip where you sleep lets your hip drop below the line of your spine. The joint spends the night at an angle and the muscles around it work all night to compensate. If you can see a visible hollow, or you feel like you are rolling into a trough, the bed is finished. Rotating it buys a little time; it does not fix structural sag.
A quick test: lie on your side in your normal position and have someone look at your spine from behind. It should run in a straight line from the back of your head to your tailbone. If your hip is noticeably higher or lower than that line, the firmness is wrong for you.
What actually works on a mattress
For side sleepers with hip pain, a medium to medium-soft surface with real pressure relief in the top layers is usually right. You want the hip and shoulder to sink in while the waist stays supported. That is what the beds in our pressure relief collection and our range for side sleepers are built to do. Memory foam and latex both contour well; a hybrid with a generous comfort layer gives you the contouring plus more support underneath if you are heavier.
If your mattress is still structurally sound but too firm, a topper is the cheaper fix. Three inches of memory foam or latex will change the surface feel without replacing the bed. If the mattress sags, a topper will not help, because the dip is still there underneath.
An adjustable base is worth considering if you also have lower back pain. Raising the head slightly and the knees a little takes tension off the hip flexors and holds the pelvis in a more neutral position, which is hard to achieve on a flat bed. Our guide to the best mattress for hip pain goes deeper into specific builds.
Small things that add up
- Stretch your hip flexors and glutes before bed. Tight muscles pull on the joint all night.
- Warm up the hip before lying down. A warm shower or heat pad relaxes the surrounding muscle.
- Do not sleep in a deep curl. Pulling your knees toward your chest shortens the hip flexors for hours.
- Keep your bedroom cool. Waking repeatedly because you are hot means more rolling onto the painful side.
If the pain wakes you every night, radiates down the leg, or has been getting steadily worse, see a doctor or physical therapist. A mattress can solve a pressure problem. It cannot solve bursitis, arthritis or a labral issue, and the right diagnosis will save you months of guessing.
Frequently asked questions
How do you relieve hip pain from sleeping on your side?
Put a firm pillow between your knees so your thighs stay parallel and your pelvis stays square, fill the gap at your waist with a small pillow, and switch to the non-painful side. If the hip is still sore after a week of that, the mattress is too firm or too worn and the position fix cannot compensate.
What causes hip pain while sleeping?
Usually prolonged pressure on one joint, pelvic rotation from an unsupported top leg, or a mattress that no longer holds the hip in line with the spine. Underlying conditions such as bursitis and arthritis make all three worse, which is why people with those conditions notice bedding changes most.
Can sleeping on a bad mattress cause hip pain?
Yes, and it is one of the more common causes we hear in our showrooms. A mattress that is too firm concentrates weight on the hip; one that sags lets the hip drop out of alignment. Both produce the same symptom of waking with a sore hip that eases once you are up and moving.
How do you relieve lower back and hip pain while sleeping?
Treat them together, because they usually share a cause in pelvic position. Side sleeping with a knee pillow or back sleeping with a pillow under the knees keeps the pelvis neutral and takes the strain off both areas. Our guide to sleeping with lower back pain covers the back side of the equation.
How do you sleep with hip flexor pain?
Avoid positions that keep the hip bent for long stretches, which rules out curling tightly on your side. Sleeping on your back with a low pillow under the knees keeps the flexors closer to a neutral length. An adjustable base with a slight knee lift does the same thing more comfortably.
How long should it take to feel a difference?
Position and pillow changes often help within two or three nights. A new mattress takes longer, because your body needs a few weeks to adapt to a different surface. Judge a new bed after three or four weeks, not after the first night.
Try it before you buy it
Hip pain is one of the few mattress problems you can test for in person in about ten minutes. Lie on your side in your real sleeping position, with a knee pillow, for long enough to feel whether the hip settles or starts to press. Our five Los Angeles showrooms are set up for exactly that, and our staff will check your spine alignment while you are lying there.
Every mattress comes with a free 120-night comfort guarantee, so if the bed that felt right in the store turns out to be wrong at home, you can change it. Not sure where to start? Take the sleep quiz and we will shortlist a few beds before you come in. Same-day delivery is available across Los Angeles on in-stock models.



