Muscle cramps
Definition
Muscle cramps are when a muscle gets tight (contracts) without you trying to tighten it, and it does not relax. Cramps may involve all or part of one or more muscles.
The most commonly involved muscle groups are:
- Back of the lower leg (calf)
- Back of the thigh (hamstrings)
- Front of the thigh (quadriceps)
Cramps in the feet, hands, arms, abdomen, and along the rib cage are also common locations.
Muscle cramps are common and may be stopped by stretching the muscle. The cramping muscle may feel hard or bulging.
Alternative Names
Cramps - muscle
Considerations
Muscle cramps are different than muscle twitches, which are covered in a separate article.
Causes
Muscle cramps are common and often occur when a muscle is overused or injured. Working out when you have not had enough fluids (dehydration) or when you have low levels of minerals such as sodium, potassium, or calcium can also make you more likely to have a muscle spasm.
Muscle cramps can occur while you play tennis or golf, bowl, swim, or do any other exercise.
They can also be triggered by:
Home Care
If you have a muscle cramp, stop your activity and try stretching and massaging the muscle.
Heat will relax the muscle when the spasm begins, but ice may be helpful when the pain has improved.
If the muscle is still sore, nonsteroidal anti-inflammatory medicines can help with pain. If the muscle cramps are severe, your health care provider can prescribe other medicines.
The most common cause of muscle cramps during sports activity is not getting enough fluids. Often, drinking water will ease the cramping. However, water alone does not always help. Salt tablets or sports drinks, which also replenish lost minerals, can be helpful.
Other tips for relieving muscle cramps:
- Change your workouts so that you are exercising within your ability.
- Drink plenty of fluids while exercising and increase your potassium intake (orange juice and bananas are great sources of potassium).
- Stretch to improve flexibility.
When to Contact a Medical Professional
Contact your provider if your muscle cramps:
- Are severe
- Do not go away with simple stretching
- Keep coming back
- Last a long time
What to Expect at Your Office Visit
Your provider will examine you and ask questions about your symptoms and medical history, such as:
- When did the spasms first begin?
- How long do they last?
- How often do you experience muscle spasms?
- What muscles are affected?
- Is the cramp always in the same location?
- Are you pregnant?
- Have you been vomiting, had diarrhea, excessive sweating, excessive urine volume, or any other possible cause of dehydration?
- What medicines do you take?
- Have you been exercising heavily?
- Have you been drinking alcohol heavily?
Blood tests may be done to check for the following:
- Calcium, potassium, or magnesium metabolism
- Kidney function
- Thyroid function
Pain medicines may be prescribed.
References
Gómez JE, Chorley JN, Martinie R. Environmental illness. In: Miller MD, Thompson SR. eds. DeLee, Drez, & Miller's Orthopaedic Sports Medicine. 5th ed. Philadelphia, PA: Elsevier; 2020:chap 21.
Wang LH, Lopate G. Muscle pain and cramps. In: Jankovic J, Mazziotta JC, Pomeroy SL, Newman NJ, eds. Bradley and Daroff's Neurology in Clinical Practice. 8th ed. Philadelphia, PA: Elsevier; 2022:chap 29.
Review Date:
7/23/2024
Reviewed By:
Linda J. Vorvick, MD, Clinical Professor, Department of Family Medicine, UW Medicine, School of Medicine, University of Washington, Seattle, WA. Also reviewed by David C. Dugdale, MD, Medical Director, Brenda Conaway, Editorial Director, and the A.D.A.M. Editorial team.
The information provided herein should not be used during any medical emergency or for the diagnosis or treatment of any medical condition. A licensed medical professional should be consulted for diagnosis and treatment of any and all medical conditions. Links to other sites are provided for information only -- they do not constitute endorsements of those other sites. No warranty of any kind, either expressed or implied, is made as to the accuracy, reliability, timeliness, or correctness of any translations made by a third-party service of the information provided herein into any other language.
© 1997-
A.D.A.M., a business unit of Ebix, Inc. Any duplication or distribution of the information contained herein is strictly prohibited.
All content on this site including text, images, graphics, audio, video, data, metadata, and compilations is protected by copyright and other intellectual property laws. You may view the content for personal, noncommercial use. Any other use requires prior written consent from Ebix. You may not copy, reproduce, distribute, transmit, display, publish, reverse-engineer, adapt, modify, store beyond ordinary browser caching, index, mine, scrape, or create derivative works from this content. You may not use automated tools to access or extract content, including to create embeddings, vectors, datasets, or indexes for retrieval systems. Use of any content for training, fine-tuning, calibrating, testing, evaluating, or improving AI systems of any kind is prohibited without express written consent. This includes large language models, machine learning models, neural networks, generative systems, retrieval-augmented systems, and any software that ingests content to produce outputs. Any unauthorized use of the content including AI-related use is a violation of our rights and may result in legal action, damages, and statutory penalties to the fullest extent permitted by law. Ebix reserves the right to enforce its rights through legal, technological, and contractual measures.
© 1997-

All rights reserved.
A.D.A.M. content is best viewed in IE9 or above, Firefox and Google Chrome browser.