In brief
An uncontrollable and painful spasm of a muscle. Any muscle can be affected, but the calf and foot are particularly prone, and a gentle stretch and light massage can ease it.
- The muscles of the calf and foot are particularly prone to cramp.
- Dehydration is one of the causes of muscle cramps.
- Diuretics can upset the body's mineral balance and contribute to cramping.
When to get help
See your doctor if
- Muscle cramps that happen regularly.
- A cramp that lasts longer than a few minutes.
Things that can contribute
- Tight, inflexible muscles
- Overexertion and muscle fatigue
- Dehydration
- Mineral and electrolyte imbalances
- Fluid pills (diuretics)
- Heavy sweating
Questions you could ask your GP
- Should my electrolytes be checked?
- Could one of my medicines be causing cramps?
- Which stretches would help?
Based on Better Health Channel (Victorian Government), Muscle cramp. You can also check your symptoms with the healthdirect Symptom Checker, or speak with a registered nurse on 1800 022 222.
Where it is in the body
Muscles, most often the calf and foot.
An illustration, with approximate positions, placed from this page's own summary, points and sources.
Open it in the Body viewLinked in the sources
The sources behind this page link muscle cramps with these conditions, body states and habits. This is general information, the same for everyone, and not a diagnosis: only a health professional who assesses you can say what is causing yours.
Each link, with the sentence that supports it and its source, is under Connections below.
How it works
Muscles rely on minerals and electrolytes such as calcium, magnesium, potassium and sodium to contract and relax, and an imbalance makes them more prone to cramp. The Better Health Channel also lists tight muscles, poor physical condition, overexertion, muscle fatigue, heavy sweating, dehydration, for example from gastroenteritis, and fluid pills (diuretics), which can upset the body's mineral balance.
Gently stretch the cramping muscle, then lightly massage it until the cramp passes. Regular stretching, warming up and cooling down, drinking plenty of water around exercise and a nutritious diet can help prevent cramps.
Connections
7 connections on the map. Select a topic to read its page.
Muscle cramps is linked with
- Magnesium Supported
Muscles rely on minerals and electrolytes such as magnesium to contract and relax, and an imbalance makes them more prone to cramping.
Source: Better Health Channel (Victorian Government), Muscle cramp
- Potassium Supported
Muscles rely on minerals and electrolytes such as potassium to contract and relax, and an imbalance makes them more prone to cramping.
Source: Better Health Channel (Victorian Government), Muscle cramp
- Calcium Supported
Muscles rely on minerals and electrolytes such as calcium to contract and relax, and an imbalance makes them more prone to cramping.
Source: Better Health Channel (Victorian Government), Muscle cramp
A muscle cramp is an uncontrollable and painful spasm of a muscle, most often in the calf or foot.
Source: Better Health Channel (Victorian Government), Muscle cramp
Muscle cramps can be caused by
Dehydration, for example from a bout of gastroenteritis, is one of the causes of muscle cramps.
Source: Better Health Channel (Victorian Government), Muscle cramp
The most common symptom of peripheral vascular disease is painful cramping in the leg muscles.
- Creatine Emerging
Rare reactions to creatine include some muscle stiffness and cramps, and stomach upset.
Source: NIH Office of Dietary Supplements, Dietary supplements for exercise and athletic performance
Sources
Each connection above names its own source. See every source AskBioMap uses.
Summarised from the Better Health Channel. Sources read on 12 October 2026 and 4 November 2026. General education only, not medical advice. Spotted a mistake? Please tell us through Feedback and requests.