Why Do My Legs Hurt So Bad? Causes and What to Do

Severe leg pain has dozens of possible causes, ranging from a simple muscle cramp to circulation problems or nerve compression. The most common culprits are overworked muscles, mineral deficiencies, poor blood flow, and irritated nerves. Figuring out what’s behind your pain starts with noticing the details: where it hurts, when it started, and what makes it better or worse.

Muscle Cramps and Overuse

The most frequent reason for sudden, intense leg pain is a muscle cramp or strain. Cramps can strike after working a muscle too hard, losing fluids through sweat, or even holding one position for too long. If you recently ramped up your activity level, started a new workout, or spent hours on your feet, your muscles may simply be overtaxed.

Mineral imbalances play a bigger role than most people realize. Too little potassium, calcium, or magnesium in your diet can trigger leg cramps directly. Some blood pressure medications increase urination and drain these minerals from your body, which is why people on those drugs often notice more cramping. Extreme sweating during exercise in warm weather does the same thing. Age matters too: as you get older, you lose muscle mass, so the muscle that remains gets stressed more easily and cramps more often.

If your pain is clearly tied to a specific activity or happened after exercise, this is the most likely explanation. Soreness from overuse typically improves within a few days with rest and basic home care.

Nerve Compression and Sciatica

Pain that shoots down one leg, especially from the lower back or buttock, often points to sciatica. This happens when something pinches or irritates your sciatic nerve, which runs from your lower spine through your hips and down each leg. A herniated disc is one of the most common triggers, but spinal stenosis (narrowing of the spinal canal), degenerative disc disease, and even pregnancy can cause it.

Sciatica feels different from a muscle cramp. People describe it as a burning or electric shock sensation that travels down one leg. It often gets worse when you cough, sneeze, bend, or lift your legs while lying on your back. You might also feel tingling, pins and needles, or numbness that extends into your foot or toes. The pain is almost always on one side, which helps distinguish it from other causes.

Circulation Problems

If your legs ache or cramp when you walk but feel better after standing still for two to five minutes, poor circulation is a likely cause. This pattern is called claudication, and it happens when narrowed arteries can’t deliver enough oxygen-rich blood to your leg muscles during activity. People typically describe it as cramping, aching, tingling, or numbness in the lower legs or feet. The pain stops with rest because your circulation can keep up with the lower oxygen demand when you’re not moving.

A different circulation issue, chronic venous insufficiency, causes a heavy, achy feeling in your legs rather than sharp pain. When the valves in your leg veins stop working properly, blood pools in your lower legs instead of flowing back toward your heart. This is especially noticeable after standing for long periods or by the end of the day. Visible signs include varicose veins, swelling around the ankles, and skin that looks reddish-brown or feels leathery. In advanced cases, the skin can break down into open sores near the ankles.

Restless Legs at Night

If your legs hurt or feel deeply uncomfortable primarily at night or when you’re sitting still, restless legs syndrome (RLS) is worth considering. The hallmarks are specific: you feel a strong, sometimes irresistible urge to move your legs, paired with uncomfortable sensations. The discomfort starts or worsens during rest, improves temporarily when you walk or stretch, and is worse at night. Fatigue makes RLS symptoms worse, which creates a frustrating cycle since the condition itself disrupts sleep.

Arthritis in the Lower Body

Joint pain in the knees, hips, or ankles can radiate through the legs and feel like generalized leg pain. The two main types behave quite differently.

Osteoarthritis develops gradually over months or years as the cartilage cushioning your joints wears down. Pain flares when bone rubs against bone. Morning stiffness is common but usually fades within a few minutes of moving around. This type tends to affect joints you’ve used heavily or injured in the past.

Rheumatoid arthritis is an immune system condition where your body attacks the tissues lining your joints. It often starts with flu-like fatigue, fever, and general weakness before joint pain becomes obvious. The key difference: morning stiffness from rheumatoid arthritis lasts an hour or longer, compared to just a few minutes with osteoarthritis. It also tends to affect the same joints on both sides of your body.

Signs That Need Prompt Attention

Most leg pain is not dangerous, but a few patterns warrant quick medical evaluation. Deep vein thrombosis (a blood clot in a deep leg vein) causes swelling, pain or cramping that often starts in the calf, warmth in the affected leg, and skin that looks red or purple. It sometimes produces no symptoms at all. A clot becomes life-threatening if it breaks free and travels to the lungs, causing sudden shortness of breath, chest pain, dizziness, or coughing up blood. That combination is a medical emergency.

You should also seek care promptly if you can’t walk or put weight on your leg, if you heard a popping or grinding sound during an injury, if one leg is swollen and pale or unusually cool, or if you develop calf pain after prolonged sitting (a long flight or car ride, for example). Swelling in both legs combined with breathing problems also warrants immediate attention.

What You Can Do at Home

For mild to moderate leg pain without the red flags above, home care is a reasonable starting point. The classic approach is rest, ice, compression, and elevation. “Rest” doesn’t mean complete immobility. It means avoiding the specific activity that caused the pain while still moving gently. Apply ice for up to 20 minutes at a time, letting your skin return to its normal color before reapplying. Wrap the area with a compression bandage to limit swelling, and elevate your leg 12 to 18 inches above heart level when possible.

Over-the-counter pain relief, whether oral options like ibuprofen or topical creams and gels, can take the edge off while your body heals. Most sprains and strains respond to this kind of conservative care within two to three weeks. If your pain doesn’t improve in that window, gets progressively worse, or keeps coming back, it’s time to get it checked out. Pain during or after walking that follows a predictable pattern also deserves a medical visit, since it may point to a circulation or nerve issue that won’t resolve on its own.