Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Book

Muscle Cramps

In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2025 Jan.
.
Affiliations
Book

Muscle Cramps

Bruno Bordoni et al.

Excerpt

Muscle cramps, presenting as involuntary and localized contraction of a muscle or entire muscle group, are quite painful and can be debilitating. Although they are often idiopathic, certain factors such as dehydration, electrolyte imbalances, some medications, and overexertion can predispose patients to developing this painful condition. Cramps typically last from seconds to a few minutes, and the affected muscle may be visibly distorted, twitching, and feel hard to the touch or like a knot. Muscle cramps are primarily caused by dysregulated signals from the nervous system, causing an involuntary and sustained muscle contraction, rather than a muscular origin. Risk factors for developing lower extremity cramps are repetitive lower extremity stress, medications, peripheral vascular disease, fluid depletion, sleep disorders, pregnancy, metabolic disorders, radiculopathy, and some neurologic disorders.

Although most muscle cramps are benign and idiopathic, clinicians must obtain a detailed history and perform a thorough physical examination to rule out any alternative causes of the patient's symptoms. Laboratory tests, imaging, polysomnography, and nerve conduction studies are typically unnecessary unless findings on the history or physical examination suggest an underlying diagnosis.

Muscle cramps may cause disrupted sleep and overall poor quality of life. Acute treatment focuses on forceful stretching of the affected muscle, whereas daily stretching serves as the cornerstone of preventive management. Additionally, patients should stay well hydrated, limit alcohol and caffeine, and avoid exercise in extreme heat or on hard surfaces such as concrete floors. Patients prone to electrolyte shifts, such as those on dialysis and athletes who experience exercise-associated muscle cramps, should ensure they replenish their electrolytes appropriately. Patients who fail conservative measures can consider pharmacologic interventions such as calcium channel blockers, gabapentin, and baclofen. Although quinine is effective in the treatment of muscle cramps, its use is no longer recommended due to the risk of severe adverse effects. The overall prognosis for muscle cramps is favorable, with most patients finding relief using conservative measures.

PubMed Disclaimer

Conflict of interest statement

Disclosure: Bruno Bordoni declares no relevant financial relationships with ineligible companies.

Disclosure: Jennifer Goldin declares no relevant financial relationships with ineligible companies.

Disclosure: Kavin Sugumar declares no relevant financial relationships with ineligible companies.

References

    1. Noonan B, Bancroft RW, Dines JS, Bedi A. Heat- and cold-induced injuries in athletes: evaluation and management. J Am Acad Orthop Surg. 2012 Dec;20(12):744-54. - PubMed
    1. Dijkstra JN, Boon E, Kruijt N, Brusse E, Ramdas S, Jungbluth H, van Engelen BGM, Walters J, Voermans NC. Muscle cramps and contractures: causes and treatment. Pract Neurol. 2023 Feb;23(1):23-34. - PubMed
    1. Westwood AJ, Spector AR, Auerbach SH. CPAP treats muscle cramps in patients with obstructive sleep apnea. J Clin Sleep Med. 2014 Jun 15;10(6):691-2. - PMC - PubMed
    1. Ali RAA, Jadah RHSH. McArdle Disease: Insights Into a Rare Metabolic Myopathy in a Young Boy With Recurrent Exercise-Induced Muscle Weakness. Cureus. 2025 Feb;17(2):e78490. - PMC - PubMed
    1. Li C, Lin Q, Xu P, Li Y, Pei H, Qiu X, Huang Z, Degami H, Toyoshima T, Shibata M, Liu Y, Lin X, Yang M, Cai C, Wang Y, Lun L, Lin J, Wu Y, Liang H, Katori Y, Zhao D, Mao W. Shaoyao-Gancao decoction for the treatment of muscle cramps in maintenance hemodialysis: A prospective randomized crossover controlled trial. J Ethnopharmacol. 2025 May 12;347:119758. - PubMed

Publication types