If your feet cramp while you run, stop and stretch the muscle: pulling your toes towards your shin is the fastest, most reliable way to break the spasm. Most running cramps come from local neuromuscular fatigue rather than dehydration alone, so the long-term fix is progressive training, simple strength work and the right shoes, not just electrolytes.
TL;DR:
- Past cramps raise recurrence odds about 4.4 times, so runners with a history should prioritize two or three weekly lower leg strength sessions.
- Replace running shoes around 300 to 500 miles, and seek a proper fitting if tight toe boxes, uneven wear, or recurring cramps suggest poor fit.
- Electrolytes may help during runs longer than 60 to 90 minutes or in hot, sweaty conditions, but shorter runs generally call for drinking to thirst.
- Seek medical care when cramps persist beyond 10 minutes, worsen over weeks, or accompany numbness, lasting swelling, or weakness; medication effects may also need review.
Table of Contents
- Why foot cramps happen when you run
- Immediate relief during a run: step-by-step actions
- Short-term post-run fixes (hours to 48 hours)
- Longer-term prevention: training, strength and kit advice for runners
- When to see a GP or specialist
- Recommended dosage and timing for magnesium supplements
- Lifestyle factors that influence foot cramps
- How I check these boxes before my own runs
- Ready: a complementary option worth trying
- FAQ
- Sources
Why foot cramps happen when you run
An exercise-associated muscle cramp (EAMC) is a sudden, painful, involuntary contraction that usually lasts seconds to a few minutes, though NHS guidance notes episodes can run up to 10 minutes before easing. In the foot, this typically shows up as the arch or toes seizing mid-stride, often without warning.
The strongest current evidence points to neuromuscular fatigue, not systemic dehydration, as the main driver. An evidence-based review of EAMC found that multiple prospective studies have failed to consistently link hydration or electrolyte status to cramp incidence in endurance athletes. Instead, an imbalance between excitatory nerve signals (from muscle spindles) and inhibitory signals (from Golgi tendon organs) seems to let the muscle fire when it shouldn’t, and fatigue tips that balance.
A few patterns show up again and again in runners. Sudden jumps in distance or pace outstrip what your lower leg muscles are conditioned for. A prior cramp episode raises your risk of another: a systematic review and meta-analysis found a history of EAMC was the strongest predictor of future episodes, with roughly 4.4 times higher odds of recurrence. Tight or worn footwear, biomechanical quirks and pacing errors (starting too fast, then grinding through fatigue) all add to the load.
There’s also a cramp-prone window: the last stretch of a long or hard run, when your calf and foot muscles have been working repeatedly near their limit, is when a cramp is most likely to strike.

Immediate relief during a run: step-by-step actions
When a foot or calf cramp hits mid-run, the sequence below gives the muscle the best chance to release quickly.
- Stop or slow down safely, then pull your toes towards your shin (dorsiflexion) and hold. If the calf is involved, a standing calf stretch against a wall or kerb works the same way.
- Use adjuncts if the stretch alone isn’t enough: walk a few steps on your heels, massage the arch firmly with your thumbs, or press the ball of your foot into the ground to engage the muscle in the opposite direction.
- Judge readiness before resuming: the muscle should feel loose, not tender or still twitching, before you pick the pace back up. Starting too soon often triggers a second spasm.
This works because stretching increases tension through the tendon, which activates the Golgi tendon organ and inhibits the overactive motor neurons causing the spasm, according to a review on EAMC treatment. Drinking fluids or electrolytes at this point won’t help in the moment: absorption takes time, so they’re not a frontline acute fix even if they’re a reasonable part of your broader plan.
Pro Tip: Carry on stretching for a good 20 to 30 seconds after the spasm stops, not just until the pain eases, to reduce the chance of it firing again straight away.
Short-term post-run fixes (hours to 48 hours)
Once you’re home, the goal is to calm the muscle and reduce the chance of a repeat episode over the next day or two.
- Repeat the same static stretches several times over the next few hours rather than once; this keeps the muscle out of the cramp-prone state longer.
- Massage the arch and calf, or soak the foot in warm water, to improve local circulation and ease residual soreness.
- Take paracetamol or ibuprofen if the muscle is genuinely sore afterwards, but treat this as pain relief rather than a cramp cure: NSAIDs don’t address the neuromuscular mechanism behind the spasm itself.
- Jot down a quick note of the run (distance, pace, shoes, terrain, sleep the night before) so a pattern becomes obvious over a few weeks rather than staying a mystery.
That log is worth taking seriously. As Runner’s World points out, cramps are often multi-factorial, so testing one variable at a time, shoes, pace or hydration, is more useful than changing everything at once and guessing which change worked.
Longer-term prevention: training, strength and kit advice for runners
Preventing cramps for good means raising your fatigue threshold, not just hydrating harder. Three levers do most of the work: training load, strength, and footwear.
Progressive training means increasing weekly mileage or session intensity in small steps, not big jumps, and backing off when a run leaves your calves or feet unusually sore the next day. If you’ve recently increased your mileage and started cramping, that’s rarely a coincidence, and easing the next few weeks’ load before building again tends to settle things.
Strength and neuromuscular work is where the evidence is most encouraging. Simple home exercises for the feet, calves, ankles and glutes, done consistently, appear to raise fatigue tolerance in the muscles most prone to cramping:
- Calf raises (straight and bent knee) to build endurance in the muscles that drive push-off.
- Toe curls or marble pickups to strengthen the small muscles of the foot arch.
- Single-leg balance work to improve ankle stability.
- Glute bridges to share load away from the lower leg on tired runs.
Two to three short sessions a week, building reps gradually, is enough to start. ACSM resources on strength training suggest this kind of progressive resistance work reduces cramp susceptibility more reliably than trying a string of anecdotal remedies. For ankle-specific routines aimed squarely at runners, NRTH’s ankle strengthening guide is a useful place to start.
Footwear and fit matter more than most runners assume: shoes that are too tight across the toe box, or worn down unevenly, change how load lands on the foot. As a rough guide, most running shoes need replacing somewhere between 300 and 500 miles, and a proper fitting at a running shop is worth it if you’re unsure or prone to cramping.

Hydration and electrolytes help some runners, particularly on sessions over 60 to 90 minutes or in hot, heavy-sweat conditions, according to ACSM’s hydration guidance. For shorter, ordinary runs, drinking to thirst is enough: aggressive electrolyte loading isn’t necessary and won’t fix a neuromuscular cramp on its own.
Pro Tip: If you’ve cramped before, treat yourself as higher risk and prioritise the strength work above everything else: a prior history is the single strongest predictor of it happening again.
When to see a GP or specialist
Most foot cramps settle on their own and don’t need medical attention. See a GP if cramps last longer than 10 minutes without easing, come with numbness, persistent swelling or weakness, or if they’re getting worse over weeks rather than better, NHS guidance advises.
A GP will typically review your medications (certain diuretics and statins are linked to cramping), check circulation and do a basic neurological exam, with blood tests if there’s a reason to suspect a deficiency. Mention how often the cramps happen, whether they’re linked to running, and any other symptoms. From there, referral to podiatry or neurology is sometimes appropriate, though routine magnesium testing or supplementation without this kind of assessment isn’t something the NHS recommends as a first step.
Recommended dosage and timing for magnesium supplements
If you’re considering a magnesium supplement alongside training and strength changes, bisglycinate forms are generally well tolerated and gentler on the stomach than cheaper oxide forms, since they’re absorbed more easily. A common approach among runners is to take it in the evening, since magnesium also supports normal muscle relaxation and may help with sleep quality, which matters for recovery.
Most people’s day-to-day intake needs are modest, and supplement labels will state the amount per capsule, so follow the dose on the product you choose rather than guessing. Taking it consistently, rather than only on the night before a long run, tends to suit the way magnesium is absorbed and used by the body over time. If you’re on medication, particularly for kidney function or blood pressure, check with a GP or pharmacist before adding a regular supplement, since magnesium can interact with some drugs.
Supplementation is worth treating as one part of a wider plan rather than a standalone fix: it sits alongside the strength work and training adjustments covered above, not instead of them.
Lifestyle factors that influence foot cramps
Cramping isn’t purely a running problem: what happens off the road affects how fatigued your muscles are before you even lace up. Poor sleep leaves muscles less able to recover between sessions, which can lower the threshold at which neuromuscular fatigue tips into a cramp.
Stress has a similar knock-on effect. It tends to increase general muscle tension and disrupt sleep further, compounding the fatigue that’s already building from training. Long periods of sitting, especially if you’ve driven a long way before a run, can leave the calves and feet stiffer and slower to warm up, too.
None of these factors act alone, which is why a short run log (noting sleep, stress and stiffness alongside pace and distance) is often the quickest way to spot what’s actually driving your cramps rather than guessing.
How I check these boxes before my own runs
Before most runs, I run through a short mental checklist: warm up properly, check my shoes haven’t worn unevenly, and make sure I’ve done one strength session that week, even a short one. If a cramp does strike, I note the conditions afterwards rather than letting the pattern slip. Supplements can fit into that routine too, as one piece among several, never the whole plan.
— Tim
Ready: a complementary option worth trying
We built our magnesium bisglycinate formula specifically for everyday runners, suitable for vegetarians and vegans, and designed to slot into an evening routine without fillers or unnecessary extras.

- Pair it with the strength and training changes above rather than expecting it to work alone.
- If you’re on regular medication, check with a GP before starting any new supplement.
- Try it as a one-off purchase or through Subscribe & Save; current pricing and guarantee details are available on our website.
See Ready, our magnesium for runners, for pricing and subscription details.
This article is general information, not a substitute for advice from a qualified doctor. Consult a qualified healthcare professional about your own circumstances before acting on anything here.
FAQ
Is it okay to run through a cramp?
Running through a foot cramp usually makes it worse and raises the risk of altering your stride and straining something else. Stop or slow down, stretch the muscle until it releases, and only resume once it feels genuinely loose again.
What deficiencies cause foot cramps?
Routine deficiency isn’t the main driver of exercise-associated cramps for most runners, since reviews have found no consistent link between electrolyte or hydration status and cramp incidence according to research on EAMC pathophysiology. A GP may still check magnesium or other levels if cramps are frequent and medication or an underlying condition is suspected.
Do electrolytes stop cramps?
Electrolytes help some runners, mainly on long or very sweaty sessions, but they don’t reliably prevent exercise-associated muscle cramps on their own, as ACSM’s hydration guidance and EAMC reviews both note. For most runs under 60 to 90 minutes, drinking to thirst is enough.
What could be causing my hands and feet to cramp and lock up?
Cramping in both the hands and feet together is less typical of ordinary exercise-associated cramps and is worth mentioning to a GP, since it can point to a medication side effect or another underlying cause. A GP can check for these through a medication review and basic tests, as NHS guidance on cramps outlines.
Sources
- Leg cramps - NHS
- An evidence-based review of the pathophysiology, treatment, and prevention of exercise-associated muscle cramps - PMC
- Risk factors for exercise-associated muscle cramps: A systematic review with meta-analysis - Muscle & Nerve
- 9 facts about hydration & electrolytes - ACSM