Leg pain has dozens of possible causes, ranging from a simple muscle cramp that resolves in minutes to circulatory problems that need prompt medical attention. The location, timing, and quality of the pain are the best clues to what’s going on. A sharp cramp in your calf after exercise points to something very different than a dull ache that worsens when you walk and fades when you rest.
Muscle Cramps and Strains
The most common cause of sudden leg pain is a muscle cramp, sometimes called a charley horse. A cramp is an involuntary tightening of the muscle that hits without warning and can be intensely painful. Most cramps last seconds to minutes, though the area can feel sore for hours or even days afterward. Dehydration, overuse, holding one position too long, and low levels of minerals like potassium or magnesium all make cramps more likely.
A muscle strain is different. Instead of a sudden spasm, a strain means you’ve actually torn some muscle fibers. Strains tend to happen during a specific movement, like sprinting or jumping, and the pain lingers rather than passing quickly. You might notice swelling, bruising, or weakness in the affected muscle. Mild strains heal on their own in a few weeks, while more severe tears can take months.
Pain That Comes From Your Back
Not all leg pain starts in the leg. Your lower back houses nerves that run all the way down to your feet, and problems in the spine can produce pain you feel entirely in your leg, sometimes without any back pain at all. This is called referred pain, and it happens because nerve signals from the spine and leg converge in the same part of the spinal cord, essentially confusing your brain about where the problem actually is. Referred pain can extend as far down as the foot in some cases.
Sciatica is the most well-known version of this. The sciatic nerve is the largest nerve in the body, running from the lower back through the buttock and down the back of each leg to the heel. When a herniated disc or bone spur compresses this nerve, the result is pain that typically starts in one buttock and radiates down the back of the leg. Numbness, tingling, or a pins-and-needles sensation often accompany it. Sciatica almost always affects one side, and it tends to worsen with sitting or bending forward.
Blood Vessel Problems
Two circulatory conditions cause leg pain that feels very different from muscular issues, and both are worth knowing about because they carry real health risks.
Deep Vein Thrombosis
Deep vein thrombosis (DVT) is a blood clot that forms in a deep vein, usually in the lower leg. The pain often starts in the calf and feels like cramping or deep soreness. Your leg may swell, feel warm to the touch, or change color to red or purple. The dangerous part: DVT can occur without noticeable symptoms, and a clot that breaks loose can travel to your lungs. Pain, swelling, or warmth in your lower leg, especially after a long period of sitting like a car trip or flight, warrants urgent medical evaluation.
Peripheral Artery Disease
Peripheral artery disease (PAD) narrows the arteries that supply blood to your legs. The hallmark symptom is called claudication: a deep, aching pain in the calves, thighs, or buttocks that develops during activity and goes away when you rest. The pattern is reliable enough to be a strong diagnostic clue. If you notice that walking a certain distance consistently triggers leg pain that fades within a few minutes of stopping, PAD is a likely explanation. It’s most common in people over 50, smokers, and those with diabetes or high blood pressure.
Chronic Venous Insufficiency
An estimated 10% to 35% of adults in the United States have chronic venous insufficiency (CVI), a condition where the veins in your legs struggle to push blood back up to your heart. Faulty valves let blood pool in the lower legs, causing aching, heaviness, swelling, and sometimes visible varicose veins. The discomfort typically worsens after long periods of standing or sitting and improves when you elevate your legs.
Risk factors include being over 55, obesity, pregnancy, a sedentary lifestyle, prolonged standing at work, and a family history of vein problems. Women are affected more often than men. In more advanced cases, the skin on the lower leg can darken or break down into ulcers, which affect roughly 1% to 3% of the adult population and become more common after age 65.
Joint and Bone Causes
When the pain centers on your knee, hip, or ankle rather than the muscle itself, arthritis is a common culprit. Osteoarthritis, the wear-and-tear type, tends to affect weight-bearing joints like the knees and hips. It’s usually asymmetrical, meaning one knee might bother you while the other feels fine. Stiffness is worst in the morning but typically loosens within 20 to 30 minutes.
Rheumatoid arthritis follows a different pattern. It’s an autoimmune condition that more commonly targets small joints in the hands and feet, and it tends to be symmetrical, affecting both sides at once. Morning stiffness lasts much longer, often more than an hour. Either type can produce pain that you perceive as general leg pain, particularly around the knee.
Stress fractures are another possibility, especially if you’ve recently increased your activity level. These tiny cracks in the bone cause localized pain that worsens with weight-bearing activity and improves with rest. The shinbone is one of the most common sites.
How to Manage Mild Leg Pain at Home
For pain that’s clearly related to overuse, a minor injury, or cramping, the standard approach is rest, ice, compression, and elevation. Avoid putting stress on the injured area for a few days, then gradually increase movement as long as it doesn’t cause pain. Ice is most effective in the first eight hours after injury. Apply it with a barrier like a thin towel for 10 to 20 minutes at a time, repeating every hour or two. If there’s significant swelling, a compression bandage helps, but don’t wrap it tight enough to cause numbness or tingling. Keeping the leg elevated above heart level encourages fluid drainage.
For muscle cramps, gentle stretching and massage during the cramp can shorten its duration. Staying hydrated and making sure your diet includes enough potassium and magnesium can reduce how often cramps occur.
How Leg Pain Gets Diagnosed
The type of imaging or testing your doctor orders depends on what they suspect. A standard X-ray is the first step when a fracture or bone problem is likely, and CT scans are often used in emergencies because they’re fast and widely available. Ultrasound is the go-to for evaluating blood flow and checking for blood clots. MRI provides the most detailed view of soft tissues and is typically ordered when there’s unexplained swelling, a mass, pain that hasn’t responded to treatment, or concern about nerve compression in the spine.
Signs That Need Immediate Attention
Most leg pain is benign, but certain combinations of symptoms signal something more serious. Get emergency care if you have a leg injury with a deep cut or visible bone or tendon, if you heard a popping or grinding sound at the time of injury, or if you can’t walk or bear weight on the leg. Pain, swelling, redness, and warmth in the lower leg together are a classic warning pattern for a blood clot.
See a doctor promptly if your leg is swollen and paler or cooler than usual, if you develop calf pain after prolonged sitting, or if both legs swell and you’re also having trouble breathing. Any serious leg pain that starts without an obvious cause deserves medical evaluation, even if it doesn’t feel like an emergency.

