Health Atlas
Menu
Evidence-led reference

Movement & fitness

Muscle cramps: nighttime and exercise patterns, causes, treatment evidence and assessment

14 sources · Latest source check 2026-10-20 UTC
On this page

A muscle cramp is a sudden, involuntary tightening of a muscle, often painful and short-lived. A calf may form a hard knot during a night cramp.[1]

Describe the pattern before choosing a remedy

Describe the pattern before choosing a remedy
Pattern or termUseful distinction
Nocturnal leg crampSudden painful tightening at rest, commonly in a calf, foot or thigh; soreness may continue after the tightening ends.[2]
Exercise-associated muscle crampPainful involuntary contraction during or soon after activity; EAMC is the research abbreviation.[4]
Restless legs symptomsAn urge to move, commonly worse at rest in the evening, differs from a discrete visibly or palpably tight muscle.[3]
Nerve or circulation-related symptomsTingling, electrical pain or reproducible walking pain can need another assessment; these patterns should not all be labelled ordinary cramps.[3]

A cramp can end before its soreness does

NHS information describes leg cramps lasting seconds to about ten minutes, with soreness sometimes continuing afterward. Gentle stretching or massage may ease an ordinary episode. Pain medicines work too slowly to stop the brief tightening, although they may be considered for later soreness when suitable for the person.[2]

A cramp does not diagnose one mineral deficiency

MedlinePlus lists overuse, nerve compression, inadequate blood supply, fluid or electrolyte problems, pregnancy, medicines and dialysis among possible contexts; sometimes no cause is identified. These possibilities do not diagnose a particular deficiency. Frequent or changing symptoms deserve assessment rather than repeated electrolyte purchases.[1]

History and examination guide testing

A clinical review describes nighttime timing, painful tightening and the symptom history as central to assessment. Routine broad testing does not confirm every ordinary night cramp; selected tests may investigate a suspected underlying condition. Tell the clinician about weakness, altered sensation, activity-related pain and actual medicine use. The review is dated, so its treatment suggestions are not adopted here as current prescribing advice.[3]

Persistent cramps deserve assessment in context

Arrange care when cramps are frequent, severe, unusually prolonged or accompanied by weakness, swelling, redness or warmth. Describe which muscle tightens, timing, recent activity and accompanying symptoms. A persistent change should not simply be treated as an inevitable part of aging or as proof that a familiar medicine must be stopped.[1]

Some severe muscle symptoms need immediate care

Seek immediate assessment for unexpectedly severe muscle pain or cramps, marked weakness or tea/cola-colored urine. These can indicate rhabdomyolysis, or serious muscle breakdown, and symptoms alone cannot distinguish it from other conditions. Do not wait for every sign to appear.[14]

Evidence & uncertainty

Exercise-related cramps have several proposed contributors; one universal dehydration explanation is inadequate. Relief of an active cramp and prevention of future cramps are separate questions. Evidence for one setting should not automatically be transferred to pregnancy, dialysis or neurological disease.[4]

Selected-source overview · Independent review pending

Published questions

Is a charley horse a different condition from a muscle cramp?

Selected-source overview · Independent review pending. Read the evidence context.

Charley horse is a common name for a muscle cramp. Location and timing still matter; the nickname does not identify its cause.[1]

Evidence behind this answer
  • Muscle Cramps

    official patient information · 2025
    Original official page text read · Definition, causes and when to seek assessment

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Are nighttime cramps the same as restless legs syndrome?

Selected-source overview · Independent review pending. Read the evidence context.

No. A discrete painful tightening differs from an urge to move. Symptoms can be confusing or coexist, so describe them rather than choosing treatment from the time of night alone.[3]

Evidence behind this answer
  • Nocturnal Leg Cramps

    professional clinical review · 2012
    Original review page read, including diagnostic section and table · Diagnostic evaluation and differential table; treatment recommendations not adopted as current prescribing advice

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Are cramps during sport treated the same as nighttime cramps?

Selected-source overview · Independent review pending. Read the evidence context.

Evidence cannot automatically be transferred between them. The non-drug review’s trials concerned older adults and did not study exercise-related cramps; population and setting matter.[7]

Evidence behind this answer
  • Non-drug treatments for leg and foot cramps

    systematic review · 2021
    Original review summary and full published abstract read · Plain-language summary and published abstract: three trials, 201 participants, protocols and missing outcomes

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Does cramping during a race prove I need more salt or water?

Selected-source overview · Independent review pending. Read the evidence context.

No. One triathlon cohort found similar measured electrolyte and body-weight changes in crampers and noncrampers. That does not rule out every fluid-related problem, but a cramp alone cannot identify a replacement dose.[5]

Evidence behind this answer

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

What can help an ordinary cramp while it is happening?

Selected-source overview · Independent review pending. Read the evidence context.

Stop or reduce the provoking activity and gently stretch the affected muscle. If symptoms occur with collapse, confusion or other severe illness, obtain urgent medical help instead of continuing to exercise.[4]

Evidence behind this answer

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Is stretching before bed a guaranteed preventive treatment?

Selected-source overview · Independent review pending. Read the evidence context.

No. A selected older-adult trial was favorable, but the wider evidence is small and uncertain, with different findings across stretching protocols.[7]

Evidence behind this answer
  • Non-drug treatments for leg and foot cramps

    systematic review · 2021
    Original review summary and full published abstract read · Plain-language summary and published abstract: three trials, 201 participants, protocols and missing outcomes

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Do leg cramps mean I need magnesium?

Selected-source overview · Independent review pending. Read the evidence context.

Not necessarily. Cramps have several possible causes, and sometimes none is identified. A cramp alone does not establish magnesium deficiency or a need for supplements.[1]

Evidence behind this answer
  • Muscle Cramps

    official patient information · 2025
    Original official page text read · Definition, causes and when to seek assessment

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Why do magnesium recommendations for cramps differ?

Selected-source overview · Independent review pending. Read the evidence context.

Trials have differed in product, duration and population. A later positive trial tested one product for 60 days and had analysis and registration limitations; it does not establish benefit for every formulation.[10]

Evidence behind this answer

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Are pregnancy cramps a reason to add high-dose supplements?

Selected-source overview · Independent review pending. Read the evidence context.

Not by themselves. Pregnancy trials have inconsistent benefits and incomplete safety information. Ask the maternity team about persistent symptoms and any supplement being considered.[11]

Evidence behind this answer
  • Interventions for leg cramps in pregnancy

    systematic review · 2020
    Original review summary and published abstract read · Original summary and published abstract: eight trials, 576 participants, inconsistent benefits and missing safety outcomes

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Why is quinine not a routine choice for night cramps?

Selected-source overview · Independent review pending. Read the evidence context.

Its modest possible benefit must be weighed against potentially serious blood reactions, interactions and toxicity. UK guidance limits consideration to selected patients after other measures, with monitoring.[12]

Evidence behind this answer

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Does a quinine approval for malaria mean it is approved for leg cramps?

Selected-source overview · Independent review pending. Read the evidence context.

No. FDA describes malaria approvals alongside boxed warnings about dangerous use for night cramps. The treatment indication matters.[13]

Evidence behind this answer
  • Unapproved Drugs and Patient Harm

    official regulatory safety information · Date not stated
    Original FDA page and quinine section read · Quinine sulfate section: malaria approval and boxed-warning context

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Will a painkiller stop a brief cramp immediately?

Selected-source overview · Independent review pending. Read the evidence context.

NHS guidance says pain medicines act too slowly to stop the cramp itself. Suitability for residual soreness is a separate question, depending on the person and medicine.[2]

Evidence behind this answer
  • Leg cramps

    official patient information · 2023
    Original official page text read · Episode duration, residual soreness, immediate measures, medicine context; December 2023 review

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Should I stop a statin or diuretic if I start getting cramps?

Selected-source overview · Independent review pending. Read the evidence context.

Do not assume the medicine is the cause or change it on this basis alone. NHS information lists these as possible contributors; discuss timing, other symptoms and alternatives with the prescriber.[2]

Evidence behind this answer
  • Leg cramps

    official patient information · 2023
    Original official page text read · Episode duration, residual soreness, immediate measures, medicine context; December 2023 review

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Should severe muscle pain with dark urine be treated as an ordinary cramp?

Selected-source overview · Independent review pending. Read the evidence context.

No. Seek medical care immediately; rhabdomyolysis is one possible cause. Assessment and blood tests are needed, and not everyone has every warning sign.[14]

Evidence behind this answer
  • Signs and Symptoms of Rhabdomyolysis

    official symptom safety guidance · 2025
    Original official page re-read; existing atlas attribution retained · January 2025: severe muscle symptoms, dark urine, weakness and immediate assessment

This answer summarizes selected sources. An independent appraisal of the complete evidence has not been completed.

Exercise research does not support one cause for everyone

The athletic-training review discusses competing fluid/electrolyte and altered neuromuscular-control explanations. Fatigue, intensity, previous cramps and individual circumstances can interact. Its practical recommendations favor stopping or reducing activity, gentle stretching and later review of contributing factors. They do not establish that everyone should drink the same volume or take salt tablets; excessive replacement can also cause problems.[4]

One athlete study gives a narrower comparison

A prospective study recruited 210 Ironman triathletes; 43 reported cramps and were compared with 166 without reported cramps. Changes in measured blood electrolytes and body weight did not significantly differ. Faster race performance and previous cramps were associated with cramping. This observational result challenges a simple explanation in that event; it does not show dehydration can never contribute in any person or setting.[5]

A stretching trial and the wider review have different weight

An 80-person randomized trial in adults over 55 compared nightly calf-and-hamstring stretching with no specific stretching for six weeks. Participants reported fewer and less painful cramps. This is one tested program in selected older adults, not proof that every stretch prevents cramps in younger athletes or people with neurological disease.[6]

The broader non-drug evidence remains limited

The 2021 Cochrane review included three stretching trials with 201 participants aged 50 or older. Combined calf-and-hamstring stretching may reduce severity; effects on frequency were uncertain. Other protocols did not give identical results. No included study tested exercise-related cramps or younger adults, and none established improved sleep or daily participation. The favorable 80-person trial above is part of this review, not independent confirmation.[7]

Correcting deficiency and preventing unexplained cramps are different decisions

The 2020 Cochrane review found magnesium unlikely to provide meaningful prevention for ordinary cramps in older adults; pregnancy findings were inconsistent. Its search ended in September 2019.[8]

A four-week magnesium trial did not find added benefit

In a 2017 randomized trial, 94 adults received magnesium oxide or placebo. Cramps decreased in both groups; the between-group difference was not significant, and sleep, pain and duration outcomes did not show added benefit. Pregnancy, substantial renal failure and major neurological disease were excluded. Improvement after starting a supplement therefore cannot by itself identify the supplement as the cause.[9]

A later trial reported a different result

A 2021 trial randomized 184 adults to a particular magnesium oxide monohydrate product or placebo for 60 days; 175 completed follow-up, and two participants’ data were excluded from efficacy analyses. The product group showed a larger reduction in episodes and some other outcomes. The trial was manufacturer-funded and retrospectively registered. Its longer duration and selected formulation do not establish that all magnesium products work, or explain conclusively why results differ from earlier research.[10]

Pregnancy-specific benefit and safety remain separate questions

A pregnancy Cochrane review found eight small trials with 576 participants and inconsistent results for oral supplements. The reviewers rated evidence low or very low certainty and could not adequately assess pregnancy and infant safety outcomes. Adult night-cramp results do not settle pregnancy treatment. Discuss persistent cramps and proposed supplements with the maternity team rather than adding high doses independently.[11]

Modest benefit does not make quinine a routine remedy

UK MHRA guidance describes modest benefit and restricts consideration of quinine to selected, very painful or frequent night cramps that disrupt sleep after other causes and non-drug measures have been addressed. Serious blood reactions, interactions and overdose toxicity matter. Prior reactions to quinine in beverages count too. This is a clinician-supervised UK decision, not a recommendation to self-treat with tablets or tonic water.[12]

US approval and warning context is different

FDA information describes quinine sulfate approvals for malaria and boxed warnings about life-threatening dangers when it is used for night cramps. An approval for one disease does not authorize a reader to treat another symptom. Online availability and use in a drink do not remove the need to check medicine risks.[13]

What this guide does not settle

This is not a personalized fluid, supplement, exercise or medicine plan. Better trials should distinguish cramp frequency, severity, duration, sleep and function, report harms, and include people missing from current studies. New treatment findings require appraisal in their exact population.

References

  1. Muscle Cramps

    Official patient information

    MedlinePlus / NLM · Content/publication date: 2025
    Accessed: 2026-10-20 UTC · Original official page text read
    Cited sections: Definition, causes and when to seek assessment

  2. Leg cramps

    Official patient information

    NHS · Content/publication date: 2023
    Accessed: 2026-10-20 UTC · Original official page text read
    Cited sections: Episode duration, residual soreness, immediate measures, medicine context; December 2023 review

  3. Nocturnal Leg Cramps

    Professional clinical review

    Allen RE; Kirby KA / American Family Physician · Content/publication date: 2012
    Accessed: 2026-10-20 UTC · Original review page read, including diagnostic section and table
    Cited sections: Diagnostic evaluation and differential table; treatment recommendations not adopted as current prescribing advice

    Dated review used for symptom and assessment distinctions.

  4. An Evidence-Based Review of the Pathophysiology, Treatment, and Prevention of Exercise-Associated Muscle Cramps

    Evidence based clinical review

    Miller KC and colleagues · Content/publication date: 2022
    Accessed: 2026-10-20 UTC · Full paper retrieved through Firecrawl; relevant methods, tables and mechanism passages read
    Cited sections: Methods; Table 1 serious features; Table 2 recommendations; competing mechanism sections

    Search through 2020; not a universal athlete protocol.

  5. Increased running speed and previous cramps rather than dehydration or serum sodium changes predict exercise-associated muscle cramping: a prospective cohort study in 210 Ironman triathletes

    Original prospective cohort

    Schwellnus MP; Drew N; Collins M · Content/publication date: 2011
    Accessed: 2026-10-20 UTC · Original PubMed abstract retrieved through Firecrawl and read; full paper not appraised
    Cited sections: Abstract: recruitment, comparison groups, blood/body-weight measures and associated risk factors

    Observational event-specific comparison, not an individual cause test.

  6. Stretching before sleep reduces the frequency and severity of nocturnal leg cramps in older adults: a randomised trial

    Original randomized trial

    Hallegraeff JM and colleagues · Content/publication date: 2012
    Accessed: 2026-10-20 UTC · Authors’ university publication record and original abstract read; full trial methods not appraised
    Cited sections: Original abstract: 80 adults over 55, calf/hamstring stretching, six-week outcomes

    Included in the cited non-drug review; not independent confirmation.

  7. Non-drug treatments for leg and foot cramps

    Systematic review

    Hawke F and colleagues / Cochrane · Content/publication date: 2021
    Accessed: 2026-10-20 UTC · Original review summary and full published abstract read
    Cited sections: Plain-language summary and published abstract: three trials, 201 participants, protocols and missing outcomes

    Search through May 2020; one source for multiple underlying trials.

  8. Magnesium for skeletal muscle cramps

    Systematic review

    Garrison SR and colleagues / Cochrane · Content/publication date: 2020
    Accessed: 2026-10-20 UTC · Original summary and published abstract re-read; existing atlas use budget retained
    Cited sections: Published review conclusions; search end date September 2019

  9. Effect of Magnesium Oxide Supplementation on Nocturnal Leg Cramps: A Randomized Clinical Trial

    Original randomized trial

    Roguin Maor N and colleagues · Content/publication date: 2017
    Accessed: 2026-10-20 UTC · Original full article methods and results read
    Cited sections: Methods, exclusions, Table 2, results and limitations: 94 randomized adults, four weeks

    Included in the 2020 magnesium review; not independent replication.

  10. A randomized, double-blind, placebo-controlled, multicenter study assessing the efficacy of magnesium oxide monohydrate in the treatment of nocturnal leg cramps

    Original randomized trial

    Barna O and colleagues · Content/publication date: 2021
    Accessed: 2026-10-20 UTC · Original full paper methods, results and funding read
    Cited sections: Methods, participant flow, exclusions, results, retrospective registration and funding

    Manufacturer-funded; retrospectively registered; efficacy exclusions.

  11. Interventions for leg cramps in pregnancy

    Systematic review

    Luo L and colleagues / Cochrane · Content/publication date: 2020
    Accessed: 2026-10-20 UTC · Original review summary and published abstract read
    Cited sections: Original summary and published abstract: eight trials, 576 participants, inconsistent benefits and missing safety outcomes

    Search September 2019; overlaps pregnancy studies in magnesium review.

  12. Quinine: not to be used routinely for nocturnal leg cramps

    Official medicine safety guidance

    UK MHRA · Content/publication date: 2014
    Accessed: 2026-10-20 UTC · Original guidance text read
    Cited sections: June 2010 advice on selection, modest benefit, serious reactions and monitoring; later QT advice linked

    Article advice dated June 2010; UK prescribing context.

  13. Unapproved Drugs and Patient Harm

    Official regulatory safety information

    US FDA · Content/publication date: not stated
    Accessed: 2026-10-20 UTC · Original FDA page and quinine section read
    Cited sections: Quinine sulfate section: malaria approval and boxed-warning context

    Historical enforcement summary; not a current product label.

  14. Signs and Symptoms of Rhabdomyolysis

    Official symptom safety guidance

    CDC / NIOSH · Content/publication date: 2025
    Accessed: 2026-10-20 UTC · Original official page re-read; existing atlas attribution retained
    Cited sections: January 2025: severe muscle symptoms, dark urine, weakness and immediate assessment

Scope & review

Population
General symptom literacy; night cramps and exercise cramps distinguished; pregnancy evidence separately bounded
Exposure or intervention
Muscle cramps, assessment, gentle measures and selected prevention/treatment evidence
Comparison
Cramp versus mimics; relief versus prevention; selected stretching and magnesium trials; quinine benefit versus harms
Outcomes
Frequency, severity, duration, sleep, function and adverse effects
Timeframe
Brief episodes; studies lasting weeks to months; long-term comparative benefit remains uncertain
Jurisdiction
General education with UK MHRA and US FDA medicine contexts explicitly separated

Selected official pages, review summaries and published abstracts, and original full trial/review passages read. This is not an atlas-authored systematic review or independent clinical review; sources and access limits are explicit.

Sources checked on their individual access dates. Selected sources were checked; ongoing surveillance and qualified review have separate statuses on the coverage page.

Revision history
  • 2026-10-20 UTC: Initial sourced educational draft. Definitions, source-specific evidence, applicability and access limits authored; independent qualified review not completed.

What this article still leaves open

  • Which prevention strategies improve symptoms, sleep and function in specific cramp populations?
  • Independent replication of longer-duration magnesium findings and formulation comparisons.
  • Better standardized outcomes and harms reporting, including pregnancy, neurological disease and exercise settings.
Suggest a correction

Submit a content correction to the editorial queue, or download a local note. Leave out personal medical details. Submitted text is stored privately with a browser receipt session and is visible to this browser and the editor. Clearing cookies removes access to your submission history. This is not an account or a medical service.

Explore the topic map

Browse the health domains connected to this article. The map also identifies topics whose articles remain unwritten.