Why Your Whole Leg Hurts: Causes and When to Worry

Pain that spreads through your entire leg, rather than staying in one spot like a knee or ankle, usually points to a problem somewhere other than the leg itself. The most common cause is a pinched nerve in the lower back, but vascular problems, systemic conditions, and even certain medications can produce that same diffuse, whole-leg pain. Where the pain travels, what makes it better or worse, and whether you have other symptoms all help narrow down what’s going on.

Pinched Nerves in the Lower Back

The single most common reason for pain that runs the full length of your leg is compression of a nerve root where it exits the spine. Your sciatic nerve, the longest nerve in the body, is built from nerve roots in your lower back. When one of those roots gets squeezed by a herniated disc, bone spur, or narrowed spinal canal, the pain doesn’t stay in your back. It radiates down the path that nerve supplies, often from buttock to foot.

The specific nerve root involved determines exactly where in your leg you feel it. Compression of the L5 nerve root sends pain down the outside of the leg and into the top of the foot, sometimes with numbness along the same path. In severe cases, you may have trouble lifting your foot, causing it to slap the ground when you walk. Compression of the S1 nerve root, on the other hand, sends pain down the back of the leg and into the outside or bottom of the foot, and can make it hard to push down with your foot, like pressing a gas pedal.

A related problem is spinal stenosis, where the spinal canal gradually narrows from years of wear and tear. Bulging discs, thickened ligaments, and bone spurs crowd the nerve roots that control sensation and movement in your legs. This produces a distinctive pattern: your legs feel heavy, crampy, or painful when you stand upright or walk, but the symptoms ease when you sit down or lean forward. That’s because bending forward slightly opens the spinal canal and takes pressure off the nerves. If you notice you feel better pushing a shopping cart (which tilts you forward) than walking upright, spinal stenosis is a likely culprit.

Blood Vessel Problems

When the issue is vascular rather than neural, the pain has a different character and different triggers.

Deep Vein Thrombosis

A blood clot in one of the deep veins of your leg can cause pain, swelling, warmth, and skin discoloration (reddish or purplish) in the affected leg. The pain often starts in the calf but can involve the whole leg. DVT sometimes produces no noticeable symptoms at all, which is what makes it dangerous. It typically affects only one leg, and the swelling and warmth help distinguish it from nerve or muscle pain. This is one cause of whole-leg pain that requires urgent medical attention because the clot can break loose and travel to the lungs.

Peripheral Artery Disease

Narrowed arteries reduce blood flow to your legs, causing cramping pain when you walk that goes away when you rest. This is called claudication, and it’s essentially your leg muscles running out of oxygen during activity. The pattern is predictable: walk until it hurts, stop and rest until the pain fades, then walk again. Unlike nerve-related leg pain, the relief comes from stopping activity entirely rather than from changing your posture.

Chronic Venous Insufficiency

When veins in your legs can’t efficiently pump blood back up to your heart, pressure builds in the leg. This creates a heavy, full, aching sensation that worsens through the day, especially if you’ve been standing. Over time, the elevated pressure can burst tiny blood vessels near the skin, leaving a reddish-brown discoloration, particularly around the ankles and lower legs. The skin in these areas becomes fragile and can break open easily.

Muscle Pain From Medications

If you take a cholesterol-lowering statin and your legs have started aching, the medication may be the cause. Statins can produce a soreness, tiredness, or weakness in the muscles that ranges from mild discomfort to pain severe enough to interfere with daily life. About 5% of people taking statins experience this. The pain tends to affect both legs and feels more like a deep, diffuse muscle ache than a sharp or shooting sensation. In extremely rare cases (a few per million users), statins cause serious muscle breakdown that requires immediate medical care, but ordinary statin-related muscle soreness is far more common and usually manageable by adjusting the medication.

Electrolyte Imbalances

Your muscles need the right balance of potassium, magnesium, and calcium to contract and relax normally. When levels of any of these minerals drop too low, the result can be muscle cramps, spasms, or a general achiness that affects both legs. This is common after heavy sweating, prolonged exercise, dehydration, or with certain medications like diuretics. The cramps tend to come and go rather than being constant, and they often strike at night. Unexplained muscle cramps paired with numbness or tingling warrant a blood test to check your electrolyte levels.

Fibromyalgia and Widespread Pain Conditions

Fibromyalgia causes chronic, widespread pain that people often describe as aching, burning, or throbbing. It commonly involves the legs alongside other areas like the arms, back, and chest. The pain comes with muscle stiffness, tenderness to touch, and sometimes numbness or tingling. What makes fibromyalgia different from other causes on this list is that the pain is bilateral (both legs, not just one), persistent, and accompanied by fatigue, sleep problems, and heightened sensitivity to pressure or touch. Research shows that people with fibromyalgia have altered pain signaling in the brain, meaning their nervous system amplifies pain signals that others wouldn’t feel.

How to Tell These Apart

A few key details can help you and your doctor figure out what’s driving whole-leg pain:

  • One leg versus both: DVT, a pinched nerve, and peripheral artery disease often affect one side. Fibromyalgia, electrolyte problems, and medication side effects typically affect both.
  • Pain with activity versus rest: Peripheral artery disease hurts when you walk and stops when you rest. Spinal stenosis hurts when you stand upright and eases when you lean forward or sit. DVT can hurt at rest.
  • Shooting versus aching: Nerve compression tends to produce sharp, shooting, or electric pain that follows a line down the leg. Vascular and muscular causes usually feel more like a deep ache, heaviness, or cramping.
  • Swelling and skin changes: Warmth, swelling, and color changes point toward a vascular problem. Nerve and muscle pain rarely change how the leg looks.

Doctors often use a simple bedside test for nerve-related pain. You lie on your back while someone lifts your straight leg. If raising it between 30 and 70 degrees reproduces the shooting pain down past your knee, there’s a roughly 91% chance a nerve root is being compressed. Imaging like an MRI may follow to confirm the diagnosis.

When Whole-Leg Pain Is an Emergency

Most causes of whole-leg pain are manageable, but a few situations need immediate attention. Cauda equina syndrome occurs when the bundle of nerves at the base of the spine gets severely compressed, and it can cause permanent damage if not treated quickly. The warning signs include loss of bladder control or the inability to sense when your bladder is full, numbness in the groin or inner thighs (called saddle numbness), fecal incontinence, and weakness in both legs. If you develop any of these alongside your leg pain, this requires emergency evaluation by a spine surgeon.

Similarly, a swollen, warm, discolored leg that developed over hours to days should be evaluated urgently to rule out a blood clot, particularly if you’ve recently been immobile from surgery, a long flight, or bed rest.