Often there's no clear reason for leg cramp, but possible causes include:
- a tired muscle from exercise or overuse
- not drinking enough fluids (dehydration)
- some medications, such as diuretics
- pregnancy
- alcohol
- an imbalance of body salts (electrolytes) such as sodium, calcium and potassium.