Before Doctorby dhananjaytech

Leg cramps and leg pain

A cramp is a sudden, painful tightening of a muscle, often the calf. Night cramps are common and usually harmless, but some leg pains follow patterns that need a check.

Below are the usual patterns. Read them, then watch yours for a week or two: when it happens, what came just before, and how long it lasts.

Muscles and joints 7 patterns

Which one sounds like you?

NightLeg cramps and leg pain
NightUsually harmless

Calf cramp at night

Nocturnal leg cramps

When
In bed, often waking you, or when resting
How to spot it
The calf or foot suddenly knots up hard and painfully for seconds to 10 minutes; the muscle may stay sore the next day.
Why
Often no cause is found. Ageing muscles and nerves, tiredness, and muscles held short while lying with toes pointed seem to play a part. Late pregnancy also makes cramps common.
How common
Very common, especially in older adults and pregnancy
Should I worry?
Usually harmless; regular calf stretches may reduce them.
ExerciseLeg cramps and leg pain
ExerciseUsually harmless

Cramp during or after hard exercise in heat

Exercise-associated muscle cramp

When
Football, cricket, running, gym, especially on hot humid days
How to spot it
The working muscle cramps during or soon after long or hard effort, often when you are tired and sweaty.
Why
Tired muscles get muddled nerve signals that keep them contracted. Heat and losing a lot of sweat may add to it.
How common
Common
Should I worry?
Stretch, rest and drink fluids.
A medicineLeg cramps and leg pain
A medicineWorth a check

Cramps after starting a new medicine

Medicine-related cramps

When
Weeks after starting a cholesterol tablet (statin) or a water tablet (diuretic)
How to spot it
Cramps or muscle aches that began after a new medicine and were not there before.
Why
Statins can affect muscle cells, and water tablets change the body's salts, both of which can cause cramps.
How common
Fairly common
Should I worry?
Tell your doctor; do not stop the medicine yourself.
Not drinking enoughLeg cramps and leg pain
Not drinking enoughUsually harmless

Cramps on days you drank little

Low fluid intake

When
Hot days, travel, fasting, or after vomiting or loose motions
How to spot it
Cramps that come on days with little water, dark urine, or after a tummy bug.
Why
Losing water and salts changes how muscles and nerves fire.
How common
Common
Should I worry?
Usually better with fluids; see a doctor if you are very weak or dizzy.
ExerciseLeg cramps and leg pain
ExerciseSee a doctor soon

Calf pain when walking that stops with rest

Intermittent claudication (peripheral arterial disease)

When
After walking a similar distance each time, worse uphill
How to spot it
Cramp-like, aching or burning pain in the calf after walking a certain distance, which goes away a few minutes after you stop. Smokers and people with diabetes are more at risk.
Why
Narrowed arteries cannot bring enough blood to the working leg muscles, so they hurt until rest lets blood catch up.
How common
Common in older people, smokers and people with diabetes
Should I worry?
It is a sign of narrowed arteries, which also raise heart attack and stroke risk.
Sitting for longLeg cramps and leg pain
Sitting for longWorth a check

Uncomfortable urge to move the legs in the evening

Restless legs syndrome

When
Evenings and night, sitting through a film, long bus or flight
How to spot it
Creepy, tingling or aching feeling deep in the legs with a strong urge to move them, eased by walking or stretching and back as soon as you rest.
Why
Linked to how the brain uses iron and the chemical dopamine. Low iron, pregnancy, kidney disease and some medicines make it more likely, and it runs in families.
How common
Common
Should I worry?
Worth a check, including iron levels, if it affects sleep.
TravelLeg cramps and leg pain
TravelSee a doctor soon

One painful, swollen calf after long travel or bed rest

Possible deep vein thrombosis (DVT)

When
After a journey longer than 4 hours, surgery, illness in bed, pregnancy or childbirth
How to spot it
Throbbing pain in one calf or thigh with swelling, and red or darker skin. It does not ease with stretching.
Why
A blood clot forms in a deep vein when blood moves slowly, for example when legs are still for hours.
How common
Uncommon
Should I worry?
Needs a doctor the same day; a clot can travel to the lungs.

Keep a diary for 1–2 weeks

Every time it happens, note:

  • Time of each cramp or pain (night, during exercise, while walking)
  • Which muscle and which side
  • How long it lasted and what eased it
  • Water drunk that day, exercise and heat
  • Any new medicine
  • Swelling, colour change or numbness of the leg
Write my doctor note

See a doctor soon if

  • Cramps that disturb sleep often or last more than 10 minutes
  • Cramps with numbness, weakness or swelling of the legs
  • Calf pain on walking that stops with rest
  • Cramps that started after a new medicine

Don't wait if

  • One swollen, painful leg together with sudden breathlessness or chest pain
  • A leg that suddenly becomes cold, pale, very painful or numb

Call 112 or 108. All warning signs

More in Muscles and joints

Sources

  1. Leg cramps · NHS
  2. Restless legs syndrome · NHS
  3. Peripheral arterial disease (PAD) · NHS
  4. Deep vein thrombosis (DVT) · NHS

Checked in November 2026. Health advice changes; if a source says something different now, trust the source and your doctor.