Skip to main content

Nerves and circulationGuide

Foot cramps

Foot cramps are sudden, painful tightenings of a muscle in the foot, and they usually ease within minutes on their own. Often no cause is found. Gently stretching or massaging the muscle helps when one strikes, but ways to stop them coming back are limited. Some signs need prompt medical help.

Reviewed by Andrew Schox, BSc(Hons) PGradDipPod MPodLast reviewed 27 October 2026 6 min read

Jump to a section
  1. 1. What are foot cramps, and how common are they?
  2. 2. What can cause foot cramps?
  3. 3. How is the cause found?
  4. 4. What helps first?
  5. 5. What helps if that isn't enough?
  6. 6. Will foot cramps go away, and can I stop them coming back?
  7. 7. What can make it serious?

At a glance

  • It's a sudden, painful tightening of a muscle in the foot or leg, usually easing within seconds to minutes.
  • Often there's no clear cause, though exercise, pregnancy, some medicines and some health conditions are linked.
  • Gentle stretching or massage is the first step when a cramp strikes.
  • Stopping cramps coming back is difficult: stretching may ease them a little, and magnesium is unlikely to help older adults.
  • Some signs can point to something more serious, such as a hot, swollen calf or cramps that last longer than 10 minutes.

What are foot cramps, and how common are they?

A foot cramp is a sudden, painful tightening of a muscle that you can't control, sometimes with a hard knot you can feel. The medical name is muscle cramp. Each one usually stops by itself after anywhere from a few seconds to a few minutes. Most cramps happen at rest, mainly at night.

Cramps are common and usually harmless, though they can be very painful and disturb your sleep. The calf is the most common spot, but the foot and thigh can be affected too. They're more frequent in older people, pregnant women and people exercising hard.

What can cause foot cramps?

Often no clear cause is found. Possible contributors include a tired muscle from exercise or overuse, ageing, dehydration and the later stages of pregnancy. Some medicines are linked with cramps, including water tablets (diuretics), cholesterol medicines (statins) and some inhalers. So are liver failure, kidney failure needing dialysis and vascular disease (problems with the blood vessels). These are links, not proof that one of them is behind your cramps.

A typical cramp is intense pain in the calf or foot that lasts up to about ten minutes and eases without you doing anything. Pain in the calf or foot at rest can also come from poor circulation. Questions and an examination are usually enough to tell cramps from restless legs, leg pain with walking from poor circulation (claudication), muscle inflammation and nerve problems.

Don't stop a prescribed medicine because you suspect it's causing cramps.

How is the cause found?

A podiatrist or GP will mostly work it out from your story and an examination. They'll ask where and when the cramps happen, whether they come with activity, whether they're mostly in the day or at night, and about your past health and medicines. They may also ask about weakness, numbness or swelling. They'll then examine your legs and feet, including your circulation and nerves.

Blood and urine tests are only needed if an underlying cause is suspected, and usually aren't needed to confirm night-time leg cramps. It helps to bring a list of your medicines (including inhalers and water tablets) and a note of when, where and how long your cramps last. Tell them if you have liver, kidney or circulation problems, are pregnant, or have recently started a new medicine.

What helps first?

When a cramp strikes, gently stretch or massage the muscle. It will usually pass on its own. Non-drug measures are recommended before medicines, though it isn't clear yet how well they work.

What helps if that isn't enough?

Medicines have little to offer. Magnesium doesn't appear to help night-time leg cramps in the general population, though it may help a little in pregnancy.

Quinine is no longer recommended for leg cramps. It shouldn't be used routinely, because it can affect heart rhythm and interact with other medicines. If a doctor considers it, it's only when cramps regularly disrupt sleep, and after checking for reversible causes such as an underactive thyroid, an imbalance of body salts or a medicine that triggers cramps.

Quinine carries risks, and someone else's quinine or leftover supplies should not be used.

Will foot cramps go away, and can I stop them coming back?

Cramps generally settle by themselves, though they last for varying lengths of time. In adults aged 60 and older, only a minority get cramps more than once a week, but many say cramps disturb their sleep.

Preventing them is harder. In people aged 55 and older, six weeks of daily calf and hamstring stretches may lessen how intense night-time cramps are, though the gain is uncertain, and it is not clear whether the stretches cut down how often the cramps occur. Calf stretching on its own may make little difference to how often they happen in people aged 60 and older. Magnesium is unlikely to help prevent cramps in older adults. If your cramps come with exercise, avoid drinking far more than you need, or overusing electrolyte products, to try to prevent them.

It can help to note how often cramps happen, so you can tell whether they're becoming more frequent or lasting longer.

What can make it serious?

Most cramps are harmless, and a podiatrist or GP can help work out what's behind them.

Cramps that are frequent, particularly painful, disturb your sleep, or come with numbness or swelling in your legs are the kinds of signs a GP may examine your legs and feet to look into.

See your GP soon if you have regular or severe cramping that lasts longer than a few minutes, as it can sometimes point to an underlying problem such as narrowed arteries. In athletes, muscle soreness or cramps and/or dark urine after a heavy endurance event are reasons to screen for exertional rhabdomyolysis.

  • Your calf is hot, swollen and painful, or your leg is red or swollen, especially on one side or after long sitting such as on a flight.
  • You have sudden severe pain or numbness in one leg or foot.
  • Cramps last longer than 10 minutes and don't ease even with exercise, or began after contact with something possibly toxic or infectious.

Chest pain, trouble breathing, or signs of a stroke or heart attack can be signs of a serious problem; a leg or foot that suddenly turns cold and pale or blue, with pain or numbness, or that you can't move, can also be a serious sign; and an infection or wound with confusion or slurred speech can be a sign of sepsis.

Losing control of your bladder or bowel, numbness around your bottom or groin, or trouble walking can be signs of cauda equina syndrome, a serious problem affecting the nerves at the base of the spine.

Common questions

Why do I get foot cramps at night?

Most cramps happen at rest, mainly at night, and often no clear reason is found. Possible contributors include a tired muscle from exercise or overuse, ageing, some medicines and the later stages of pregnancy. If night cramps are frequent or keep waking you, keeping a note of how often they happen and how long they last can show whether they are becoming more frequent or lasting longer.

Can dehydration or low magnesium cause foot cramps?

Dehydration and an imbalance of body salts are listed as possible contributors, but the exact cause of cramps isn't known, so they aren't a certain explanation. If you're concerned your body salts are off, a GP can arrange simple blood tests and look at your medicines at the same time.

Are foot cramps common in pregnancy?

Cramps are more frequent in pregnant women, and leg cramps usually appear in the later stages of pregnancy. They're usually harmless. Check with your GP before taking any supplement or medicine for them, and raise it if the cramps are very painful, frequent or come with swelling in a leg.

Are foot cramps a sign of a blood clot or poor circulation?

Usually not: most cramps are harmless and settle by themselves. Occasionally cramps can be linked with circulation problems or a clot.

Further reading

Want to know more? Foot cramps on Clindice

Reviewed by Andrew Schox, BSc(Hons) PGradDipPod MPod

Podiatrist

Reviewed 27 October 2026. Next review by 27 October 2027.

How we write and review Learn

Was this page helpful?

Sources

(18)
  1. 1.Prevalence of cramps in patients over the age of 60 in primary care : a cross sectional studyMaisonneuve H, Chambe J, Delacour C et al. · BMC Family Practice · 2016
  2. 2.Leg crampsnidirect · 2017
  3. 3.Leg crampHealth New Zealand | Te Whatu Ora
  4. 4.Magnesium for skeletal muscle crampsGarrison SR, Korownyk CS, Kolber MR et al. · The Cochrane Database of Systematic Reviews · 2020
  5. 5.Leg crampsNHS
  6. 6.Criteria in diagnosing nocturnal leg cramps: a systematic reviewHallegraeff J, de Greef M, Krijnen W et al. · BMC Family Practice · 2017
  7. 7.Nocturnal leg crampsAllen RE, Kirby KA · American Family Physician · 2012
  8. 8.Primary care approach to calf crampsLam CSE, Zhang M, Lim I · Singapore Medical Journal · 2022
  9. 9.Muscle twitches and cramps | Right DecisionsNHS
  10. 10.Calf pain - causes, treatment and preventionHealthdirect Australia · 2026
  11. 11.Quinine for muscle crampsEl-Tawil S, Al Musa T, Valli H et al. · The Cochrane Database of Systematic Reviews · 2015
  12. 12.Effect of magnesium therapy on nocturnal leg cramps: a systematic review of randomized controlled trials with meta-analysis using simulationsSebo P, Cerutti B, Haller DM · Family Practice · 2014
  13. 13.Nocturnal leg crampsNHS
  14. 14.Muscle crampQueensland Government
  15. 15.Non-drug therapies for the secondary prevention of lower limb muscle crampsHawke F, Sadler SG, Katzberg HD et al. · The Cochrane Database of Systematic Reviews · 2021
  16. 16.An Evidence-Based Review of the Pathophysiology, Treatment, and Prevention of Exercise-Associated Muscle CrampsMiller KC, McDermott BP, Yeargin SW et al. · Journal of Athletic Training · 2022
  17. 17.Exertional Rhabdomyolysis in Athletes: Systematic Review and Current PerspectivesBäcker HC, Richards JT, Kienzle A et al. · Clinical Journal of Sport Medicine · 2023
  18. 18.Red flags | Right DecisionsNHS

This is general information, not advice about your own situation. To discuss your issues, book with one of our podiatrists. In an emergency, call 000.

Searching…