Health by Haidee

A hip replacement at 58, the months it really took, and the things I had to work out for myself.

Hip replacement, from the first limp to walking free again.

Sleeping After Hip Replacement: Positions, Timing, and Getting Through the First Nights

Key takeaways

  • Sleep on your back for roughly the first 6 to 12 weeks, the same window as the dislocation precautions, with a pillow between or under your legs.
  • If you had a posterior approach, do not cross your legs, bend the hip past 90 degrees, or twist it inward, and that includes how you lie and how you turn over.
  • Side-sleeping usually comes back around 6 to 12 weeks once your surgeon clears it, and the operated side often feels comfortable last.
  • Broken, shallow sleep for the first few weeks is normal and not a sign anything is wrong; surgical soreness, swelling, and the back-sleeping position all conspire against you.
  • A firm pillow between the knees, a set bedtime painkiller, and a planned way to get in and out of bed do more for sleep than anything fancy.

By Haidee Marsh  |  Medically reviewed by Ms Priya Raman, MS (Orth), FRCS (Tr&Orth)

Published · 5 min read

For roughly the first 6 to 12 weeks after a hip replacement, sleep flat on your back with a pillow between or under your legs, then move to side-sleeping only once your surgeon clears it, usually starting on the non-operated side. Nobody warned me that sleep would be the hardest ordinary thing to get back. I had braced for the surgery and the walking. The nights caught me off guard. So here is what actually worked, position by position, with the timing and the cautions checked.

Why sleep gets hard, and why that is normal

The first surprise is that struggling to sleep is not a sign something has gone wrong. It is the expected state for the first few weeks. Three things stack up at once: real surgical soreness, swelling that grumbles when you lie still, and a sleeping position your body did not choose. Add the fact that the very joint you used to roll onto is the one you must now protect, and broken sleep is almost guaranteed for a while.

It helped me enormously to know that the relationship runs both ways: poor sleep makes pain feel worse, and pain wrecks sleep, so the two feed each other in the early weeks. Evidence in chronic-pain settings supports treating sleep as part of recovery rather than an afterthought, with simple routines and good pain control rather than reaching first for sleeping tablets 1. I stopped treating bad nights as failure and started treating them as a phase to manage. That shift alone took the edge off.

The safe position: on your back, legs supported

For the first stretch you sleep on your back. This is the position that keeps the new hip neutral and stops the ball working toward the rim of the socket while everything is still healing. Put a pillow between your knees, or under both lower legs, to hold the leg slightly apart and stop it rolling inward. Keep your toes pointing at the ceiling, not turning in.

The reason is the same reason behind all the early precautions. Dislocation, where the new ball slips out of the socket, happens in about 1 to 2 in 100 people, and the risk is highest in the first weeks, exactly when you are tired and likely to flop into old habits in your sleep. If you had a posterior (from behind) approach, the rules to protect against this are clear: do not cross your legs, do not bend the hip past 90 degrees, and do not twist it inward, and that applies to how you lie down and how you shuffle in bed just as much as to sitting in a chair. These precautions are commonly advised for the first 6 to 12 weeks while the soft tissues knit back together.

I am a lifelong side-sleeper, so this was the part I dreaded, and honestly the first week or two of enforced back-sleeping was miserable. It does pass.

When you can sleep on your side again

Side-sleeping usually returns around 6 to 12 weeks, once your surgeon or physiotherapist gives you the go-ahead, and there is an order to it. You start on the non-operated side, never straight onto the new hip. The rule that matters most: keep a firm pillow between your knees so the upper leg cannot drop across your body and pull the new hip into that forbidden inward twist. A thin pillow lets the knee sag; use a proper full-thickness one.

Lying directly on the operated side is the last thing to come back, and it is worth setting your expectations there. The area stays tender and a little swollen for weeks, so for many people the operated side is not comfortable until around 3 months or later. Most normal activities return within about 3 months, and full recovery, including the last of the swelling, takes 6 to 12 months, so sleep keeps quietly improving long after you feel mostly back to yourself. Do not rush it; let comfort, not the calendar, lead.

Getting in and out of bed without twisting

The danger moments are not really the sleeping. They are the transitions. Getting into and out of bed is where people forget themselves and twist, so it is worth doing slowly and to a plan.

To get in: sit on the edge of the bed near your pillows, then lift both legs up together as you lower yourself onto your back, keeping the operated leg from rotating. A leg lifter, a dressing-gown belt looped under your foot, or simply a helper makes this far easier in the first weeks. To get out, reverse it: slide toward the edge, lower both legs together, and push up with your arms rather than hauling on the leg. Keep the toes up, not rolled in, throughout. A raised, firm bed is much kinder than a low soft one, and getting up to move a little if you wake stiff is fine and often helps. This protects the early standing and walking you started in hospital, which most people begin the same day or the day after surgery.

Small things that made the biggest difference

A few unglamorous practicalities outperformed everything else. I set my prescribed painkiller to land about half an hour before bed, so the soreness was at its lowest as I settled, rather than chasing pain at 2am. I kept water, painkillers, glasses, and a phone within reach on the protected side so I never had to twist or get up unprepared. A firm wedge or stack of pillows under my lower legs eased the background ache more than anything else I tried.

I also kept a loose routine: up at a normal time even after a bad night, daylight and gentle prescribed movement in the day, and a calm wind-down rather than scrolling. This is the same first-things-first instinct that international guidance brings to managing hip arthritis itself, where conservative, everyday measures come before anything stronger 2. And I reminded myself why I was protecting this joint at all: osteoarthritis, the wear that sends most people to this surgery, is a leading cause of disability worldwide, and I had finally done something about mine 3. A few weeks of awkward nights was a fair price.

If the broader recovery picture would help, see my recovery timeline and the precautions that protect the new joint, and for context on the surgery itself there is what the operation involves.

This is general information from my own experience, checked for accuracy, and not medical advice. Your hip, your approach, and your timeline are particular to you, so follow your own surgeon’s instructions and talk to a qualified clinician before changing anything.

References

  1. Interventions for sleep problems and chronic pain, Cochrane.
  2. OARSI guidelines for the non-surgical management of knee, hip, and polyarticular osteoarthritis, Osteoarthritis Research Society International.
  3. Musculoskeletal health, World Health Organization.

Frequently asked questions

What is the best sleeping position after a hip replacement?

On your back, with a pillow between or under your legs to keep the new hip in a neutral, slightly apart position. This is the safest position for roughly the first 6 to 12 weeks while the soft tissues heal. It protects against the new ball slipping out of the socket, which happens in about 1 to 2 in 100 people and is most likely in those early weeks.

How long do I have to sleep on my back after a hip replacement?

Usually about 6 to 12 weeks, the same window as your dislocation precautions. Your surgeon or physiotherapist gives you the exact timing based on your approach and how you are healing. Some people are cleared to sleep on the non-operated side earlier with a pillow between the knees, so always go by your own team's advice rather than a fixed rule.

Can I sleep on my side after a hip replacement?

Not at first. Side-sleeping is usually allowed from around 6 to 12 weeks, once your surgeon clears it, and the non-operated side comes back before the operated one. When you do start, keep a firm pillow between your knees so the top leg does not drop across the midline and twist the new hip inward.

Why can't I sleep after my hip replacement?

Broken sleep in the first few weeks is very common and expected. Surgical soreness, swelling, the unfamiliar back-sleeping position, and painkillers that disturb sleep patterns all play a part. It improves week by week as the soreness settles. A bedtime dose of your prescribed painkiller, a pillow setup, and a calm wind-down routine help more than lying there willing it to come.

How do I get in and out of bed after a hip replacement?

Back into bed: sit on the edge near the pillow, then lift both legs up together (a leg lifter, a dressing-gown belt looped under the foot, or a helper makes this easier) as you lower onto your back, keeping the operated leg from twisting. To get out, reverse it: slide to the edge and lower both legs together while pushing up with your arms. Keep the toes pointing up, not rolled in, the whole time.

Should I sleep on the operated side or the non-operated side?

Neither for the first several weeks: sleep on your back. When side-sleeping is allowed, start on the non-operated side with a pillow between your knees. Lying directly on the operated side is usually the last thing to become comfortable, often not until around 3 months or more, because the area stays tender and a little swollen for a while.

Written by Haidee Marsh. Medically reviewed by Ms Priya Raman, MS (Orth), FRCS (Tr&Orth).

Our guides are written from personal experience and reviewed by a qualified clinician for accuracy. Read our editorial policy.

Related articles

  1. Driving After Hip Replacement: When It Is Safe and How to Know You Are Ready
  2. Daily Life After Hip Replacement: What Changes for Good
  3. Hip Replacement Surgical Approaches: Anterior, Posterior, and Lateral Compared
  4. Revision Hip Replacement: When a Hip Is Redone, and What It Involves
  5. How Much Does a Hip Replacement Cost? A Plain Breakdown