Recovery Guides
Orthopedic 7 min read

How to Sleep After Foot or Ankle Surgery

For most people, the nights are the hardest part of the first two weeks after foot or ankle surgery. The days are manageable. You are distracted, the leg is up, the painkillers are doing their job. Then the house goes quiet, you lie down, and the pain that was a background hum all day becomes the loudest thing in the room. Two in the morning is when people find themselves staring at the ceiling wondering whether this is normal.

It is. And the throbbing that starts the moment your foot drops toward the floor is not in your head, it is your body telling you something real and quite specific. Once you understand what causes it, you can set your nights up so that it happens far less often.

Why the pain is worse at night

Part of it is simple: in the dark there is nothing else to think about, so pain has the stage to itself. Part of it is timing, because the dose you took before settling down may be wearing thin by the early hours. Your body’s own cortisol, which has anti-inflammatory effects, is at its lowest in the middle of the night, and you are plain exhausted, which lowers your tolerance for everything.

But the biggest reason is gravity. When your foot drops below the level of your heart, blood and tissue fluid pool at the surgical site, the swelling increases, and that swelling presses outward against tissue that is already inflamed. That pressure is what you feel as throbbing. It is why the foot feels fine up on the sofa and starts to pound the moment you stand. Our guide to swelling after foot and ankle surgery explains this in more detail. The practical consequence is that your whole night should be organized around one goal: keeping that foot up.

Keep the leg elevated through the night

Elevation does not mean propping the foot up for an hour before bed. It means the whole leg supported, above the level of your heart, for the entire night.

Here is the problem almost everyone runs into: a stack of pillows will not do this. Pillows compress, and they slide. They work beautifully for about twenty minutes, then somewhere in the small hours they collapse or squirt out sideways, your foot lands flat on the mattress, and you wake to a foot that is hot, tight, and pounding. A firm foam leg elevation wedge is what makes this actually survivable. It holds its shape all night, it does not migrate, and it sets the leg at a consistent angle without you having to think about it.

However you elevate, support the leg along its whole length. The calf and the back of the knee should rest on the surface, not just the heel perched on a cushion. Propping only the heel leaves the calf dangling and concentrates the weight of the leg onto one small patch of skin, and a pressure sore on the heel develops faster than people expect. Spread the load, let the heel itself float free, and aim for the ankle a little higher than the knee and the knee a little higher than the hip, so fluid has a downhill run back toward your body.

The best sleeping positions

On your back is by far the easiest and safest, and it is where most people end up. It is the only position where the operated leg stays elevated and supported without any effort from you. Get the wedge under the leg, add a pillow under the other knee if your lower back complains, and let gravity work.

On your side is possible for some people once the first few days have passed, but the rules are firm. The operated leg must stay supported and elevated, which usually means lying on your unoperated side with the operated leg on top, resting on a wedge that keeps it above heart height, and a pillow between your knees so the top leg is not dragging your hip and ankle downward. What you must not do is roll onto the operated foot, so if you are a restless sleeper, build a barrier of pillows behind you or stay on your back for now.

On your stomach is essentially out. There is no way to keep the foot elevated face down.

Most people become temporary back sleepers after foot surgery, including plenty who have never slept on their back in their lives. It feels strange for a few nights, then it stops feeling strange. It is not forever.

Managing the cast or boot at night

In the early weeks the boot usually stays on at night, and it is hot, heavy, and awkward. It drags the leg sideways when you shift, and under the covers it turns your foot into a radiator.

Ask your team explicitly whether the boot comes off to sleep. This varies by procedure and it matters. After some operations, sleeping without it is fine once the initial period passes. After others, particularly an Achilles repair, the boot or cast is holding the ankle at a specific angle to protect the healing tendon, and letting the foot flop into a different position overnight can jeopardize the repair. Do not guess. Ask.

For the heat, keep the bedding off the foot entirely. A bed cradle sits under the covers and tents them over your foot, which makes a surprising difference. Failing that, fold the duvet back and tuck it to the side, and put a sock on the other foot if the rest of you gets cold.

The itching is its own torment and it is always worst at night. Never poke anything down a cast to scratch: not a knitting needle, not a coat hanger, not a pen. It is easy to break the skin without feeling it, and a wound inside a cast that you cannot see or clean is a serious infection risk. Cool air from a hairdryer on the cold setting is the usual safe option.

Timing your pain medication for the night

Take your pain relief before bed rather than waiting for pain to wake you, because chasing pain that has already taken hold is much harder than staying ahead of it. Ask your team about timing specifically, as they can tell you how to space doses so the coverage lands where you need it.

In the first few days, when pain is at its peak, many people find it worth setting an alarm for a scheduled dose in the night. Waking yourself feels counterintuitive, but a two-minute wake to swallow a tablet beats a two-hour wake in pain. Do not exceed the dose you have been given, and check before adding anything over the counter, since many everyday painkillers contain the same ingredients as your prescription and it is easy to double up without realizing.

Practical setup around the bed

The aim is to arrange things so that you never have to get up. Every trip across a dark bedroom on one leg, half asleep, is a fall waiting to happen. Before you settle, put everything within arm’s reach: water, phone and charger, medication, glasses, tissues, and a night light you can turn on without standing.

Think hard about the bathroom. If it is upstairs or down a corridor, the 3am hop is genuinely dangerous. A urine bottle or a commode by the bed is not undignified, it is sensible, and plenty of people quietly use one for a week or two. If you do get up, sit on the edge of the bed for a moment to wake up properly and use your crutches rather than hopping. Getting in and out of bed with one leg is a technique in itself: sit on the edge, then swing both legs up together as you lower your upper body, letting the good leg do the lifting, and reverse it to get out. Our guide to non-weight-bearing after foot surgery covers moving safely in more depth.

When you cannot sleep anyway

Some nights you will do everything right and still lie awake: the leg up, the medication on board, the room dark, and your mind turning over whether the foot is healing properly and whether it is supposed to feel like this. Almost nobody warns you about this part. Your sleep will be broken for a few weeks. That is expected, it is not a sign that anything has gone wrong, and it does not mean you are failing at recovery.

Do not lie there fighting it, because frustration keeps you awake more reliably than pain does. If you have been awake a while, put a light on, read a few pages or listen to something quiet, let your mind go elsewhere, then try again. Resting with the leg elevated is doing your body good even when you are not asleep, which is worth remembering at four in the morning.

It does improve, and usually not gradually but markedly. Once you are out of the cast and starting to put weight through the foot, most people find their nights come back quickly. Our foot and ankle surgery recovery timeline gives a sense of when that point tends to arrive, and the kit that makes the earlier weeks bearable is covered in our guide to the best products for foot and ankle surgery recovery.

When to call your team

Most night pain is normal and responds to elevation and pain relief. Some does not. Contact your surgical team or seek urgent medical advice if you notice any of the following.

Severe pain that elevation and your medication do not relieve. Pain after surgery should be settling, not building. Pain that is getting worse rather than better, that feels out of proportion, and that does not ease when you raise the leg or take your prescribed dose can be an early sign of compartment syndrome, where pressure builds inside the muscle compartments of the leg and cuts off the blood supply to the tissue. It is uncommon, but it is a surgical emergency, because delay causes permanent damage. Increasing pain at night that nothing touches needs a call, not a wait until morning.

Numbness, pins and needles, or burning in the foot or toes, especially if new or spreading.

Toes that are cold, white, blue, or dusky, toes you cannot move, or toes that hurt severely when someone gently straightens them.

A cast or dressing that feels dangerously tight, as though the leg is being squeezed. Swelling can increase after surgery, and a cast that fitted when it was applied can become too tight. Do not cut or loosen it yourself, call your team.

Calf pain, swelling, warmth, or tenderness, which can indicate a blood clot in the deep veins, a recognized risk after lower limb surgery when you are less mobile than usual. If it comes with breathlessness or chest pain, treat that as an emergency and get help immediately.

Fever, spreading redness, increasing leakage from the wound, or a bad smell from the dressing or cast, any of which can point to infection.

Nobody on your team will think you are wasting their time. They would far rather hear from you at 3am about something that turns out to be nothing.

The nights do come back

Keep the leg continuously elevated on something that will not collapse, support the calf rather than the heel, sleep on your back, stay ahead of the pain rather than chasing it, and set your bedside up so you never have to cross a dark room on one leg. Do that, and the 2am wakings become less frequent, then occasional, then a thing you tell people about afterward.

This part of recovery is genuinely hard, and it is also genuinely short. Your foot is healing while you lie there, even on the nights it does not feel like it.


This guide is part of our foot and ankle surgery recovery series. Explore the linked guides for detailed help with non-weight-bearing, swelling, showering, sleep, driving, and the equipment that makes recovery easier.


*Always follow the specific guidance of your surgical team, as recovery advice varies by procedure and individual circumstances.*

A note from after ♥ surgery

This guide is for general informational purposes only and does not constitute medical advice. Always follow the specific guidance of your surgical team, as recommendations vary by procedure and individual circumstances. If you have concerns about your recovery, contact your healthcare provider.

Medically reviewed by a qualified doctor