Log in
Musculoskeletal and connective tissue diseases

Charley horse

A charley horse is a sudden, involuntary, painful contraction (cramp) of a skeletal muscle, most often the gastrocnemius or hamstring, that resolves spontaneously within seconds to minutes. It affects people of all ages but is especially common in older adults, pregnant women, and athletes. The single most testable fact: most cases are idiopathic/benign and occur at night (nocturnal leg cramps), but new-onset or persistent cramps in older adults should prompt screening for electrolyte disturbance, dehydration, peripheral vascular disease, or medication side effect (e.g., statins, diuretics).

ICD-10M62.8 (other specified disorders of muscle)
Typical patientOlder adult or pregnant woman with nocturnal calf cramps
Key findingPalpable, visible, painful muscle knot during cramp
First-line treatmentPassive stretching, massage, hydration; magnesium if pregnant
6 min readFor medical studentsUpdated 2026-10-14

Definition and epidemiology

A charley horse is a lay term for a sudden, involuntary, and often painful muscle cramp or spasm. It is most classically used for calf (gastrocnemius) cramps but can occur in the hamstrings, quadriceps, or feet. It is coded under ICD-10 M62.8 (other specified disorders of muscle), since there is no dedicated code for benign idiopathic cramps.

Muscle cramps are extremely common:

  • Up to 50-60% of adults report nocturnal leg cramps at some point, with increasing prevalence after age 50-60.
  • Common in pregnancy, especially the second and third trimesters.
  • Frequent among athletes and laborers during or after exertion, especially in heat.
  • Occur in patients with chronic conditions such as diabetes, peripheral vascular disease, and chronic kidney/liver disease.

Most episodes are benign, self-limited, and idiopathic ('ordinary' nocturnal leg cramps), but recurrent or severe cramps warrant a search for an underlying cause.

High-yield for exams
  • Charley horse = lay term for an acute, painful, involuntary muscle cramp, classically of the calf.
  • ICD-10 code M62.8 (other specified disorders of muscle) is used since there's no cramp-specific code.
  • Pathophysiology centers on spinal motor neuron hyperexcitability, not primary muscle fiber pathology.
  • Most cases are idiopathic and nocturnal; red flags are weakness, atrophy, or sensory loss between episodes.
  • First-line acute treatment is passive stretching and massage, not medication.
  • Quinine carries an FDA black box warning against use for leg cramps and should not be used for this indication.
  • Common secondary causes: hypokalemia, hypomagnesemia, dehydration, diuretics, statins, pregnancy.
  • Workup (electrolytes, renal/thyroid function, EMG) is reserved for frequent, severe, or atypical cramps.

Etiology and risk factors

The exact mechanism of idiopathic cramps is incompletely understood, but several contributing factors are recognized.

Common/benign causes

  • Prolonged sitting or unusual position
  • Overexertion or unaccustomed exercise
  • Dehydration and heat exposure
  • Pregnancy (hormonal and circulatory changes)
  • Aging (muscle shortening, reduced tendon elasticity)

Secondary/medical causes

  • Electrolyte disturbances: hypokalemia, hypomagnesemia, hypocalcemia
  • Dehydration/volume depletion (diarrhea, diuretics, excessive sweating)
  • Peripheral vascular disease and venous insufficiency
  • Peripheral neuropathy (diabetes, alcohol use disorder)
  • Chronic kidney disease, cirrhosis, hypothyroidism
  • Neurologic disorders: motor neuron disease, radiculopathy

Medications associated with cramps

  • Diuretics (loop and thiazide)
  • Statins
  • Beta-agonists (e.g., for asthma)
  • Long-term proton pump inhibitors (via hypomagnesemia)

Risk factors: older age, pregnancy, strenuous or unaccustomed exercise, dehydration, diabetes, dialysis, and certain drugs listed above.

Pathophysiology

The leading theory is that of altered neuromuscular excitability at the level of the motor neuron rather than the muscle fiber itself. Key proposed mechanisms include:

  • Spinal reflex hyperexcitability: afferent signals from muscle spindles become disinhibited, leading to repetitive firing of alpha motor neurons and sustained involuntary contraction.
  • Shortened muscle position: cramps occur more easily when a muscle is already shortened (e.g., plantarflexed foot during sleep), which reduces the inhibitory input normally provided by Golgi tendon organs.
  • Electrolyte/fluid shifts: dehydration and electrolyte imbalance alter the resting membrane potential of nerve and muscle, lowering the threshold for spontaneous depolarization.
  • Ischemia and fatigue: exercise-associated cramps may relate to local muscle fatigue and metabolite accumulation, increasing motor neuron excitability.

Unlike dystonia or myotonia, a charley horse is a transient, self-terminating hyperactivity of the motor unit, not a primary muscle membrane channelopathy (though channelopathies can present similarly in rare cases).

Clinical features

  • Sudden onset of a tight, hard, visibly or palpably contracted muscle, most often the calf.
  • Sharp, intense pain lasting seconds to a few minutes.
  • Often occurs at night or at rest (nocturnal leg cramps) or during/after exercise (exercise-associated muscle cramps).
  • Resolves spontaneously or with stretching; residual muscle soreness/tenderness may persist for hours.
  • No weakness, numbness, or sensory loss between episodes in idiopathic cramps — presence of these should raise suspicion for a neurologic or vascular cause.
  • Recurrent frequent cramps, cramps with muscle wasting, or cramps with weakness suggest a secondary cause (e.g., motor neuron disease, electrolyte disorder, radiculopathy).

Diagnosis

Diagnosis is primarily clinical, based on history and physical exam. Diagnostic testing is reserved for atypical, frequent, or severe cases.

History

  • Frequency, timing (nocturnal vs exertional), triggers
  • Medication review (diuretics, statins, beta-agonists)
  • Associated symptoms: weakness, numbness, claudication, edema
  • Pregnancy status, alcohol use, renal/hepatic/thyroid disease

Physical examination

  • Palpation of the cramped muscle (firm, tender knot)
  • Peripheral pulses and signs of venous insufficiency
  • Neurologic exam: reflexes, strength, sensation
  • Signs of volume depletion

Laboratory workup (if recurrent/atypical)

  • Serum electrolytes: sodium, potassium, calcium, magnesium
  • Renal function tests, liver function tests
  • Thyroid-stimulating hormone
  • Creatine kinase if structural muscle disease suspected

Additional testing (selected cases)

  • Nerve conduction studies/EMG if neuropathy or motor neuron disease suspected
  • Doppler ultrasound if vascular insufficiency suspected

No imaging or lab test is required for a typical, isolated nocturnal calf cramp in an otherwise healthy person.

Differential diagnosis

ConditionDistinguishing feature
Deep vein thrombosisUnilateral swelling, warmth, pain at rest; not relieved by stretching
Peripheral artery disease (claudication)Pain with exertion, relieved by rest, diminished pulses
Restless legs syndromeUrge to move legs, worse at rest/evening, relieved by movement (not a true cramp)
DystoniaSustained abnormal posturing, not confined to a single brief contraction
Myotonia (e.g., myotonic dystrophy)Delayed muscle relaxation after voluntary contraction, grip myotonia
Tetany (hypocalcemia)Carpopedal spasm, Chvostek/Trousseau sign, perioral numbness
Compartment syndromeSevere pain disproportionate to exam, pain with passive stretch, tense compartment
Radiculopathy/sciaticaRadiating pain with dermatomal distribution, positive straight-leg raise

Management

Management is largely symptomatic and preventive; guideline bodies (e.g., American Academy of Neurology, AAFP) emphasize nonpharmacologic measures first due to limited and mixed evidence for drug therapy, plus safety concerns with quinine.

Acute cramp relief

  • Passive stretching of the affected muscle (e.g., dorsiflexing the foot for calf cramps)
  • Massage of the cramped muscle
  • Walking or gentle movement
  • Local heat or ice, per patient preference

Prevention (nonpharmacologic, first-line)

  • Regular stretching exercises, especially before bed and before exercise
  • Adequate hydration and electrolyte intake, particularly in heat or during exertion
  • Review and adjust causative medications (diuretics, statins) where feasible
  • Correct identified electrolyte deficiencies (potassium, magnesium, calcium)
  • Supportive footwear; avoid prolonged tight bedding that plantarflexes the foot

Pharmacologic options (selected, limited evidence)

  • Magnesium supplementation: commonly used in pregnancy-associated cramps; evidence is mixed but it is widely considered low-risk
  • Quinine sulfate: carries an FDA black box warning against use for nocturnal leg cramps because of the risk of serious, potentially life-threatening hematologic reactions (e.g., thrombocytopenia) and cardiac arrhythmia; it is not approved for this indication and should not be used to treat or prevent leg cramps, including refractory cases
  • Vitamin B complex: some evidence of benefit, generally low risk
  • Calcium channel blockers (e.g., diltiazem) have been studied with modest benefit in some trials
  • Treat underlying secondary cause (correct electrolytes, adjust medications, manage neuropathy/vascular disease)

Guideline consensus across US and European societies, reinforced by regulatory safety warnings, is to avoid quinine entirely for leg cramps and to prioritize stretching, hydration, and addressing reversible causes.

Complications and prognosis

  • Prognosis for idiopathic charley horse/nocturnal leg cramps is excellent; episodes are self-limited and not dangerous.
  • Possible complications: sleep disruption, muscle soreness, rarely muscle strain or tear with forceful cramping.
  • Recurrent cramps can reduce quality of life, particularly in older adults and pregnant women.
  • When cramps are secondary to an underlying disorder (vascular disease, neuropathy, renal failure), prognosis depends on management of that underlying condition.
  • No increased mortality is associated with benign muscle cramps themselves.
Mnemonic

CRAMP = Calcium/electrolyte imbalance, Renal/hepatic disease, Age (elderly), Medications (diuretics, statins), Pregnancy — common contributors to secondary muscle cramps.

Practice questions

1. A 68-year-old woman reports frequent painful cramps in her calves at night for the past 3 months. She takes hydrochlorothiazide for hypertension. Physical exam is normal between episodes, with no weakness or sensory deficits. Serum electrolytes reveal a potassium of 3.0 mEq/L. Which of the following is the most appropriate next step?

Answer: C. Hypokalemia from thiazide diuretic use is a reversible, common secondary cause of muscle cramps. The most appropriate initial step is to correct the electrolyte abnormality and reassess the medication regimen. Quinine should never be used for leg cramps given its FDA black box warning, and invasive neurologic testing is reserved for atypical presentations with weakness or sensory signs.

2. A 29-year-old woman at 32 weeks' gestation complains of recurrent, painful calf cramps, especially at night, for the past 2 weeks. She has no leg swelling, redness, or warmth, and pulses are normal. Which of the following is the most appropriate initial management?

Answer: A. Nocturnal leg cramps are common in pregnancy and are typically benign. In the absence of signs suggesting DVT (unilateral swelling, warmth, erythema), initial management is conservative: stretching, hydration, and magnesium supplementation, which has some evidence of benefit in pregnancy-associated cramps and a favorable safety profile. Quinine is contraindicated for this indication regardless of severity.

3. A 55-year-old man with type 2 diabetes mellitus presents with frequent leg cramps along with progressive numbness and tingling in both feet over the past year. Monofilament testing reveals reduced sensation in a stocking distribution. Which of the following best explains his muscle cramps?

Answer: B. Diabetic peripheral neuropathy is a recognized secondary cause of muscle cramps, related to altered peripheral nerve and motor neuron excitability. The accompanying sensory loss in a stocking distribution supports neuropathy rather than an idiopathic or vascular/compartment process, which would present differently.

Frequently asked questions

What causes a charley horse?

A charley horse is caused by a sudden, involuntary spasm of a skeletal muscle, most often the calf. It is thought to result from spinal motor neuron hyperexcitability rather than a problem in the muscle fiber itself. Common triggers include dehydration, prolonged sitting or an awkward sleeping position, overexertion, pregnancy, and electrolyte disturbances. Certain medications, such as diuretics and statins, and conditions like diabetes or kidney disease can also contribute.

What are the first symptoms of a charley horse?

The first symptom is usually sudden, sharp pain in the muscle, most commonly the calf, accompanied by a visible or palpable hard knot of contracted muscle. It often occurs at night or during/after exercise. There is no preceding warning; the cramp appears abruptly and typically lasts seconds to a few minutes before resolving, sometimes leaving mild soreness afterward.

How is a charley horse diagnosed?

Diagnosis is clinical, based on a description of sudden, painful muscle tightening and a normal physical exam between episodes. No tests are needed for a typical, occasional nocturnal cramp. If cramps are frequent, severe, or accompanied by weakness or numbness, doctors may check electrolytes (potassium, magnesium, calcium), kidney and thyroid function, and occasionally nerve conduction studies to rule out an underlying cause.

Is a charley horse curable?

Idiopathic charley horses are not a disease to be 'cured' but a benign, usually self-limited symptom that can often be prevented. Regular stretching, adequate hydration, and correcting any underlying electrolyte imbalance or medication cause significantly reduce frequency. When cramps are due to a treatable secondary cause, such as low magnesium or a particular medication, addressing that cause often resolves the cramps.

Charley horse vs restless legs syndrome — what is the difference?

A charley horse is a brief, painful, involuntary muscle contraction that forms a palpable hard knot and resolves within minutes. Restless legs syndrome is an uncomfortable urge to move the legs, typically worse in the evening or at rest, relieved temporarily by movement, and not associated with a true muscle contraction or palpable spasm. They can coexist but are distinct entities with different mechanisms and treatments.

Key drugs

MagnesiumDiltiazemVitamin B complexPotassium chlorideGabapentin
Restless legs syndromePeripheral artery diseaseDeep vein thrombosisDiabetic peripheral neuropathyMyotonic dystrophyCompartment syndromeTetany/hypocalcemiaFibromyalgia

Sources and further reading

StatPearls (NCBI Bookshelf)MedlinePlusWHO ICD-10: M62.8

Educational content for medical students, prepared by the WhiteCoat Pro editorial team with AI assistance; every page is reviewed by a second AI model for factual errors. It is not medical advice and does not replace the product label, local guidelines or a clinician.