Most side sleepers who wake with leg pain are feeling one of two things: pressure on a nerve or tissue from the position itself, or a muscle that has been held in a shortened position for hours. The pain almost always has a mechanical explanation, not a sign of hidden disease. Understanding which structure is complaining — and why — is usually the fastest route to sleeping through the night again.
Side sleeping is the most common sleep position in adults. It is generally good for the spine when the hips and shoulders are supported. The catch is that the lower leg and hip take more body weight in this position than in any other. That load, held for six or eight hours, is where most side-sleeping leg pain begins.
Why Do I Get Leg Pain When Sleeping On My Side?
The pain comes from sustained pressure or sustained stretch on structures in the hip, thigh, or lower leg. Lying on your side compresses the tissues on the bottom side of your body against the mattress. It also leaves the top leg unsupported unless you place a pillow between your knees. Both situations create the conditions for pain.
There are four common mechanisms. Each produces a different pattern of pain, and the pattern tells you a lot about the cause.
- Nerve compression. The peroneal nerve wraps around the outside of the knee just below the joint. Pressure there causes numbness, tingling, or burning along the outer shin and top of the foot. The bottom leg is most vulnerable because it presses into the mattress.
- Muscle and tendon loading. The iliotibial band and the gluteal tendons on the outer hip bear weight all night. Pain tends to sit on the outside of the hip and upper thigh.
- Joint compression. The bottom hip and knee are pressed together and into the bed. People with hip or knee arthritis often notice this first.
- Reduced circulation from position. Pressure on soft tissue can temporarily reduce blood flow. This usually causes a dull ache or heaviness rather than sharp pain, and it eases within minutes of moving.
One clarification worth making: pain that appears only in one position and disappears when you change position is almost always mechanical. Pain that persists regardless of position, or that wakes you from sleep with no positional trigger, deserves a medical conversation.
Which Nerve Causes Leg Pain When Sleeping On Your Side?
The peroneal nerve is the most common culprit for nerve-type leg pain in side sleepers. It is a branch of the sciatic nerve that runs down the back of the thigh, crosses behind the knee, and wraps around the head of the fibula — the small bone on the outside of the lower leg. At that point it sits very close to the skin with little muscle or fat protecting it.
When you lie on your side, the outer edge of the bottom knee presses into the mattress. That pressure lands almost directly on the nerve. The result is usually described as burning, tingling, or numbness along the outer shin and into the top of the foot. Some people notice weakness lifting the foot, though this is less common from sleep positioning alone.
This pattern has a name — compression of the peroneal nerve at the fibular head. It is well documented in medical literature as a cause of foot drop and sensory symptoms, usually from prolonged leg crossing, squatting, or lying in one position. Sleeping on your side for hours is essentially a long, sustained version of the same compression.
The fix is often simple: keep the bottom knee from pressing directly into the mattress. A pillow under the lower leg, or a softer mattress topper, can reduce the load on that spot. If numbness or weakness in the foot persists after you get up and move around, see a doctor. Nerve compression that does not resolve with position changes needs proper evaluation.
Why Does the Outer Hip Hurt More Than the Leg?
Outer hip pain in side sleepers often comes from the gluteal tendons or the bursa, not the leg itself. The greater trochanter — the bony knob on the outside of the hip — is a pressure point. Lying on it compresses the tendons that attach there and the small fluid-filled sac (bursa) that cushions them.
This produces a deep ache or sharp pain on the outside of the hip that may radiate down the outer thigh. It is sometimes called greater trochanteric pain syndrome. Research indicates it is more common in women, particularly those in midlife, and it is strongly associated with side sleeping. Some studies suggest that sleeping on the affected side is one of the most consistent aggravating factors people report.
The pain often eases when standing or walking and returns after lying down. That pattern — worse at rest, better with movement — is the opposite of many joint problems and is a useful clue.
What helps: sleeping on the unaffected side, using a body pillow to keep the top leg from dropping across the body, and avoiding crossing the legs while lying down. Some clinicians recommend a pillow between the knees to keep the hips level. Physical therapy focused on hip strength is commonly used, though the evidence for specific exercise programs is mixed.
Why Does My Leg Go Numb or Tingle at Night?
Numbness or tingling in the leg at night usually means a nerve is being compressed or stretched. The most common sites in side sleepers are the peroneal nerve at the knee and the sciatic nerve in the buttock.
Sciatic-type symptoms are more likely when the top leg is allowed to fall forward across the body. That position rotates the pelvis and can stretch or compress the sciatic nerve on the bottom side. Keeping a pillow between the knees prevents the top leg from dropping and keeps the pelvis in a more neutral alignment.
There is a distinction worth knowing. Numbness that resolves within a few minutes of moving is normal positional compression. Numbness that lasts for hours after you get up, or that comes with weakness, is not. The first is a comfort problem. The second is a reason to see a clinician.
People with diabetes should pay particular attention to leg numbness at night. Diabetic peripheral neuropathy causes similar symptoms and is not related to sleep position. If numbness occurs in both legs, or happens in any position, that is a different picture from positional compression.
What About Restless Legs and Cramps at Night?
Restless legs syndrome and nocturnal leg cramps are separate from positional pain, but side sleepers often confuse them. Restless legs syndrome produces an urge to move the legs, usually in the evening or at rest, that is relieved by movement. It is not caused by sleeping position.
Nighttime leg cramps are sudden, painful muscle contractions, most often in the calf. They typically last seconds to minutes and are not caused by lying on your side. Their exact cause is not fully understood. Some medications, dehydration, and certain medical conditions are associated with them, but in most people no specific cause is found.
If your pain happens only when you lie on one side and goes away when you switch, it is positional. If it happens in any position, or comes with an uncontrollable urge to move, it is likely something else and worth discussing with a doctor.
What Can You Do About Side-Sleeping Leg Pain?
The most effective changes address the position itself. These are practical steps supported by common clinical advice rather than large trials, so treat them as reasonable adjustments rather than proven treatments.
- Place a pillow between the knees. This keeps the hips level and stops the top leg from dragging the pelvis forward.
- Use a body pillow or a second pillow to support the top leg along its full length.
- Try a softer mattress topper to reduce pressure on the bottom hip and knee.
- Switch sides during the night. Even a partial change in position reduces sustained load.
- Avoid crossing the legs while lying down, which increases nerve compression at the knee.
- Keep the bottom leg slightly bent rather than fully straight, which reduces stretch on the sciatic nerve.
If pain persists despite these changes, or if you notice weakness, lasting numbness, or pain that does not respond to position changes, see a doctor. Imaging and a physical exam can distinguish nerve compression from tendon problems, arthritis, or other causes. Most side-sleeping leg pain is manageable with simple adjustments. Some of it is not, and that difference matters.
Frequently Asked Questions
Why does my leg hurt when I sleep on my side but not on my back?
Side sleeping puts direct pressure on the outer hip, knee, and peroneal nerve, which back sleeping does not. The pain is usually mechanical and eases when you change position.
Which side should I sleep on if my leg hurts?
Sleep on the side that does not hurt, and place a pillow between your knees to keep the hips level. If both sides hurt, a softer surface or a body pillow may reduce pressure on the bottom leg.
Can side sleeping cause permanent nerve damage?
Positional nerve compression from sleep usually resolves once you move, and permanent damage from sleeping position alone is uncommon. Numbness or weakness that lasts for hours after waking should be checked by a doctor.
Does a pillow between the knees really help leg pain?
It can reduce strain on the hips and lower back by keeping the pelvis aligned, and many clinicians recommend it. Evidence from large trials is limited, but it is a low-risk change worth trying.

