How to stop muscle spasms
Reviewed by Yael Cooperman, MD, Ro,
Written by Gina Allegretti, MD
Reviewed by Yael Cooperman, MD, Ro,
Written by Gina Allegretti, MD
last updated: Feb 15, 2022
4 min read
Here's what we'll cover
Here's what we'll cover
There is no pain quite like a charley horse. These painful muscle cramps can wake you up and literally take your breath away, leaving you writhing and wishing for the discomfort to let up. So how do you stop them in the heat of the moment? And what can you do to prevent them from coming back?
Ro
Improve and support your health from the comfort of home
What are muscle spasms?
Muscle spasms and cramps start the same way: one of your muscles contracts on its own. A spasm is a short twitch that lasts for just a few seconds. If the spasm continues and becomes painful, it’s called a cramp. These painful contractions may occur in any part of the body.
What causes muscle spasms?
Sometimes, muscle spasms and cramps happen for no apparent rhyme or reason. These are called idiopathic cramps. Other common causes of muscle spasms include (Bordoni, 2021; Allen, 2012):
Dehydration: When you don’t get enough water or minerals (electrolytes)––like potassium, magnesium, and glucose (sugar)––you’re more likely to experience muscle spasms.
Exercise: When you’re exercising, you sweat and lose electrolytes through your skin. Your muscles also get fatigued when you overuse them. Exercising too much, working out without stretching, or not stopping to drink fluids while you exercise puts you at higher risk for cramping.
Stress: Sometimes, stress can trigger spasms or cramps in muscles.
Pregnancy: People who are pregnant often get spasms and cramps in their legs or back.
Medication: Prescription drugs may cause muscle cramps including hormone pills (like birth control pills), medicines for anxiety and depression (like Zoloft or Wellbutrin), blood pressure medication, and drugs used to treat high cholesterol.
Heart disease: Conditions like clogged arteries (atherosclerosis) may cause leg cramps.
Other health conditions that can trigger muscle cramps include diabetes, fibromyalgia, conditions that affect the brain and spinal cord (nervous system), liver disease, and kidney disease.
Treatment for muscle spasms
When you’re in the throes of a serious muscle cramp, deep breaths and a little bit of time typically help until the muscles relax. While you wait for the cramp to pass, there are things you can try to speed up the process.
Stretching: Gently stretch the tight muscle, then let it relax. If you have a charley horse, flex your toes up to stretch the calf muscle. Then let your foot slowly relax back down to the floor. If it’s uncomfortable to do on your own, you can have someone else flex your foot for you (Allen, 2012).
Massage: If you have a sudden cramp in your calf, you may be able to relieve it by gently rubbing or massaging the area. Chronic spasms and cramps may get more relief from deep tissue massage. Deep tissue massage involves applying firm pressure to the painful muscle using deep strokes. This decreases the tension in the affected muscle. A few small studies suggest that deep tissue massage may help manage chronic (and painful) back spasms (Majchrzycki, 2014; Romanowski, 2017).
Changing position: Standing up with your feet firmly on the floor might relieve a sudden calf muscle spasm.
Movement: A thigh or calf muscle cramp may feel better after shaking or jiggling your leg. Light exercise like walking around a room, spending a few minutes on a treadmill, or a minute or two on a stationary bike might also relieve the pain (Allen, 2012).
Heat and cold: Some people find that taking a warm bath or applying a heating pad relieves muscle cramps in the legs, back, neck, and shoulders. Others prefer cold temperatures and utilize ice packs or ice massage.
Hydrate: Sometimes you get cramps when you exercise and don’t drink enough fluids. You’ll need to rehydrate to replace the fluids and electrolytes your body used up while exercising. Some studies show that keeping well-hydrated while being physically active can help prevent similar cramps in the future (Lau, 2021).
Medication for muscle spasms
Sometimes that painful spasm or cramp persists even after you’ve stretched, massaged, and rehydrated. If no at-home remedies work, there are a few things you can try (and some things you probably shouldn’t try) to prevent future spasms or treat existing ones:
Vitamins: Some studies suggest that B complex vitamins (like vitamin B6) help treat muscle cramps and may even help prevent future ones (Katzberg, 2010).
Anti-inflammatory drugs: While some people take anti-inflammatory drugs (NSAIDs) like ibuprofen to treat muscle spasms and cramps, studies found that they aren’t very helpful in getting rid of muscle spasms (Steen, 2001; Dudley, 1997).
Muscle relaxants: Some muscle relaxants may relieve the pain of spasms and cramps. Some of the most commonly used include carisoprodol, metaxalone, and cyclobenzaprine (Toth, 2004). These are prescription medications, so if you regularly experience muscle spasms, it may be worthwhile to discuss the issue with a healthcare provider and decide if they may help you. Some studies suggest combining a muscle relaxant and anti-inflammatory medication may be more effective (Pinzon, 2020). Keep in mind that these medications can cause significant side effects so they’re generally intended for short-term use (van Tulder, 2003).
Other medications: Drugs called calcium channel blockers (diltiazem and verapamil) are sometimes used to treat a painful charley horse. Nerve pain medications (like gabapentin) may be effective for some people (Katzberg, 2010; Voon, 2001; Guay, 2008). Some may recommend medications to prevent frequent, painful spasms. For many years, providers used a drug called quinine for muscle spasms, but since it causes severe side effects it’s not recommended anymore. Other healthcare providers may suggest physical therapy or Botox to treat muscle spasms (Rush, 2015; Ward, 2002).
How can you prevent muscle spasms?
How you prevent uncomfortable cramps depends on the cause. If you frequently cramp up during physical activity, try adding in a warm-up or stretching routine beforehand. Drink plenty of fluids before and during exercise, especially in hot environments where you might sweat more than usual (Bordoni, 2021).
Stretching your calves and hamstrings once a day may help prevent charley horses. Physical activity and routine exercise may also stave off frequent cramps (Hallegraeff, 2012).
When should I see a doctor?
Muscle cramps are common but unpleasant. You may be able to relieve the pain of a sudden cramp with at-home methods like stretching or massaging the area. If you have frequent cramps or your cramps don’t improve with standard at-home remedies, it’s a good idea to consult a healthcare professional.
DISCLAIMER
If you have any medical questions or concerns, please talk to your healthcare provider. The articles on Health Guide are underpinned by peer-reviewed research and information drawn from medical societies and governmental agencies. However, they are not a substitute for professional medical advice, diagnosis, or treatment.
Allen, R. E. & Kirby, K. A. (2012). Nocturnal leg cramps. American Family Physician , 86 (4), 350–355. Retrieved from https://www.aafp.org/afp/2012/0815/p350.html
Bordoni, B., Sugumar, K., & Varacallo, M. (2021). Muscle Cramps. StatPearls Publishing . Retrieved from https://www.ncbi.nlm.nih.gov/books/NBK499895/
Davison, S. (1984). Standing: a good remedy. JAMA Journal of the American Medical Association , 252 (24), 3367. Retrieved from https://jamanetwork.com/journals/jama/article-abstract/395854
Dudley, G. A., Czerkawski, J., Meinrod, A., Gillis, G., Baldwin, A., & Scarpone, M. (1997). Efficacy of naproxen sodium for exercise-induced dysfunction muscle injury and soreness. Clinical Journal of Sport Medicine , 7 (1), 3–10. doi:10.1097/00042752-199701000-00002. Retrieved from https://pubmed.ncbi.nlm.nih.gov/9117523/
Gash, M. C., Kandle, P. F., Murray, I., & Varacallo, M. (2021). Physiology, Muscle Contraction. StatPearls Publishing . Retrieved from https://www.ncbi.nlm.nih.gov/books/NBK537140/
Giuriato, G., Pedrinolla, A., Schena, F., & Venturelli, M. (2018). Muscle cramps: A comparison of the two-leading hypothesis. Journal of Electromyography and Kinesiology, 41, 89–95 . doi:10.1016/j.jelekin.2018.05.006. Retrieved from https://pubmed.ncbi.nlm.nih.gov/29857264/
Guay, D. R. (2008). Are there alternatives to the use of quinine to treat nocturnal leg cramps? The Consultant Pharmacist , 23 (2), 141–156. doi:10.4140/tcp.n.2008.141. Retrieved from https://pubmed.ncbi.nlm.nih.gov/18454580/
Hallegraeff, J. M., van der Schans, C. P., de Ruiter, R., & de Greef, M. H. (2012). Stretching before sleep reduces the frequency and severity of nocturnal leg cramps in older adults: a randomised trial. Journal of Physiotherapy , 58 (1), 17–22. doi:10.1016/S1836-9553(12)70068-1. Retrieved from https://pubmed.ncbi.nlm.nih.gov/22341378/
Katzberg, H. D., Khan, A. H., & So, Y. T. (2010). Assessment: symptomatic treatment for muscle cramps (an evidence-based review): report of the therapeutics and technology assessment subcommittee of the American academy of neurology. Neurology , 74 (8), 691–696. doi:10.1212/WNL.0b013e3181d0ccca. Retrieved from https://pubmed.ncbi.nlm.nih.gov/20177124/
Majchrzycki, M., Kocur, P., & Kotwicki, T. (2014). Deep tissue massage and nonsteroidal anti-inflammatory drugs for low back pain: a prospective randomized trial. The Scientific World Journal . doi:10.1155/2014/287597. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3953439/
Monderer, R. S., Wu, W. P., & Thorpy, M. J. (2010). Nocturnal leg cramps. Current Neurology and Neuroscience Reports , 10 (1), 53–59. doi:10.1007/s11910-009-0079-5. Retrieved from https://pubmed.ncbi.nlm.nih.gov/20425227/
Padda, I. S. & Tadi, P. (2021). Botulinum Toxin. [Updated Nov 25, 2021]. In: StatPearls [Internet]. Retrieved from https://www.ncbi.nlm.nih.gov/books/NBK557387/
Patel, H. D., Uppin, R. B., Naidu, A. R., Rao, Y. R., Khandarkar, S., & Garg, A. (2019). Efficacy and Safety of Combination of NSAIDs and Muscle Relaxants in the Management of Acute Low Back Pain. Pain and Therapy , 8 (1), 121–132. doi:10.1007/s40122-019-0112-6. Retrieved from https://pubmed.ncbi.nlm.nih.gov/30652262/
Pinzon, R. T., Wijaya, V. O., Paramitha, D., & Bagaskara, R. R. (2020). Effects of Eperisone Hydrochloride and Non-Steroid Anti-Inflammatory Drugs (NSAIDs) for Acute Non-Specific Back Pain with Muscle Spasm: A Prospective, Open-Label Study. Drug, Healthcare and Patient Safety, 12, 221–228. doi:10.2147/DHPS.S278467. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7678690/
Restivo, D. A., Casabona, A., Frittitta, L., Belfiore, A., Le Moli, R., Gullo, D., et al. (2018). Efficacy of Botulinum Toxin A for Treating Cramps in Diabetic Neuropathy. Annals of Neurology , 84 (5), 674–682. doi:10.1002/ana.25340. Retrieved from https://pubmed.ncbi.nlm.nih.gov/30225985/
Romanowski, M. W., Špiritović, M., Rutkowski, R., Dudek, A., Samborski, W., & Straburzyńska-Lupa, A. (2017). Comparison of Deep Tissue Massage and Therapeutic Massage for Lower Back Pain, Disease Activity, and Functional Capacity of Ankylosing Spondylitis Patients: A Randomized Clinical Pilot Study. Evidence-based Complementary and Alternative Medicine . doi:10.1155/2017/9894128. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5563410/
Rush, R., & Kumbhare, D. (2015). Spasticity. CMAJ: Canadian Medical Association Journal , 187 (6), 436. doi:10.1503/cmaj.140405. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4387037/
Steen, K. H., Wegner, H., & Meller, S. T. (2001). Analgesic profile of peroral and topical ketoprofen upon low pH-induced muscle pain. Pain, 93 (1), 23–33. doi:10.1016/S0304-3959(01)00289-5. Retrieved from https://pubmed.ncbi.nlm.nih.gov/11406335/
Toth, P. P. & Urtis, J. (2004). Commonly used muscle relaxant therapies for acute low back pain: a review of carisoprodol, cyclobenzaprine hydrochloride, and metaxalone. Clinical Therapeutics , 26 (9), 1355–1367. doi:10.1016/j.clinthera.2004.09.008. Retrieved from https://pubmed.ncbi.nlm.nih.gov/15530999/
U.S. Food and Drug Administration (FDA). (2010). New risk management plan and Patient Medication guide FOR QUALAQUIN . Retrieved from https://www.fda.gov/drugs/postmarket-drug-safety-information-patients-and-providers/fda-drug-safety-communication-new-risk-management-plan-and-patient-medication-guide-qualaquin
van Tulder, M. W., Touray, T., Furlan, A. D., Solway, S., Bouter, L. M., & Cochrane Back Review Group. (2003). Muscle relaxants for nonspecific low back pain: a systematic review within the framework of the cochrane collaboration. Spine , 28 (17), 1978–1992. doi:10.1097/01.BRS.0000090503.38830.AD. Retrieved from https://pubmed.ncbi.nlm.nih.gov/12973146/
Voon, W. C. & Sheu, S. H. (2001). Diltiazem for nocturnal leg cramps. Age and Ageing , 30 (1), 91–92. doi:10.1093/ageing/30.1.91. Retrieved from https://pubmed.ncbi.nlm.nih.gov/11322688/
Ward, A. B. (2002). A summary of spasticity management––a treatment algorithm. European Journal of Neurology , 9 (1), 48–61. doi:10.1046/j.1468-1331.2002.0090s1048.x. Retrieved from https://pubmed.ncbi.nlm.nih.gov/11918650/
Witenko, C., Moorman-Li, R., Motycka, C., Duane, K., Hincapie-Castillo, J., Leonard, P., et al. (2014). Considerations for the appropriate use of skeletal muscle relaxants for the management of acute low back pain. Pharmacy & Therapeutics , 39 (6), 427–435. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4103716/