symptom
    Pain & Inflammation

    Muscle Cramps

    Sudden, involuntary muscle contractions causing sharp pain.

    TL;DR

    Most night-time leg cramps are neuromuscular, not dehydration or a mineral deficiency. Stretching and medication review help more than electrolyte drinks, and quinine is no longer recommended.

    Overview

    Exercise-associated cramps and nocturnal leg cramps are different problems that get treated as one. Exercise cramps cluster in muscles working at short length under fatigue and are best explained by altered spinal reflex control rather than sweat losses; the classic evidence against the dehydration theory is that cramping athletes are not more dehydrated or more electrolyte-depleted than non-cramping ones in field studies. Nocturnal cramps, which affect roughly a third of adults over 60, involve sustained involuntary calf or foot contraction lasting seconds to minutes, often leaving residual soreness. The most productive first step is a medication review, because diuretics, statins, beta-agonists, and long-acting beta-2 agonists are frequent contributors, and correcting them removes the cramps entirely in some people. Secondary causes worth excluding include peripheral artery disease, peripheral neuropathy, hypothyroidism, chronic kidney disease and, in pregnancy, simple mechanical and circulatory change. Stretching the calf and hamstrings before bed has the best trial support of any self-directed intervention. On supplements, magnesium is the most heavily marketed and among the least supported: Cochrane concluded it is unlikely to help idiopathic cramps in older adults, though the pregnancy data are more favourable. Quinine works but was withdrawn from this indication due to thrombocytopenia and arrhythmia risk.

    Common Symptoms

    • •Sudden painful calf or foot contraction
    • •Visible knotting of the muscle
    • •Night-time onset waking you from sleep
    • •Residual soreness for hours afterwards
    • •Cramps in the arch of the foot or toes

    Common Causes

    • •Neuromuscular fatigue and altered reflex control
    • •Diuretics, statins and beta-agonists
    • •Peripheral neuropathy
    • •Peripheral arterial disease
    • •Pregnancy
    • •Hypothyroidism or chronic kidney disease
    • •Dialysis-related fluid shifts

    Root Causes

    Altered alpha motor neuron excitability with muscle fatigue, medication effects from diuretics, statins and beta-agonists, peripheral neuropathy, peripheral arterial disease, electrolyte disturbance in dialysis or severe diarrhoea, hypothyroidism, pregnancy-related circulatory change, and prolonged static posture.

    How It's Diagnosed

    Diagnostic Markers

    • Medication review
    • Electrolytes including sodium, potassium, calcium and magnesium
    • Thyroid function and renal function
    • HbA1c and B12 where neuropathy is suspected
    • Ankle-brachial index if claudication features
    • Creatine kinase after exertional cramps with dark urine

    When to See a Doctor

    See a doctor for cramps with muscle weakness, wasting or persistent numbness, cramps with dark urine after exertion, calf pain that is swollen and warm, or cramps that appear reliably with walking and stop with rest, which suggests arterial disease rather than cramp.

    Supplements Studied For This

    Diet & Lifestyle

    Suggested Pattern

    No specific diet prevents cramps. Adequate but not excessive fluid and normal dietary potassium and magnesium from food are sufficient; electrolyte drinks have not shown preventive benefit in controlled work.

    Supporting Research

    Articles on Muscle Cramps

    All articles

    Frequently Asked Questions

    Are cramps caused by low magnesium?
    Usually not. Randomised trials of magnesium at 300-400 mg/day show little to no benefit for idiopathic or older-adult cramps, though it may help pregnancy-related cramps modestly.
    Do electrolytes and hydration matter?
    They matter most for cramps during prolonged exercise in heat. For night cramps at rest, dehydration is rarely the explanation.
    What actually stops a cramp?
    Passive stretching of the affected muscle is the fastest reliable measure. Regular calf and hamstring stretching before bed reduces night cramp frequency in some studies.
    Can medication cause cramps?
    Yes. Diuretics, statins, beta-agonists and some blood pressure medicines are common culprits. A medication review is worthwhile before trying supplements.
    Is quinine an option?
    Quinine reduces cramps but carries risks of serious blood disorders and is not recommended for routine use. It is restricted in most countries for this reason.
    When do cramps need investigation?
    If they come with weakness, muscle wasting, numbness, dark urine, or affect the hands and trunk rather than the calves, ask for assessment of nerve, thyroid and electrolyte causes.

    Who It Affects

    Nocturnal leg cramps affect roughly 33% of adults over 60 and up to 50% of pregnant women in the third trimester.

    Quick Facts

    • •Cramping athletes are not more dehydrated than non-cramping ones in field studies
    • •Around a third of adults over 60 get nocturnal leg cramps
    • •Cochrane found magnesium unlikely to help idiopathic cramps in older adults
    • •Quinine is no longer recommended because of thrombocytopenia and arrhythmia risk

    Lifestyle Tips

    • •Stretch calves and hamstrings for a few minutes before bed — the best-supported self-treatment
    • •During a cramp, dorsiflex the foot and pull the toes toward you rather than massaging blindly
    • •Review diuretics, statins and inhalers with your prescriber before buying supplements
    • •Keep bedding loose so feet are not held in plantarflexion overnight
    • •Build training load gradually; cramps cluster where fatigue outpaces conditioning

    My Notes

    Sign in to add personal notes

    This information is for educational purposes only. Always consult a healthcare professional before starting any supplement regimen.