# 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.

Guide in [Nerves and circulation](https://footanklelowerlimb.com.au/learn/topics/nerves-and-circulation), from Foot Ankle Lower Limb: https://footanklelowerlimb.com.au/learn/foot-cramps
Reviewed by Andrew Schox, BSc(Hons) PGradDipPod MPod (Podiatrist) on 27 October 2026.
Next review by 27 October 2027.

- **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 need prompt help,** 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 [1]. The medical name is muscle cramp. It lasts from a few seconds to a few minutes and then eases by itself [1]. Most cramps happen at rest, mainly at night [1].

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

## What can cause foot cramps?

Often no clear cause is found [3]. Possible contributors include a tired muscle from exercise or overuse, ageing, dehydration and the later stages of pregnancy [3][5]. Some medicines are linked with cramps, including water tablets (diuretics), cholesterol medicines (statins) and some inhalers [5][4]. So are liver failure, kidney failure needing dialysis and vascular disease (problems with the blood vessels) [4][6]. 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 [6]. Pain in the calf or foot at rest can also come from poor circulation [6]. 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 [7].

Don't stop a prescribed medicine because you suspect it's causing cramps. Check with your doctor or pharmacist first.

## 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 [8]. They may also ask about weakness, numbness or swelling [2][9]. They'll then examine your legs and feet, including your circulation and nerves [8].

Blood and urine tests are only needed if an underlying cause is suspected, and usually aren't needed to confirm night-time leg cramps [2][7]. 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 [10]. Non-drug measures are recommended before medicines, though it isn't clear yet how well they work [11].

> [!tip] Try this
> When a cramp starts, gently stretch the affected muscle or massage it with your hand, then wait for it to ease.

## 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 [12].

Quinine is no longer recommended for leg cramps [7]. It shouldn't be used routinely, because it can affect heart rhythm and interact with other medicines [13]. 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 [13][11].

Talk to your doctor or pharmacist before taking any medicine or supplement for cramps, and don't use someone else's quinine or leftover supplies.

## 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 [14]. In adults aged 60 and older, only a minority get cramps more than once a week, but many say cramps disturb their sleep [1].

Preventing them is harder. Daily calf and hamstring stretching for six weeks may ease how severe night-time cramps are in people aged 55 and older, but the benefit is uncertain, and it's unclear whether it reduces how often they happen [15]. Calf stretching on its own may make little difference to how often they happen in people aged 60 and older [15]. Magnesium is unlikely to help prevent cramps in older adults [4]. If your cramps come with exercise, avoid drinking far more than you need, or overusing electrolyte products, to try to prevent them [16].

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

## When to see a podiatrist

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

See a podiatrist or your GP if your cramps are frequent, particularly painful, disturb your sleep, or come with numbness or swelling in your legs [5].

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 [14]. See your GP soon too if you have muscle soreness or cramps with dark urine after a heavy endurance event [18].

See your GP or a podiatrist the same day if:

- 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 [10][8];
- you have sudden severe pain or numbness in one leg or foot [8];
- cramps last longer than 10 minutes and don't ease even with exercise, or began after contact with something possibly toxic or infectious [2].

For urgent advice when it isn't an emergency, call healthdirect on 1800 022 222 (24 hours a day), or go to a Medicare Urgent Care Clinic.

Call 000 and ask for an ambulance if you have chest pain, trouble breathing, or signs of a stroke or heart attack [10]; if a leg or foot suddenly turns cold and pale or blue, with pain or numbness, or you can't move it [8]; or if you have an infection or wound with confusion or slurred speech [17].

Go to the nearest emergency department if you lose control of your bladder or bowel, or have numbness around your bottom or groin, or trouble walking [17].

## 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, it's worth raising with your GP or a podiatrist.

### 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. The signs worth acting on, such as a hot, swollen calf or a leg that turns cold and pale, are listed under When to see a podiatrist.

## Further reading

- [Foot cramps on Clindice](https://clindice.com/foot-cramps)
- [Foot pain: MedlinePlus Medical Encyclopedia](https://medlineplus.gov/ency/article/003183.htm), MedlinePlus
- [Leg cramps](https://www.nhs.uk/conditions/leg-cramps/), NHS
- [Muscle cramp](https://www.betterhealth.vic.gov.au/health/conditionsandtreatments/muscle-cramp), Better Health Channel

## Sources

1. Prevalence of cramps in patients over the age of 60 in primary care : a cross sectional study · Maisonneuve H, Chambe J, Delacour C et al. · BMC Family Practice · 2016. https://doi.org/10.1186/s12875-016-0509-9
2. Leg cramps · nidirect · 2017. https://www.nidirect.gov.uk/conditions/leg-cramps
3. Leg cramp · Health New Zealand | Te Whatu Ora. https://www.healthnz.govt.nz/health-topics/conditions-treatments/bones-and-joints/leg-cramp
4. Magnesium for skeletal muscle cramps · Garrison SR, Korownyk CS, Kolber MR et al. · The Cochrane Database of Systematic Reviews · 2020. https://doi.org/10.1002/14651858.cd009402.pub3
5. Leg cramps · NHS. https://www.nhs.uk/conditions/leg-cramps/
6. Criteria in diagnosing nocturnal leg cramps: a systematic review · Hallegraeff J, de Greef M, Krijnen W et al. · BMC Family Practice · 2017. https://doi.org/10.1186/s12875-017-0600-x
7. Nocturnal leg cramps · Allen RE, Kirby KA · American Family Physician · 2012. https://pubmed.ncbi.nlm.nih.gov/22963024/
8. Primary care approach to calf cramps · Lam CSE, Zhang M, Lim I · Singapore Medical Journal · 2022. https://doi.org/10.4103/singaporemedj.smj-2021-343
9. Muscle twitches and cramps | Right Decisions · NHS. https://www.rightdecisions.scot.nhs.uk/refhelp-nhs-ayrshire-and-arran/neurology/muscle-twitches-and-cramps/
10. Calf pain - causes, treatment and prevention · Healthdirect Australia · 2026. https://www.healthdirect.gov.au/calf-pain
11. Quinine for muscle cramps · El-Tawil S, Al Musa T, Valli H et al. · The Cochrane Database of Systematic Reviews · 2015. https://doi.org/10.1002/14651858.cd005044.pub3
12. Effect of magnesium therapy on nocturnal leg cramps: a systematic review of randomized controlled trials with meta-analysis using simulations · Sebo P, Cerutti B, Haller DM · Family Practice · 2014. https://doi.org/10.1093/fampra/cmt065
13. Nocturnal leg cramps · NHS. https://www.kentandmedwayformulary.nhs.uk/therapeutic-sections/musculoskeletal-system/neuromuscular-disorders/nocturnal-leg-cramps/
14. Muscle cramp · Queensland Government. https://www.qld.gov.au/health/condition/bone-joint-and-muscle-health/muscle-and-tendon-problems/muscle-cramp
15. Non-drug therapies for the secondary prevention of lower limb muscle cramps · Hawke F, Sadler SG, Katzberg HD et al. · The Cochrane Database of Systematic Reviews · 2021. https://doi.org/10.1002/14651858.cd008496.pub3
16. An Evidence-Based Review of the Pathophysiology, Treatment, and Prevention of Exercise-Associated Muscle Cramps · Miller KC, McDermott BP, Yeargin SW et al. · Journal of Athletic Training · 2022. https://doi.org/10.4085/1062-6050-0696.20
17. Red flags | Right Decisions · NHS. https://www.rightdecisions.scot.nhs.uk/ggc-msk-foot-and-ankle/initial-assessment/red-flags/
18. Exertional Rhabdomyolysis in Athletes: Systematic Review and Current Perspectives · Bäcker HC, Richards JT, Kienzle A et al. · Clinical Journal of Sport Medicine · 2023. https://doi.org/10.1097/jsm.0000000000001082

---

This page is general information, not a diagnosis or a treatment plan for you. For advice about your own feet or legs, see a podiatrist or your doctor. In an emergency, call 000.
