To sleep after a knee replacement, keep your leg straight, don't put a pillow under your knee, keep your compression stockings on overnight, and time your pain relief with the plan the hospital gave you. The NHS says you don't need to sleep in a special position after the operation, so lie whichever way is comfortable as long as the knee isn't propped up in a bend. Sleep is often rough for the first weeks, and research suggests it gets clearly better within a few months.
Always follow the instructions your surgeon, hospital team or physical therapist gave you. They know your operation, and their advice comes first.
Free toolSleep CalculatorBest bedtime or wake-up time, based on 90-minute sleep cycles.How to sleep after knee replacement tonight
Work through this list in the hour before bed.
- Take your pain relief on schedule. Follow the hospital's plan for what to take and when, so a dose isn't wearing off just as you fall asleep. If you're unsure, ask a pharmacist or your doctor.
- Use ice only as the hospital advised. If your team gave you an ice routine, fit one session in earlier in the evening.
- Check your compression stockings are on and smooth, with no wrinkles or rolled tops.
- Set up your pillows so you can raise the whole leg without bending the knee.
- Put your crutches or sticks where you can reach them from the bed without standing up.
- Clear the route to the bathroom and leave a dim light on.
- Keep water, your phone and your medicines on a bedside table.
Can you put a pillow under your knee after knee replacement?
No. The NHS says not to sleep with a pillow under your knee after a knee replacement. It can feel comfortable, but it holds the new joint in a bend for hours, and your physical therapy is working to get it straight.
If you want the leg raised, lift the whole leg instead of just the knee. A common setup is a pillow or two under the calf and heel, with the knee resting straight and the back of the knee not on a hump. That's a practical comfort tip rather than a research finding, and the same goes for every position and pillow suggestion in this post.
Best sleeping position after knee replacement
There isn't one you have to use. The NHS says you don't need a special position, so the goal is simply a straight leg, no pillow under the knee, and a position that lets you rest.
- On your back. Many people find this easiest at first. The leg lies straight, and it's simple to raise it on pillows under the calf and heel.
- On your side. Some people find lying on the non-operated side comfortable, with a pillow between the legs so the top leg doesn't drop or twist. Ask your physical therapist if you're unsure whether it suits your knee yet.
- Avoid twisting. The NHS says to avoid twisting, so roll your whole body as one unit rather than turning at the knee.
- Don't cross your legs. The NHS says not to sit with your legs crossed for the first 6 weeks, and it makes sense to keep them uncrossed in bed too.
How to reduce knee swelling at night
The NHS advice is to keep your leg raised as much as possible to reduce swelling, and that includes time in bed. Standing for long periods can also make your ankle swell, so a day of too much standing may mean a puffier leg at night.
- Raise the whole leg on pillows, knee straight.
- Keep your stockings on. The NHS says compression stockings help prevent blood clots, should be worn at all times and only taken off to wash, and most people wear them for at least 6 weeks. That means wearing them at night.
- Ice only per the hospital's advice. Teams differ on ice and cold therapy, so use the routine you were given.
- Do your exercises in the day. The NHS says to follow the physio exercises, and being active in the day may help you feel more ready for sleep at night.
Getting in and out of bed after knee replacement
Move slowly, use your arms, and let the good leg do most of the work. These steps are practical tips; your physical therapist may teach you a specific method, so use theirs.
- Getting in: sit on the edge of the bed, slide back with your hands, then lift the operated leg onto the bed, using your good leg underneath it to help if needed.
- Getting out: slide to the edge, lower the operated leg first, and sit for a moment so you aren't dizzy.
- Stand with your crutches or sticks in place before you take a step. The NHS says most people use them at first.
- Night bathroom trips: turn on a light, take your walking aid every time, and go slowly. A half-asleep trip without your crutches is how falls happen.
- Keep the floor clear of rugs, cords, shoes and bags.
A higher bed or a firm chair beside it can make sitting and standing easier. Don't kneel on the knee until your doctor says it's fine, per the NHS.
Knee replacement recovery timeline
Full recovery takes several months or longer, according to the NHS, and a partial knee replacement usually takes less time. The table combines the NHS recovery milestones with what two reviews found about sleep.
| When | What usually happens | Sleep |
|---|---|---|
| 1 to 4 days | Most people go home | Often broken, close to surgery |
| About 10 days | Stitches or clips come out | Still disrupted for many |
| First 6 weeks | Stockings on day and night, crutches or sticks, no crossed legs | Pain may keep waking you |
| About 6 weeks | Follow-up appointment; some walk without an aid if ready | Gradually easing |
| First 3 months | No heavy household lifting | Improves as pain eases |
| 3 to 6 months | Recovery well underway | Often better than before surgery |
Everyone heals at their own pace, so treat this as a rough guide.
Why can't I sleep after knee replacement?
Poor sleep is common after a knee replacement, and pain is a likely part of it. A 2024 systematic review of 7 studies found sleep disturbance was common early in recovery and may be related to pain, and after three months sleep quality improved and pain went down.
A 2021 meta-analysis found that some studies reported disrupted sleep in the period close to surgery, especially the early days, but every study reported better sleep later. Sleep quality 3 to 6 months after surgery was clearly better than before the operation. If you had knee pain keeping you up for years, that may be the part to hold on to.
How much sleep do you need after knee surgery?
Aim for at least your usual amount, and keep your normal wake time when you can. A steady wake time helps your sleep settle once the pain eases. The sleep calculator can help you pick a bedtime that fits your alarm, and the sleep debt calculator gives a rough idea of how far behind a run of broken nights has left you.
Short daytime naps can help on bad days. In a study of people who'd slept about 5 hours, a 10-minute nap gave an immediate lift that lasted up to 155 minutes, while a 30-minute nap left people groggy at first. See the best time to take a nap so a nap doesn't push your bedtime later.
Skip alcohol as a sleep aid. Research suggests it helps you fall asleep faster but disrupts the second half of the night, and it may not mix with your medicines. If your back is sore from lying in new positions, how to sleep with a pulled back muscle has tips, and how to sleep with a sprained ankle covers raising a swollen leg.
When to get help after knee replacement
The hospital should have given you a list of warning signs and a number to call. Use it, and don't try to work out the cause yourself.
The NHS says to get an urgent appointment with your doctor or surgical team if you've recently had a knee replacement and you have:
- Throbbing or cramping pain in your leg
- A high temperature, or you feel hot, cold or shivery
- Oozing or pus from your wound
- Redness, tenderness, swelling or pain in your knee that isn't getting better or is getting worse
These could be signs of an infection or a blood clot. Call 911 if you have pain and swelling in your leg and you're having difficulty breathing or chest pains, which could be a blood clot in the lungs. Don't drive yourself to the hospital.
If you're worried at any point, call. Your team would rather hear from you early.