Save Your Knees

A decade of arthritic knees, what actually helped me protect them, and the plain truth about replacement when I ran out of road.
Protecting arthritic knees, and the rehab that got me walking again.

Sleeping After a Knee Replacement: Positions and Tips

Key takeaways

  • Broken, uncomfortable sleep is normal in the first weeks after a knee replacement and improves as pain and swelling settle.
  • Most people sleep best on their back with the leg supported, or on the non-operated side with a pillow between the knees.
  • Timing pain relief, icing, and elevating the leg before bed all help you settle.
  • Sleep usually improves markedly by around 6 weeks as you step down from strong painkillers.

By Margaret Doyle  |  Medically reviewed by Mr Paul Henderson, FRCS (Tr&Orth)

Published June 12, 2026 · 4 min read

Broken, uncomfortable sleep is normal in the first weeks after a knee replacement, and most people sleep best on their back with the leg supported, or on the non-operated side with a pillow between the knees. Sleep improves markedly by around 6 weeks as pain and swelling settle and you step down from strong painkillers1. The key thing to know is that poor sleep is one of the most common and least-warned-about parts of recovery, not a sign that anything is wrong.

Nobody warned me how badly I would sleep, and it was honestly one of the harder parts of those first weeks. The knee throbbed when I lay still, I could not get comfortable, and I woke constantly. Knowing it was normal, and that it would lift, would have helped me enormously. This guide, checked by a consultant orthopaedic surgeon, covers positions, pain, and what actually helped. It pairs with pain management after knee replacement and our main guide to knee replacement surgery.

Why sleep is so disrupted at first

Sleep is disrupted at first because of pain, swelling, the unfamiliar feeling of the new knee, and the after-effects of surgery and medication. The sharpest pain is in the first 1 to 2 weeks, easing over the following weeks, with most people stepping down from strong painkillers by around 6 weeks2. The knee tends to throb most when you lie still, exactly when you are trying to settle.

There are several reasons it all lands at night. The day’s activity leaves the knee swollen and warm by evening, lying flat reduces the elevation that drains swelling, and a stiff knee aches when held still. Add the disrupted routine of recovery and it is no wonder sleep suffers. The reassuring part is that it follows the same curve as the rest of recovery, improving steadily as the swelling settles.

The best positions to sleep in

The best positions keep the new knee supported and avoid holding it bent for long periods. Most people sleep best on their back with the operated leg supported on a pillow, or on the non-operated side with a pillow between the knees3. The principles that matter:

  • On your back: support the whole leg, not just the knee, and aim to keep the knee fairly straight.
  • On your non-operated side: place a pillow between your knees to support and align the new knee; this was the position I returned to first.
  • Avoid a pillow directly under the bent knee overnight: keeping the knee bent for long stretches encourages stiffness, when fully straightening the knee is an early goal.
  • Sleeping on the operated side is usually uncomfortable at first and is fine to return to later, once it no longer hurts.

Let comfort guide you within these limits. There is no single “correct” position, only the one that supports the leg and does not park the knee in a long bent hold.

Managing night pain and swelling

The most effective way to sleep better is to manage pain and swelling in the hour before bed. Timing your regular pain relief so a dose is active at bedtime, icing the knee, and elevating the leg earlier in the evening all help1. My pre-bed routine, which made a real difference, was:

  • Take pain relief as prescribed so it is working as you settle, rather than waiting for pain to wake you.
  • Ice the knee for 15 to 20 minutes before bed to calm the day’s swelling.
  • Elevate the leg above hip level for a while in the evening to drain swelling, then sleep with the leg supported but straighter.
  • Keep the bedroom cool, because the knee feels warm and that warmth disturbs sleep.

Avoid using alcohol to get to sleep, as it interacts poorly with painkillers and worsens sleep quality.

When sleep gets better

Sleep gets better gradually, with most people noticing a clear improvement by around 6 weeks. By then strong painkillers are usually being stepped down and the swelling is settling, which removes the two biggest disruptors2. The marked night-time throbbing of the first fortnight typically fades well before this.

Some lighter disturbance can linger while the knee fully recovers over 6 to 12 months, often because the knee stiffens after lying still and aches when you change position. For me, the turning point was around the six-week mark, when I could finally lie on either side comfortably. If you are struggling, the wider recovery context in the week-by-week recovery timeline helps set expectations.

When to seek advice

Most sleep problems after a knee replacement are an expected nuisance, but a few night-time symptoms need attention. Contact your surgical team if you have calf pain, swelling, warmth, or breathlessness, which can signal a blood clot, or if the knee becomes increasingly red, hot, and painful with fever, which can signal infection1. Infection affects about 1 to 2 in 100 people.

Sleeplessness from pain that your medication is not touching is also worth raising, because it usually means your pain plan needs adjusting rather than that you should simply endure it. Honestly, asking for my pain relief to be reviewed was what finally let me sleep; I wish I had asked sooner. For the full approach to pain, see pain management after knee replacement.

References

  1. Knee replacement recovery, NHS.
  2. Total Knee Replacement (OrthoInfo), American Academy of Orthopaedic Surgeons.
  3. Knee replacement surgery, Versus Arthritis.

Common questions

What is the best position to sleep in after a knee replacement?

Most people sleep best on their back with the operated leg supported on a pillow, or on the non-operated side with a pillow between the knees to keep the new knee aligned. Avoid placing a pillow directly under the knee, because keeping the knee bent for long periods can encourage stiffness when fully straightening it is an early goal.

Why can't I sleep after my knee replacement?

Broken sleep is normal in the first weeks because of pain, swelling, the unfamiliar feeling of the new knee, and the effects of surgery and medication. Most people find sleep improves markedly by around 6 weeks as they step down from strong painkillers and the swelling settles. It is one of the most common and least-warned-about parts of recovery.

Can I sleep on my side after a knee replacement?

Yes, once it is comfortable, usually after the first week or two. Sleep on your non-operated side with a pillow between your knees to support and align the new knee. Sleeping on the operated side is often uncomfortable at first and is fine to return to later when it no longer hurts. Let comfort guide you.

Should I keep my leg elevated while sleeping?

Elevating the leg earlier in the evening helps drain swelling, but you should not sleep all night with a pillow under the bent knee, as that encourages stiffness. Aim to fully straighten the knee for periods, support the whole leg rather than just the knee, and use ice and elevation before bed rather than propping the knee up bent overnight.

How long before I sleep normally after a knee replacement?

Most people see a marked improvement by around 6 weeks, when strong painkillers are usually being stepped down and the swelling is settling. Some lighter sleep disturbance can linger while the knee fully recovers over 6 to 12 months, often because the knee stiffens after lying still. Good sleep returns gradually for most people.

Does taking painkillers help me sleep after surgery?

Timing your regular pain relief so a dose is active at bedtime can make settling much easier in the early weeks. Take it as prescribed rather than waiting for pain to build, and pair it with icing and elevating the leg beforehand. Avoid relying on alcohol to sleep, which interacts poorly with painkillers.

Written by Margaret Doyle. Medically reviewed by Mr Paul Henderson, FRCS (Tr&Orth).

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

More from us