Supplements for muscle cramps

Written to our editorial standards · reviewed against published research· Updated 2 Jun 2026
Muscle & joints

Recurrent muscle cramps are commonly linked to low magnesium, with potassium and vitamin D as supporting factors and hydration as the first check.

Magnesium is central to muscle relaxation, so a shortfall is a classic cause of night cramps and twitches. Low potassium and dehydration also trigger cramps, and low vitamin D is associated with muscle aches, though most exercise cramps are about fluid and electrolytes rather than a deficiency.

Nutrients commonly linked

Magnesium Glycinate
See the guide →
Vitamin D3 + K2
See the guide →

Biomarkers worth checking

These are the blood tests most relevant here. Knowing your numbers tells you whether a supplement is the right answer.

Magnesium (serum)Vitamin D (25-OH)
When to see a doctor

Cramps with significant weakness, swelling, dark urine, or that are severe and persistent should be checked by a doctor.

Beyond supplements

Hydrate, replace electrolytes around hard exercise, and stretch; magnesium glycinate at night helps many people.

Common questions

What supplements help with muscle cramps?
Recurrent muscle cramps are commonly linked to low magnesium, with potassium and vitamin D as supporting factors and hydration as the first check. The nutrients most often linked are Magnesium Glycinate, Vitamin D3 + K2.
Which deficiencies are associated with muscle cramps?
Magnesium is central to muscle relaxation, so a shortfall is a classic cause of night cramps and twitches. Low potassium and dehydration also trigger cramps, and low vitamin D is associated with muscle aches, though most exercise cramps are about fluid and electrolytes rather than a deficiency.
When should I see a doctor about muscle cramps?
Cramps with significant weakness, swelling, dark urine, or that are severe and persistent should be checked by a doctor.

Explore further

Find out what's actually low

Upload your bloodwork and we'll read the relevant markers, or take the quiz for a personalised stack.

Analyse my bloodwork →Take the quiz

Educational use only, not medical advice, diagnosis, or treatment. Symptoms have many possible causes, and the nutrients here are commonly associated with this symptom, not a guaranteed fix. Always consult a qualified clinician, especially if symptoms are severe, persistent, or new.