Health condition
Muscle cramp, from a bad night's calf to knowing when to get it checked.
Sudden and painful, but usually harmless. Here's what causes it, what actually helps, and the situations that need a doctor's opinion.
Why trust this guide
- 01
Editorial team
Written by our editorial team from the UK sources listed on each page.
- 02
Sourced from guidance
Checked against NICE Clinical Knowledge Summaries and peer-reviewed sources you can see at the end.
- 03
Current for 2026
Reflects UK primary care guidance on stretching, hydration, medication review and specialist quinine use.
Key facts
Muscle cramp at a glance.
The essentials, in plain English - what it is, why it happens, and how it's managed in the UK today.
-
What it is
A sudden, involuntary and painful contraction of a muscle or muscle group, most often in the calf, that eases within minutes.
-
Who gets it
Very common - most adults have had one. Frequency rises with age, pregnancy and certain long-term conditions.
-
Timing
Often nocturnal, waking people from sleep, though exercise-associated cramps happen during or just after activity.
-
Usual cause
Idiopathic in most cases - no underlying disease is found, and cramps settle with simple self-care.
-
Secondary causes
Dehydration, certain medicines, pregnancy, and conditions such as peripheral vascular disease, neuropathy or thyroid disease.
-
When to escalate
Frequent, severe cramps that disrupt sleep despite self-care may warrant specialist-initiated quinine sulfate.
Why this guide matters
Simple steps first, specialist care when it's needed.
Muscle cramp is common and usually benign - but it's worth knowing what drives it and when it's more than a nuisance. The three points below shape everything else on this page.
-
Most cramps are idiopathic
No underlying cause is found in most cases, and stretching, massage and hydration are usually enough.
-
Medicines can be the trigger
Diuretics and statins are recognised contributors - a medication review is a simple, useful first step.
-
Quinine is a last resort
For severe, frequent cramps unresponsive to other measures, specialist-initiated quinine sulfate is an option, given its side-effect profile.
How the diagnosis is made
From a bad night's cramp to a clear plan.
The steps a UK GP will normally follow, in order - so you know what to expect and why.
Phase 1 · Assessing
History, medicines and lifestyle triggers
Phase 2 · Confirming
Examination for vascular or nerve disease
Phase 3 · Preparing
Bloods and specialist referral if needed
- 01
Assessing
Clinical history
A description of the cramp, its timing, triggers and how it resolves helps separate benign idiopathic cramps from secondary causes.
- 02
Assessing
Medication review
Diuretics and statins are checked, since both are recognised contributors to muscle cramping in some people.
- 03
Assessing
Hydration and activity check
Fluid intake, exercise intensity and recent changes in activity are reviewed as common exercise-associated triggers.
- 04
Confirming
Examination for vascular disease
Pulses and skin changes in the legs are checked where peripheral vascular disease is suspected as an underlying driver.
- 05
Confirming
Examination for neuropathy
Sensation, reflexes and gait are assessed if peripheral neuropathy could be contributing to cramping.
- 06
Preparing
Bloods if frequent or severe
Electrolytes, renal function, liver function and thyroid function are checked when cramps are frequent, severe, or a secondary cause is suspected.
- 07
Preparing
Specialist review for quinine
If self-care and modifiable causes have been addressed without relief, a specialist-initiated trial of quinine sulfate may be considered.
Typical timeline: one GP visit is usually enough - bloods only follow if cramps are frequent or a cause is suspected.
Symptoms
What a muscle cramp actually feels like.
The classic sudden calf tightening, and the patterns worth knowing - from nocturnal cramps to features that mean it's time to get checked.
-
Sudden onset
The cramp comes on abruptly, often without warning, and is immediately painful.
-
Calf most affected
The calf muscle is the classic site, though thighs and feet can also cramp.
-
Visible muscle tightening
The muscle may feel hard or knotted to touch and can be seen to bulge briefly.
-
Nocturnal pattern
Many cramps happen at night and disturb sleep, sometimes repeatedly.
-
Exercise-associated cramping
Cramps during or shortly after exertion, particularly in heat or with dehydration.
-
Lingering tenderness
Mild muscle soreness can persist for hours after the cramp itself has passed.
-
Pregnancy-related cramps
Leg cramps, especially at night, are common in the second and third trimesters.
-
Red flag - persistent weakness
Cramping alongside ongoing weakness, numbness or wasting needs prompt assessment.
Treatment
How muscle cramp is treated in the UK.
Stretching and hydration first, medication review next - and specialist-initiated quinine sulfate for the minority who need it.
-
Stretch and massage
Gently stretching and massaging the affected muscle during an acute cramp usually brings relief within minutes.
-
Standing and weight-bearing
Standing on the affected leg or flexing the foot upwards can shorten a calf cramp quickly.
-
Regular calf stretches
Daily stretching exercises, especially before bed, reduce how often nocturnal cramps recur.
-
Adequate hydration
Keeping well hydrated, particularly around exercise and in hot weather, lowers cramp frequency for many people.
-
Medication review
Reviewing diuretics or statins with a GP can identify a modifiable drug-related cause.
-
Treating an underlying cause
Where thyroid disease, neuropathy or vascular disease is found, treating it can reduce cramp frequency.
-
Quinine sulfate
Specialist-initiated only, for severe frequent cramps unresponsive to other measures, given its side-effect profile.
-
Reviewing dialysis-related cramps
For people on renal dialysis, the dialysis team can adjust fluid removal to reduce cramping during sessions.
What this guide is based on
The sources behind every claim on this page.
UK national guidance and specialist society standards, current at the time of last review.
Key references
Guidelines and standards we relied on.
A quiet reminder
This guide is for information, not medical advice.
Your GP knows your history and current medicines and can tell you which parts apply to you. If in doubt, get seen.
-
NICE Clinical Knowledge Summaries. Leg cramps.
-
NHS. Leg cramps - causes and treatment.
-
British National Formulary (BNF). Quinine sulfate.
-
Cochrane Library. Interventions for leg cramps.
Red flags
When a cramp needs urgent attention.
Most cramps are harmless and self-limiting. These are the situations that aren't - and where medical assessment is needed.
-
Progressive muscle weakness
Cramping alongside weakness that is getting worse needs prompt neurological assessment.
-
Muscle wasting
Visible loss of muscle bulk near a cramping area is not typical of benign idiopathic cramps.
-
Sensory loss or tingling
Numbness or pins and needles alongside cramps may point to peripheral neuropathy needing investigation.
-
Signs of peripheral vascular disease
Cold, pale legs, absent pulses or pain on walking that eases with rest warrant vascular assessment.
-
Cramps with dark urine
This combination can suggest rhabdomyolysis, particularly after unaccustomed intense exercise, and needs urgent review.
-
Renal dialysis patients
Frequent intradialytic cramps should be discussed with the renal team rather than managed alone.
-
Cramps starting after a new medicine
A clear time link to a new diuretic or statin should prompt a medication review rather than self-treatment.
-
Unexplained weight loss or fatigue
Alongside frequent cramps, this combination warrants screening for thyroid or liver disease.
Living with it
A manageable habit, not a mystery.
Four things that make the biggest difference day to day - a stretching routine, steady hydration, a medicines check, and knowing when to ask for more.
A quiet reminder
Small habits beat one dramatic fix.
A minute of stretching each evening, kept up for weeks, does more than any single remedy tried once.
- 01 Routine
Stretch before bed
A short calf-stretching routine each evening is one of the simplest ways to cut nocturnal cramps.
- 02 Fluids
Stay ahead of dehydration
Drink regularly through the day, especially before and after exercise or in warm weather.
- 03 Review
Ask about your medicines
If cramps started after a new tablet, mention it at your next appointment rather than stopping it yourself.
- 04 Escalate
Know when to ask for more
If cramps are frequent, severe and disrupting sleep despite self-care, ask about specialist options such as quinine sulfate.
Frequently asked
Everything we get asked about muscle cramp.
Quick answers on causes, quick fixes, prevention and when quinine is used.
-
What causes a muscle cramp?
Most muscle cramps are idiopathic, meaning no underlying cause is found. Recognised contributors include exercise, dehydration and electrolyte imbalance, pregnancy, medicines such as diuretics and statins, and conditions like peripheral vascular disease, peripheral neuropathy, liver disease, renal dialysis or hypothyroidism.
-
Why do cramps happen at night?
Nocturnal calf cramps are common, particularly with age, and the exact mechanism is not fully understood. They tend to respond well to regular calf stretching before bed and staying well hydrated.
-
How do I stop a cramp quickly?
Gently stretch and massage the muscle, or stand and put weight through the affected leg while flexing the foot upwards. Most cramps ease within a few minutes with these measures.
-
When should I see a doctor about cramps?
See a GP if cramps are frequent, severe, disrupting your sleep, or accompanied by weakness, numbness, wasting or other red-flag symptoms. Bloods may be checked to rule out electrolyte, renal, liver or thyroid causes.
-
Is quinine sulfate safe for cramps?
Quinine sulfate can help severe, frequent cramps that have not responded to other measures, but it carries a notable side-effect profile including effects on hearing and blood counts. It is specialist-initiated and reserved for cases where simpler measures have failed.
-
Can pregnancy cause muscle cramps?
Yes, leg cramps are common in pregnancy, especially in the second and third trimesters. Stretching, staying hydrated and gentle massage are the usual first-line approaches, as most medicines are avoided in pregnancy.
Related content
Keep reading.
-
Muscle spasms
A closely related pattern of involuntary contraction.
Learn more -
Muscle strains and sprains
When muscle pain comes from injury, not cramping.
Learn more -
Restless legs syndrome
Another cause of uncomfortable nocturnal leg sensations.
Learn more -
Peripheral neuropathy
A recognised underlying driver of cramping.
Learn more -
Dehydration
A common and modifiable trigger for cramps.
Learn more -
All conditions
Browse every clinical guide.
Learn more -
Mole Check
Related diagnostic test.
Learn more -
Cryotherapy Treatment
Related treatment option.
Learn more