Leg pain has dozens of possible causes, but most cases fall into a few broad categories: muscle and joint problems, blood flow issues, and nerve irritation. The cause usually depends on where exactly the pain is, what it feels like, and what triggers it. Understanding those patterns can help you narrow down what’s going on.
Muscle Strains and Overuse
The most common reason for leg pain is simply doing more than your muscles are used to. A long walk, a new workout, yard work, or even standing all day can leave your legs sore for a day or two. This kind of pain is usually dull, achy, and spread across one muscle group rather than concentrated in a single spot. It improves with rest and gentle movement.
More acute strains happen when muscle fibers actually tear, usually during a sudden movement like sprinting or jumping. You’ll often feel a sharp pain at the moment it happens, followed by tenderness, swelling, and sometimes bruising. For these injuries, the standard approach is rest, ice for the first eight hours (10 to 20 minutes at a time with a barrier between the ice and your skin), compression if there’s significant swelling, and elevation above heart level. Most mild strains heal within a week or two, though more severe tears can take several weeks.
Nighttime Leg Cramps
If your legs hurt primarily at night with sudden, intense tightening in the calf, you’re likely dealing with nocturnal leg cramps. These are extremely common, especially in older adults, and the honest answer is that doctors don’t fully understand why they happen. Despite popular belief, research from the American Academy of Family Physicians found that neither dehydration nor electrolyte imbalances like low potassium, sodium, or magnesium are clearly linked to nighttime cramping. Magnesium supplements have shown mixed results in non-pregnant adults, with some positive evidence only during pregnancy.
Stretching your calves before bed is one of the few approaches with reasonable support. During a cramp, pulling your toes toward your shin (dorsiflexing the foot) can shorten the episode.
Restless Legs Syndrome
Restless legs syndrome is different from cramps. It’s not a sharp pain but an uncomfortable, hard-to-describe sensation deep in the legs, often described as crawling, pulling, or an overwhelming urge to move. The hallmarks are specific: symptoms start or worsen when you’re sitting or lying down, they improve temporarily when you walk or stretch, and they’re consistently worse at night. If that pattern matches your experience, it’s worth bringing up with your doctor, since effective treatments exist.
Sciatica and Nerve Pain
Pain that shoots down one leg, especially from the lower back through the buttock and into the calf or foot, often points to sciatica. This happens when something in your lower spine, usually a herniated disc, presses on the sciatic nerve. The sensation is distinctive: burning, electric-shock-like pain that may get worse when you cough, sneeze, or bend. Some people also feel tingling or numbness along the same path, sometimes extending into the toes.
Sciatic pain typically affects only one leg and follows a line from your lower back downward. It’s different from the broad, achy soreness of a muscle strain. Most cases resolve within several weeks with conservative treatment, though severe or worsening numbness, especially if it affects bladder or bowel control, needs prompt medical attention.
Poor Blood Flow and Artery Disease
Leg pain that shows up predictably when you walk and disappears within minutes of stopping is a classic sign of peripheral artery disease (PAD). This happens when narrowed arteries can’t deliver enough blood to your leg muscles during activity. The pain is typically deep in the calves, thighs, or buttocks, and it follows a reliable pattern: walk a certain distance, pain starts, stop and rest, pain fades.
PAD is most common in people over 50, particularly those who smoke or have diabetes, high blood pressure, or high cholesterol. It’s worth taking seriously because the same artery-narrowing process happening in your legs is likely happening elsewhere, including the arteries supplying your heart and brain.
Vein Problems
Venous issues cause a different kind of leg discomfort. Varicose veins, those visible, bulging veins near the surface, can create a heavy, aching, or throbbing feeling that worsens after long periods of standing and improves when you elevate your legs. Chronic venous insufficiency is the more advanced version, where the valves in leg veins stop working properly and blood pools in the lower legs. Over time, this can progress from simple discomfort and visible veins to skin changes like darkening or thickening near the ankles, and in severe cases, open sores that are slow to heal.
Blood Clots: When to Act Fast
Deep vein thrombosis (DVT) is a blood clot in a deep leg vein, and it requires urgent medical attention. The warning signs include swelling in one leg (not both), pain or cramping that often starts in the calf, skin that turns red or purple over the affected area, and a noticeable feeling of warmth in that leg. DVT symptoms often develop after prolonged immobility, like a long flight, surgery, or bed rest.
The danger is that the clot can break free and travel to the lungs, causing a pulmonary embolism. Signs of that include sudden shortness of breath, chest pain that worsens with deep breaths, a rapid pulse, dizziness, or coughing up blood. Any combination of these symptoms warrants emergency care.
Diabetes and Nerve Damage
People with diabetes can develop peripheral neuropathy, where prolonged high blood sugar gradually damages the nerves in the legs and feet. This typically starts in the feet and works upward, creating burning or shooting pain in the lower legs alongside tingling, numbness, or a loss of sensation. Some people feel sharp pain while others mainly notice that their feet feel “dead” or absent. The combination of pain and numbness in the same general area is a signature of diabetic nerve damage and is distinct from the mechanical pain of a muscle or joint problem.
Medication Side Effects
Cholesterol-lowering statins are one of the most commonly prescribed medications in the world, and muscle pain is their best-known side effect. However, the actual picture is more nuanced than most people think. In blinded clinical trials, where neither patients nor doctors know who’s taking the real drug, muscle symptoms occur at nearly identical rates in people taking statins and those taking a placebo. In the JUPITER trial, for example, 16% of participants on statins reported muscle pain compared to 15.4% on placebo. That said, a well-designed study called STOMP did find a roughly twofold increase in muscle symptoms with one specific statin (9.4% versus 4.6%). If your leg pain started after beginning a new medication, mention it to whoever prescribed it, but don’t stop taking it on your own.
Joint and Bone Causes
Arthritis in the hip or knee can produce pain that seems to come from the leg itself. Hip arthritis, in particular, often refers pain to the front of the thigh or even the knee, which can make it tricky to identify. Stress fractures, small cracks in bone from repetitive impact, cause localized pain that worsens with weight-bearing activity and improves with rest. They’re most common in the shinbone and foot bones of runners and military recruits, and the pain tends to be pinpoint rather than diffuse.
How to Narrow Down the Cause
A few questions can help you sort through the possibilities. First, consider the timing: pain during activity that stops with rest suggests a blood flow problem, while pain at rest or at night points toward cramps, restless legs, or nerve issues. Location matters too. Pain in a single, specific spot often means an injury or joint problem, while pain that follows a line from your back to your foot suggests nerve involvement. Pain in both legs symmetrically is more likely a systemic issue like neuropathy or venous insufficiency than a localized injury.
The character of the pain is also telling. Sharp, shooting, or electric sensations point to nerves. Deep, crampy aching during exertion points to circulation. Dull soreness after activity points to muscles. And swelling, warmth, or skin color changes in one leg should always prompt a call to your doctor, since those are the hallmarks of a blood clot that shouldn’t wait.

