Sleeping with your legs elevated can help with several common problems, from swollen ankles to lower back pain. The basic mechanism is simple: raising your legs above heart level lets gravity pull pooled fluid back toward your core, reducing swelling and easing the workload on your veins. But how much it helps depends on what you’re trying to fix, how high you elevate, and whether you have certain conditions that make elevation a bad idea.
How Elevation Works in Your Body
When you stand or sit for long periods, gravity pulls blood and fluid downward into your legs. Your veins have to fight against that force to push blood back up to your heart. Elevating your legs reverses the equation, allowing gravity to assist venous return instead of opposing it. Blood and lymphatic fluid drain more easily from the lower extremities, which reduces swelling and can lower the pressure inside your leg veins.
In people with chronic venous insufficiency, where the valves inside leg veins don’t close properly, this effect is especially pronounced. Research measuring blood flow in damaged skin tissue found that leg elevation increased microcirculatory flow velocity by about 41%. That means blood that was essentially pooling in congested tissue started moving again at a meaningful pace. For healthy legs, the effect exists but is less dramatic.
Swelling and Edema
If your main goal is reducing leg swelling, elevation works, and the angle matters. A study testing five different elevation angles (from lying flat to legs straight up at 90 degrees) found a clear correlation: the steeper the angle, the more fluid drained. The biggest reduction came at 90 degrees, which was significantly better than simply lying flat. But here’s the practical catch: most subjects found 90 degrees uncomfortable, reporting numbness, throbbing pain in the lower legs, or pain in the buttocks. The most comfortable angle was 30 degrees, with 45 degrees as a reasonable middle ground.
For overnight use, 30 degrees is a realistic target. That’s roughly equivalent to placing a 6- to 8-inch wedge or a few firm pillows under your lower legs and feet. You don’t need your legs pointing at the ceiling to get meaningful results. Even modest elevation above heart level helps fluid drain over the course of several hours of sleep.
Lower Back Pain
Elevating your legs while sleeping on your back can take pressure off your lumbar spine. When you lie flat, your lower back tends to arch away from the mattress, which compresses the discs and strains the muscles along your spine. Placing a pillow or wedge under your knees bends them slightly, which tilts your pelvis and flattens that arch. This relaxes the back muscles and helps maintain a more neutral spinal curve.
The Mayo Clinic recommends this as one of the primary sleep positions for people dealing with back pain. If you’re a side sleeper, drawing your knees up slightly toward your chest and placing a pillow between your legs achieves a similar effect by aligning the spine, pelvis, and hips. The key principle is the same: a slight bend at the knees and hips reduces the load on your lower back.
After a Blood Clot
Leg elevation plays a specific role in recovering from deep vein thrombosis. Clinical guidance emphasizes that raising the leg and applying elastic compression prevents blood from pooling and reduces both swelling and long-term complications. In acute DVT treatment, high elevation combined with blood thinners is standard, and swelling typically resolves after about 48 hours of consistent elevation.
Once swelling goes down, the recommendation shifts to walking during the day while wearing compression stockings, then returning to bed with the leg raised whenever resting. Patients recovering from a clot are advised to sleep with the foot of the bed raised and to avoid sitting for long stretches, since sitting encourages the very stasis that caused the problem. This combination of elevation, compression, and movement is considered essential for preventing the chronic heavy, swollen leg and skin ulceration that can follow a DVT.
During Pregnancy
Swollen feet and varicose veins are common in pregnancy, and leg elevation is one of the standard non-drug approaches for relief. Compression stockings and elevating the feet are the most widely recommended treatments for venous insufficiency during pregnancy, though neither has been rigorously tested in large randomized trials. The available evidence suggests they can provide symptom relief for many women.
There’s one important positioning detail for pregnant women: when resting for longer periods, lying on your left side is preferable to lying flat on your back. The large vein that returns blood from your lower body runs along the right side of your spine, and the weight of the uterus can compress it when you lie flat or on your right side. Left-side rest relieves that pressure, improving blood flow from your legs. Gentle foot flexing to stretch the calf muscles also helps keep blood moving.
When Elevation Can Make Things Worse
Leg elevation is not universally helpful. For people with peripheral artery disease, where narrowed arteries limit blood flow to the legs and feet, raising the legs removes gravity’s assistance in pushing blood downward to the tissues that need it. This can trigger ischemic rest pain, a burning or aching in the toes and forefoot that occurs specifically when the legs are elevated or the person is lying flat. The pain typically resolves by dangling the leg off the side of the bed or standing up, which lets gravity restore some blood flow.
If you notice that elevating your legs makes your feet hurt, turn pale, or feel cold and numb, that’s a signal worth paying attention to. It may indicate restricted arterial blood flow rather than a venous problem, and the two require opposite approaches.
Pillows, Wedges, and Adjustable Beds
The simplest approach is placing a firm pillow or two under your calves and ankles. This works for mild elevation but can shift during the night, and stacked pillows tend to flatten out. A foam wedge pillow designed for leg elevation holds its shape better and provides a consistent angle, typically between 20 and 30 degrees. These are inexpensive and portable.
An adjustable bed base offers the most control, letting you dial in the exact angle and keep it there all night. People who use both generally find the adjustable bed far more comfortable for long-term nightly use, since the entire lower portion of the mattress moves rather than creating a bump under your legs. The downside is cost. If you’re trying elevation for the first time, starting with a wedge pillow is a reasonable test before investing in a bed frame.
Whichever method you choose, make sure the support runs from your knees to your feet rather than just propping up your ankles. Bending sharply at the knee without support underneath can restrict blood flow at the knee joint, which defeats the purpose. Your legs should rest on a gradual incline, with your feet as the highest point.

