Overview
Leg pain can be in the thigh, the knee, the calf, or the shin, and it can be sharp, dull, burning, or cramping. Most leg pain comes from the muscles, often after exercise, standing for long periods, or not drinking enough.
Some leg pain is more serious. Pain that comes on when you walk and goes away when you rest can mean poor blood flow (peripheral artery disease). Pain that runs from your back down your leg is often sciatica. A swollen, painful, warm calf can be a blood clot (DVT).
When to get medical care
Causes
Common causes include muscle cramps (from dehydration, low potassium, or overuse), muscle strains, shin splints, stress fractures, tendinitis, and standing or walking for long periods. Other causes include sciatica from a slipped disk, peripheral artery disease (poor blood flow), a blood clot (DVT), varicose veins, nerve damage from diabetes or alcohol, arthritis, cellulitis (skin infection), some medicines like statins, restless legs syndrome, and in children, growing pains or hip problems. Rarely, bone infections or tumors cause leg pain.
OwieClear has pages on 5 conditions that can cause leg pain or aching. Each shows how soon to get care.
Common causes
- Muscle crampsOften treated at home
A sudden, painful tightening of a muscle, often in the calf or foot, sometimes at night.
- Muscle strain or low back painOften treated at home
Overstretched or tight muscles, often from lifting or activity.
- Broken thighbone (femur fracture)May need emergency care
A break in the thighbone, the longest and strongest bone in the body.
- LipedemaSee a doctor if it doesn't get better
A long-term condition, almost always in women, where fat builds up evenly in both legs (and sometimes arms), sparing the feet.
Less likely causes
- Peripheral neuropathySee a doctor if it doesn't get better
Damage to the nerves in the feet and hands, often from diabetes, low vitamin B12, or alcohol.
What you can do at home
- Rest as much as you can, and raise your leg.
- Ice it for up to 15 minutes at a time, 4 times a day, for the first few days.
- Gently stretch and massage cramping muscles.
- Drink plenty of fluids, especially when exercising or in hot weather.
- Ease back into activity slowly after an injury.
- For varicose veins, raise your legs and wear support stockings.
- For nerve or circulation pain, control your blood sugar, stop smoking, avoid alcohol, and wear shoes that fit well.
Medicines
Acetaminophen (Tylenol) or ibuprofen (Advil, Motrin) help with pain. A doctor may prescribe medicine for nerve pain, poor circulation, or a blood clot. Don't stop any prescription medicine you think is causing leg pain without asking your doctor.
At the doctor
The doctor will examine your legs, feet, hips, back, knees, and ankles to find where the pain is coming from.
Questions you may be asked
- Where the pain is and whether it's in one or both legs
- Whether it's sharp, dull, burning, or cramping
- Whether it's worse with walking and better with rest
- Whether it's worse at night
- Any swelling, numbness, tingling, back pain, or fever
- Your medicines, and whether you smoke or have diabetes
The exam
A physical exam of the legs, checking pulses, swelling, skin color, strength, and feeling.
Tests
- A Doppler ultrasound to look for a blood clot or blocked artery
- Blood tests
- X-rays
- An MRI of the back if sciatica is suspected
- An ankle-brachial index (blood pressure in the ankle) for circulation
Prevention
Healthy habits keep legs strong.
- Warm up and stretch before exercise
- Build up new activities gradually
- Drink enough fluids
- Don't smoke, and keep blood sugar in control
- Move around often on long trips
- Wear supportive shoes
Check your symptoms
Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.
Sources
Last updated 2026-11-13.