Bones and muscles

What causes muscle cramps?

Muscle cramps can follow strain or overuse, though sometimes their cause is unknown. [2]

Curated from published research by the Longevello editorial team

Published Updated Checked How we check

Part of the Longevello Bones and muscles topic.

On this page
  1. In brief
  2. What happens during a muscle cramp?
  3. What can make a muscle cramp?
  4. Who gets muscle cramps more often?
  5. Can a doctor look for the cause?
  6. Sources

In brief

  • A muscle cramp is a sudden tightening that happens without you choosing it. [2]
  • Muscle strain or overuse is the most common cause of cramps. [2]
  • Some medicines can cause cramps, and some health problems make them more likely. [2]
  • Muscle cramps are common and usually harmless. [2]

What happens during a muscle cramp?

A cramp makes a muscle tighten suddenly and without your control. [2] It may affect a single muscle or more than one at once. [2] When this happens in a leg, the pain can make movement hard. [1]

Any muscle can cramp. [2] Exercise is a frequent trigger. [2] Night cramps happen to some people, and they mostly affect the legs. [2]

The NHS (the UK health service) says most people with leg cramps get them at night or while resting. [1]

The calf is the usual site for leg cramps. [1] This is the muscle at the back of the leg, below the knee. [1] Cramps can also affect the feet or thighs, though these are less usual sites for leg cramps. [1]

MedlinePlus, a US health information service, lists several sites where muscle cramps often happen: [2]

A leg muscle may still feel sore after the cramp itself has stopped. [1]

What can make a muscle cramp?

Straining a muscle or using it too much is the most common cause of muscle cramps. [2] Nerves under pressure can cause them too. [2] That pressure may come from a spinal cord injury or a trapped nerve in the neck or back. [2]

Other causes on the MedlinePlus list include: [2]

  • too little fluid in the body [2]
  • low levels of minerals such as magnesium, potassium or calcium [2]
  • too little blood reaching the muscles [2]
  • pregnancy [2]
  • some medicines [2]

Working leg muscles too hard in exercise can sometimes bring on leg cramps. [1] Hot or humid weather can make this worse. [1] Liver disease caused by heavy drinking is another possible cause. [1]

Who gets muscle cramps more often?

Anyone can have a muscle cramp. [2] They are more common in older adults and people who are overweight. [2] Athletes and pregnant women also get them more often. [2]

Some health conditions are linked with more frequent cramps, including thyroid and nerve disorders. [2] Pregnancy can sometimes cause leg cramps, usually later in pregnancy. [1] Ageing can sometimes cause leg cramps too. [1]

Can a doctor look for the cause?

For leg cramps, a doctor carries out a check to look for what is behind them. [1] Even so, no reason is found for some cramps. [1][2]

Some medicines can sometimes cause leg cramps. [1] The NHS names medicines for lowering cholesterol (statins) and for high blood pressure (diuretics) as examples. [1]

Sources

  1. NHS. Leg cramps. Last reviewed 1 December 2023; review due 1 December 2026. Source page (accessed 23 November 2026).
  2. US National Library of Medicine, MedlinePlus. Muscle Cramps. Updated 15 August 2025. Source page (accessed 23 November 2026).

Report a correction

This article provides information only. It does not give medical advice and does not replace your own doctor.

NecessaryAlways on

Remembers your cookie choice. It is stored in your browser and is not shared.

Shows us which pages are read, from roughly which country and city, on what device, and how people found the site. Run by Google LLC. Cookies: _ga and _ga_*, kept for up to 2 years. Google keeps the data for 2 months.

Privacy