How do I sleep after knee replacement?

Quick answer: Prop your leg up with a pillow under your calf or ankle, not your knee — that's what hospital discharge instructions say. Two ordinary pillows, a wedge for elevation and a body pillow to lean against, cover most of what people need. Neither needs a prescription or shows up on any Medicare list.
The fact

A wedge pillow or body pillow for sleep positioning isn't billed as DME at all — it has no HCPCS code in the Medicare fee schedule, so there's no fee-schedule entry and no Medicare payment to ask about, prescription or not.

That's a step further than the zero-claims bath-safety items elsewhere on this site (raised toilet seats, shower chairs): those codes exist and simply show $0 in Medicare claims because bath safety is statutorily excluded. A wedge or body pillow never reaches that stage — it was never assigned a durable-medical-equipment code in the first place. Compare the other two items in this checklist's sleeping section: a semi-electric hospital bed (E0260, fee $72.80-$128.14, 758,660 billed nationally in DY2024) and supplier-billed bed rails (E0305/E0310, fees $12.31-$22.32 and $129.76-$203.16) both carry real HCPCS codes and Medicare fees.

Source: CMS HCPCS Level II quarterly file, July 2026 release + CMS DMEPOS Fee Schedule, July 2026 (DME26-C) — cross-checked against the 68-code target list in data/coverage_status.json

How should I position my leg while I sleep?

University of New Mexico Health's Department of Orthopaedics & Rehabilitation publishes discharge instructions for total knee replacement that say, under "Sitting and Sleeping":

"Sleep with a pillow under your ankle, not your knee. Be sure to change the position of your leg during the night."

Allina Health's total knee replacement materials give the same placement, in different words: "Raise (elevate) your leg above the level of your heart by placing a pillow under your calf or ankle, not your knee." Two hospital systems, same instruction. Your own discharge sheet overrides anything on this page — if it says something different, follow it.

Do I need to elevate my leg while sleeping?

Keeping the leg elevated above heart level helps with the swelling that follows this surgery. Most people do this with pillows or a wedge rather than any dedicated medical device — there's no HCPCS code for "leg elevation," so there's nothing to check for coverage beyond what's already in the fact box above.

What do people actually use — a wedge pillow, a body pillow, or both?

Recovery-forum posters describe using both, for different reasons: a wedge under or against the leg for elevation, and a body pillow (or "long king-size" pillow) to brace against when turning over.

"You might want to consider a body pillow for sleeping a bit more comfortably as it gives you something to lean against... and helps when the first side sleeping is allowed."

That quote and the ones below come from a general hip-and-knee recovery corpus that turned out mostly hip-replacement (THR) threads, not knee-specific ones — used only as color on how people describe positioning, not as clinical fact.

More forum quotes on pillow setups ↓
"I also used a small bench with a pillow to keep my leg elevated. It was the same height as the couch that way. I also had extra pillow[s] that I kept on the couch to keep my leg slightly elevated if I wanted to lay down."

— recovery-forum poster, general lower-extremity joint-replacement corpus

"...long king-size (or body) pillow..." — listed among first-month must-haves, alongside gel packs, a walker, and a cane.
"I didn't get a recliner and managed to get comfy in bed and on the sofa with lots of pillows and cushions."

What does each one cost, and is either covered?

Neither is covered — see the fact box above. Ballpark retail cost (rounded estimates, not yet verified against live listings):

What about the hospital bed or bed rail — are those different?

Yes. Unlike the two pillows above, a hospital bed and a supplier-billed bed rail are real, billable HCPCS codes with Medicare fees attached — though most people recovering from knee replacement don't need either one:

This is an equipment and cost-coverage guide, not medical advice. The pillow-placement instruction above is quoted from one hospital's published discharge paperwork, not written or verified by us as a clinical recommendation — follow your own surgeon's or care team's discharge instructions over anything here.

Sources

  1. Discharge Instructions for Total Knee Replacement — UNM Health, Department of Orthopaedics & Rehabilitation — fetched live 2026-07-27; source of the pillow-under-ankle-not-knee instruction quoted above
  2. Total Knee Replacement: After Surgery — Allina Health patient education library — fetched live 2026-07-27; corroborates the same pillow-placement instruction
  3. CMS HCPCS Level II quarterly file, July 2026 release — confirms no code exists for a wedge or positioning pillow among the 68 codes checked
  4. CMS DMEPOS Fee Schedule, July 2026 release (DME26-C) — hospital bed and bed rail fees cited above
  5. CMS DMEPOS utilization by Geography and Service, DY2024 — hospital bed (E0260) national claim count; published with a ~1.5-year lag
  6. Hospital Beds And Accessories – DME MAC Policy Article (A52508)
  7. General lower-extremity joint-replacement recovery forum commentary (BoneSmart, AgingCare) — predominantly hip/THR-skewed, used only for color on positioning and pillow use — see data/knee_corpus.json for the scope caveat