Sleep is usually poor before surgery, worse for a few weeks after, and better by six months.
Broken sleep is a common complaint in the first weeks after knee replacement, and one rarely discussed beforehand. Studies have tracked sleep before and after surgery, and patient guides describe the positions surgeons commonly advise. Here is what they say.
Sleep is poor before surgery and improves later, not at once
In a prospective study of 780 joint replacements, 35 percent of patients reported poor-quality sleep before surgery. Before knee replacement the figure was 30 percent. Of those who slept badly beforehand, 74 percent reported better sleep a year after surgery 1.
The improvement is not immediate. A meta-analysis of sleep-quality scores after knee replacement found little change from baseline at 4 to 6 weeks. It found a significant improvement at 3 to 6 months. The included studies reported disrupted sleep close to surgery, especially the first days, and better sleep at every later interval 2.
So the pattern most patients describe, a few weeks of worse nights before things turn, is the one the studies measured. Sleep still poor months later is a different matter and worth raising, since the trials expected improvement by then 2.
After knee replacement, any position is fine, but not with the knee propped bent
The AAOS guide states that after knee replacement it is safe to sleep on the back, on either side, or on the stomach 3.
The pillow is a different question. The goal in the early weeks is a knee that straightens fully. The AAOS exercise guide works toward it with a small rolled towel above the heel. The heel is off the bed and the knee hangs straight 4. A pillow under the knee holds it bent for hours, the opposite of that exercise. A knee that will not fully straighten, called a flexion contracture, is a recognised complication after knee replacement. Maintaining full extension during rehabilitation is a stated priority in the surgical literature 5.
Sleeping position itself may matter. In a series of 150 knee replacements, back sleepers lacked a mean of 2.98 degrees of full extension at one month. Side sleepers lacked 6.03 degrees. The authors note that 5 degrees is the threshold usually cited for normal walking mechanics, and that patient-reported outcomes did not differ 6. It is one study from one surgeon; it argues for attention to a straight knee, not against side sleeping.
Small things that help the nights
- After knee replacement, keep the knee straight in bed, with any support under the ankle rather than the knee 4.
- Expect the first weeks to be uneven, and judge progress over weeks rather than nights 2.
- Take prescribed pain relief and do the day's exercises exactly as the surgical team directed. Changing that plan is their decision, not a bedtime experiment.
When poor sleep should prompt a call
Most bad nights after knee replacement are pain and position, and they ease. A few patterns are not sleep problems but something else showing up at night. The AAOS guide lists the ones to report 3:
- Calf or leg pain unrelated to the incision, tenderness or redness of the calf, or new swelling not relieved by elevation 3.
- Sudden shortness of breath or chest pain, which needs immediate medical attention 3.
- Fever above 100 degrees, chills, or increasing redness, drainage or pain at the wound 3.
- After knee replacement, a knee that is losing straightening rather than gaining it, since extension is easier to keep than to recover 56.
- Sleep that is no better, or worse, months after surgery, when the studies expected improvement 2.
This is general education drawn from published sources. It is not a diagnosis or a recommendation for you; your surgeon decides from your exam, imaging, and history, and their instructions come first.
Sources
What this article stands on
- Van Meirhaeghe et al., J Arthroplasty 2021 — Improvement in Sleep Patterns After Hip and Knee Arthroplasty: A Prospective Study in 780 Patients ↗
- Alipourian et al., J Orthop Surg Res 2021 — Improvement of sleep quality 6 months after total knee arthroplasty: systematic review and meta-analysis ↗
- AAOS OrthoInfo — Activities After Knee Replacement ↗
- AAOS OrthoInfo — Total Knee Replacement Exercise Guide ↗
- Scuderi and Kochhar, J Arthroplasty 2007 — Management of flexion contracture in total knee arthroplasty ↗
- Zondervan et al., Spartan Med Res J 2024 — Postoperative supine sleeping position following TKA decreases knee flexion contractures ↗
Last checked against these sources 2026-09-03.
Keep reading
Wondering whether knee replacement fits your situation? Get your free Fit Score — a cited, methodology-first assessment.