Respond to the cramp and review the pattern
NHS advises stretching or massaging the affected muscle, and regular calf stretching may reduce recurrence. Dehydration, exertion, pregnancy and some medicines can contribute, while many cramps have no identified cause. Cramps disturbing sleep, lasting over ten minutes or accompanied by swelling or numbness warrant review. [1]
Magnesium is not a dependable universal answer
The inspected Cochrane review concludes that magnesium is unlikely to reduce ordinary cramp frequency or severity in older adults. Pregnancy findings were uncertain, and evidence in other settings was limited. These conclusions do not mean a diagnosed magnesium deficiency should be ignored. [2][3]
Use food to meet needs rather than chase a cramp cure
Beans, nuts, seeds and leafy vegetables contribute magnesium; potatoes, beans and other vegetables or fruits can contribute potassium. Meeting nutrient needs is different from proving that one food stops a cramp. Potassium supplements can be hazardous with some medicines or kidney impairment. [3][4]
Investigate before building a mineral stack
Imagine night cramps begin after a medicine change. Bring the timeline to the prescriber rather than independently stopping the medicine or adding several electrolytes. If replacement is indicated, the dose and follow-up should match the identified problem. [1][4]
| Option or finding | Practical implication |
|---|---|
| Brief cramp | Stretching or gentle massage |
| Routine magnesium purchase | Benefit is not established for every population |
| New persistent pattern | Review medicines and possible causes |

Sources for this article
- Leg cramps - NHS
Source consulted: 2026-09-20. This is a reference resource, not a claim that we conducted the studies or tested a product. - Magnesium for muscle cramps | Cochrane
Source consulted: 2026-09-20. This is a reference resource, not a claim that we conducted the studies or tested a product. - Magnesium - Health Professional Fact Sheet
Source consulted: 2026-09-20. This is a reference resource, not a claim that we conducted the studies or tested a product. - Potassium - Health Professional Fact Sheet
Source consulted: 2026-09-20. This is a reference resource, not a claim that we conducted the studies or tested a product.