
Leg cramps usually happen at night or when you are resting. The muscle contractions can last for a few seconds or up to 10 minutes.2 You won't know how long they'll last.2
We don't know very much about what causes leg cramps or why certain people get them. Most people who have these pains in their legs are not sick. But the following things can make you more likely to get painful cramps:1 2
- Being pregnant
- Being middle-aged or older
- Exercising
- Not having certain salts in your body
- Having dialysis (this is when a machine is used to clean your blood because your kidneys aren't working properly)
- Having an imbalance of minerals in your body (this is called an electrolyte imbalance)
- Having problems with your blood circulation or having varicose veins in your legs (varicose veins happen when valves in veins don't work properly, so blood pools in the veins)
- Having damaged nerves or a disease that affects your nerves
- Having a disease that affects your muscles.
- Diuretics
- Nifedipine
- Beta-agonists
- Steroids
- Morphine
- Cimetidine
- Penicillamine
- Statins
- Lithium.
A blood clot in your leg also can cause leg pain. This is known as deep vein thrombosis (DVT) and it is more serious than a leg cramp. You will need medication to treat the clot and keep it from causing serious problems. If you get swelling as well as pain in your calf or thigh, you might need an ultrasound scan to see if there's a blood clot in your leg. To learn more, see our articles on Deep vein thrombosis.
- Young G. Leg cramps. October 2006. Clinical Evidence. (Based on January 2006 search.) Available at http://clinicalevidence.bmj.com/ceweb/conditions/msd/1113/1113.jsp (accessed 23 July 2008). 16973003
- Mandal AK, Abernathy T, Melluri SN, et al. Is quinine effective and safe in leg cramps? Journal of Clinical Pharmacology. 1995; 35: 588-593. 7665718
- Butler JV, Mulkerrin EC, O'Keefe ST. Nocturnal leg cramps in older people. Postgraduate Medical Journal. 2002; 78: 596-598. 12415081
![]() |
This information is for educational use only, and is not a substitute for prompt professional medical advice. Readers should always consult a physician or other professional for advice and treatment. ©BMJ Publishing Group Limited 2008. All rights reserved. |











