First Time User? Enroll now.
COVID-19: Vaccine information, visitor restrictions, and additional resources | Medicaid: The program is changing and you must take steps to keep your UNC Health providers
Home > Health Library > Muscle Cramps
A muscle cramp is a strong, painful contraction or tightening of a muscle that comes on suddenly and lasts from a few seconds to several minutes. It often occurs in the legs. A muscle cramp is also called a charley horse.
Nighttime leg cramps are usually sudden spasms, or tightening, of muscles in the calf. The muscle cramps can sometimes happen in the thigh or the foot. They often occur just as you are falling asleep or waking up.
The cause of muscle cramps isn't always known. Muscle cramps may be brought on by many conditions or activities, such as:
If cramps keep coming back, bother you a lot, or interfere with your sleep, your doctor may prescribe medicine that relaxes your muscles.
Talk with your doctor if you have muscle cramps that keep coming back or are severe. These may be symptoms of another problem, such as restless legs syndrome.
You may need to try several different ways to stop a muscle cramp before you find what works best for you. Here are some things you can try:
Here are some things you can try for a leg cramp:
If you think a medicine is causing muscle cramps:
These tips may help prevent muscle cramps:
If you are taking medicines that are known to cause leg cramps, your doctor may prescribe different medicines.
Current as of:
November 16, 2020
Author: Healthwise StaffMedical Review: Anne C. Poinier MD - Internal MedicineKathleen Romito MD - Family MedicineMartin J. Gabica MD - Family MedicineKarin M. Lindholm DO - Neurology
Current as of: November 16, 2020
Author: Healthwise Staff
Medical Review:Anne C. Poinier MD - Internal Medicine & Kathleen Romito MD - Family Medicine & Martin J. Gabica MD - Family Medicine & Karin M. Lindholm DO - Neurology
To learn more about Healthwise, visit Healthwise.org.
© 1995-2021 Healthwise, Incorporated. Healthwise, Healthwise for every health decision, and the Healthwise logo are trademarks of Healthwise, Incorporated.