Why do my legs hurt so bad? Most leg pain comes from one of four systems: muscle that has run low on energy or been pushed past its repair capacity, nerves that are compressed or sensitized, blood vessels that cannot keep up with demand, or connective tissue that is overloaded. The specific sensation, its timing, and what makes it better usually reveal which system is involved. A deep ache that begins minutes into walking points to circulation. A sharp, electric pain that follows a nerve path points to nerve irritation. A diffuse soreness 24 to 48 hours after effort points to muscle damage and repair.
This explainer walks through the physiology behind each pattern, the numbers that separate normal from concerning, the exceptions that break the rules, and the practical thresholds that should prompt a medical visit.
The energy crisis inside working muscle
Skeletal muscle is the body's largest consumer of fuel during movement. At rest, muscle stores a small amount of ATP, the molecule that powers contraction, but it burns through that reserve within seconds. To keep contracting, muscle regenerates ATP through three systems that switch on in sequence.
The first is the phosphagen system, which uses creatine phosphate to rebuild ATP almost instantly. It lasts roughly 8 to 10 seconds at maximal effort. The second is anaerobic glycolysis, which breaks down glucose without oxygen and produces ATP fast but also produces hydrogen ions and lactate. This system dominates for about 30 seconds to 2 minutes of hard effort. The third is oxidative phosphorylation, which uses oxygen to burn carbohydrate and fat and can sustain activity for hours but ramps up slowly.
Leg pain during sustained or repeated effort often reflects the gap between these systems. When oxygen delivery lags behind demand, muscle relies more heavily on anaerobic glycolysis, and the resulting acidity and metabolite accumulation stimulate pain-sensing nerve endings. This is why a hard set of squats or a steep hill produces a burning sensation that fades within minutes of stopping.
The deeper issue is microscopic muscle damage. Eccentric contractions, where the muscle lengthens under load, generate high force per fiber. Running downhill, lowering a weight slowly, and decelerating during sprinting all produce eccentric load. The mechanical stress disrupts the internal protein scaffolding of muscle fibers, especially the sarcomeres, the basic contractile units. This damage triggers an inflammatory repair response that peaks around 24 to 72 hours after exercise.
Quantified context: how much soreness is normal
Delayed onset muscle soreness, or DOMS, is the diffuse ache and stiffness that follows unaccustomed eccentric exercise. It typically begins 6 to 12 hours after activity, peaks at 24 to 48 hours, and resolves within 3 to 5 days. The sensation is usually described as tender, tight, or achy rather than sharp. It affects the muscle belly, not the joint line or a narrow band along a nerve.
Normal post-exercise soreness has recognizable limits. It should be symmetric when the exercise was symmetric. It should improve rather than worsen after the first 48 hours. It should not cause visible swelling, dark urine, or weakness severe enough to prevent bearing weight. Those features cross into a different category.
Muscle damage markers help explain the intensity. Creatine kinase, an enzyme released when muscle fibers break down, can rise from a resting baseline of roughly 50 to 200 units per liter to 10,000 or more after extreme eccentric exercise in untrained people. That number sounds alarming but does not by itself predict harm. The clinical concern is when rhabdomyolysis, severe muscle breakdown, releases enough myoglobin to injure the kidneys. That threshold is far higher and usually requires extreme exertion, heat stress, or a predisposing condition.
The practical takeaway is that soreness intensity scales with novelty and eccentric load, not with fitness. A trained runner who adds a steep downhill segment will be sore the next day. A weightlifter who returns after two weeks off will be sore after a light session. The muscle is responding to unfamiliar mechanical stress, not proving weakness.
Nerve pain: when the signal itself is the problem
Not all leg pain originates in muscle. Nerve pain, called neuropathic pain, feels different: burning, electric, shooting, or tingling, often following a specific path down the leg. The mechanism is irritation or compression of a nerve root or peripheral nerve.
The sciatic nerve, formed from nerve roots in the lower spine, runs from the lower back through the buttock and down the back of the leg. When a lumbar disc bulges or a bone spur narrows the space around a nerve root, the nerve becomes mechanically compressed and chemically inflamed. The result is radicular pain, which travels along the nerve's territory, often below the knee in a band-like pattern. Coughing, sneezing, or straining can briefly worsen it because those actions raise pressure inside the spinal canal.
Peripheral nerve compression produces a similar pattern in a different location. The common peroneal nerve wraps around the fibular head, the bony bump on the outside of the knee, where it sits just under the skin. Prolonged leg crossing, kneeling, or pressure from a tight boot can compress it, producing numbness or a foot drop that resolves after the pressure is removed.
The counterintuitive detail is that nerve pain often worsens at rest. Muscle pain typically eases when you stop moving because the metabolic demand drops. Nerve pain driven by compression or sensitization can intensify at night, when there is less competing sensory input and the nerve remains compressed by posture. Pain that wakes you from sleep and follows a nerve path deserves evaluation.
Circulation: the supply-demand mismatch
Blood vessels must deliver oxygen and remove waste at a rate that matches muscle demand. When arteries narrow, typically from atherosclerosis, that delivery becomes limited. The classic result is intermittent claudication, a cramping or aching pain in the calf, thigh, or buttock that appears predictably after a fixed distance of walking and resolves within a few minutes of rest.
The pattern is the diagnostic clue. Claudication pain is reproducible: the same distance, the same location, the same relief with stopping. It does not depend on position or time of day. As artery narrowing progresses, the walking distance that triggers pain shortens. Severe disease can cause pain at rest, typically in the foot or toes, worse at night and relieved by dangling the leg over the bed edge.
Venous problems produce a different pattern. Chronic venous insufficiency causes heaviness, aching, and swelling that worsen through the day and improve with elevation. The pain is diffuse and bilateral more often than arterial pain. Varicose veins can cause localized throbbing. The mechanism is impaired return of blood to the heart, not impaired delivery.
A blood clot in a deep leg vein, deep vein thrombosis, is the urgent exception. It typically causes unilateral swelling, warmth, and pain in the calf or thigh, often with a tight or cramping quality. The risk is that the clot can travel to the lungs. This is a medical emergency, not a soreness problem.
Edge cases that change the picture
Compartment syndrome is a pressure problem inside a closed fascial space. after severe exertion, trauma, or a fracture, swelling within a muscle compartment raises pressure enough to compress the blood vessels and nerves inside it. Acute compartment syndrome is a surgical emergency. Chronic exertional compartment syndrome produces pain and tightness during exercise that resolves with rest, most often in the lower leg of runners.
Medication effects are an underrecognized cause. Statins, used to lower cholesterol, can cause muscle pain in a subset of users, sometimes with elevated creatine kinase. The mechanism is not fully settled and likely involves individual susceptibility. Any new widespread muscle pain after starting a medication warrants a conversation with the prescriber rather than a self-directed stop.
Metabolic and endocrine conditions can produce leg pain. An underactive thyroid can cause diffuse muscle aching and cramps. Vitamin D deficiency is associated with bone and muscle pain, though the evidence for pain as a primary symptom is mixed. Diabetes can cause peripheral neuropathy, typically a symmetric burning or numbness in the feet and lower legs that develops gradually.
Structural issues in the hip and knee refer pain to the leg. Hip osteoarthritis often presents as groin or thigh pain rather than hip pain. A tear in the meniscus or a ligament sprain produces localized joint-line pain with mechanical symptoms like catching or giving way.
Misconceptions that delay good decisions
The most persistent misconception is that soreness means a workout worked. Soreness reflects novelty and mechanical damage, not training quality. A well-designed program can build strength and endurance with modest soreness by progressing load gradually.
Another is that stretching prevents or cures soreness. Reviews of stretching before or after exercise show minimal effect on DOMS. The muscle damage and inflammation are not corrected by elongation.
A third is that leg pain in older adults is automatically arthritis. Arthritis pain is usually joint-centered and worse with use. Pain that is clearly in the muscle, reproducible with walking distance, and relieved by rest points toward circulation and deserves a vascular assessment. Assuming arthritis can delay diagnosis of peripheral artery disease, which carries cardiovascular risk.
A fourth is that numbness or tingling will resolve on its own. Some nerve compression does resolve when the pressure is removed. Progressive numbness, weakness, or foot drop should be evaluated promptly because prolonged compression can cause lasting nerve damage.
Comparison: matching the pattern to the likely system
| Pattern | Typical sensation | Timing | What relieves it | Likely system |
|---|---|---|---|---|
| Diffuse muscle soreness | Achy, tender, tight | Peaks 24–48 hours after new exercise | Gentle movement, time | Muscle repair |
| Cramping with fixed walking distance | Cramp, ache in calf or thigh | After predictable distance | Stopping, rest within minutes | Arterial circulation |
| Electric or burning down the leg | Shooting, tingling, numb | Variable, often worse at rest or night | Position change, sometimes nothing | Nerve |
| Heaviness and swelling | Diffuse ache, tightness | Worsens through the day | Elevation | Venous circulation |
| Unilateral swelling and warmth | Tight, cramping | Sudden onset | Nothing reliable | Possible clot, urgent |
| Joint-line pain with movement | Sharp, catching | With specific movements | Rest, avoiding the movement | Joint or connective tissue |
Practical actions and thresholds
The first step is pattern recognition. Note where the pain is, when it starts, what makes it better, and whether it is symmetric. A simple log over a few days often separates muscle, nerve, and circulation patterns.
For ordinary post-exercise soreness, the practical steps are graded. Resume light movement within 24 to 48 hours because gentle activity supports blood flow without adding damage. Avoid repeating the same eccentric load at high intensity for several days. Prioritize sleep and adequate protein intake, roughly 1.2 to 1.6 grams per kilogram of body weight per day for active adults, though individual needs vary. Use heat or cold for comfort, recognizing that neither speeds repair.
Sudden unilateral leg swelling with warmth or redness: seek urgent care to rule out deep vein thrombosis. Pain, pallor, pulselessness, or paralysis in a limb: emergency evaluation for acute compartment syndrome or arterial blockage. Calf pain with chest pain or shortness of breath: emergency evaluation. Progressive weakness, foot drop, or loss of bladder or bowel control with back pain: urgent evaluation for nerve compression. Dark brown urine after extreme exertion: urgent evaluation for rhabdomyolysis. Leg pain with a new medication, especially a statin: contact the prescriber.
For pain that follows a walking-distance pattern, ask for a vascular assessment. An ankle-brachial index, a simple ratio comparing blood pressure at the ankle to the arm, can screen for peripheral artery disease. A value below 0.90 is generally considered abnormal, though thresholds vary by guideline and clinical context.
For nerve-pattern pain, a clinician can assess sensation, reflexes, and strength, and imaging or nerve conduction studies may follow if findings warrant. For joint-centered pain, imaging may help define structural damage, but the physical exam usually leads.
Limitations and what this cannot tell you
This article describes mechanisms and patterns, not individual diagnoses. The same symptom can arise from more than one system, and people frequently have overlapping causes. Age, medications, vascular risk factors, and prior injury all shift the probabilities.
Thresholds in medicine are population tools, not personal verdicts. A creatine kinase value, an ankle-brachial index, or a walking distance means something different in a trained athlete, a person with diabetes, and an older adult with known vascular disease. Numbers inform judgment; they do not replace it.
The mechanisms described here are stable physiology, but specific clinical recommendations change as evidence evolves. Details like screening intervals, medication decisions, and rehabilitation protocols should come from a clinician who knows your history.
This article is general educational information, not a diagnosis or treatment plan. Leg pain can signal conditions ranging from harmless soreness to a blood clot or compartment syndrome, so persistent, severe, or one-sided symptoms deserve evaluation by a qualified local clinician. If you have sudden swelling, chest pain, or loss of limb function, contact local emergency services immediately.