Why do my calves cramp at mile 20 and how to fix it?

Mile 20 of a marathon is the only mile that has its own folklore. The wall. The bonk. The moment your calves turn into bricks and your race plan turns into a slow funeral. The good news: calf cramps at mile 20 are mostly preventable. The bad news: most of what you've read online about why they happen is wrong.

Let me tell you what I think is actually going on, what the current evidence says, and what to do about it — before race day and on race day.

What is actually happening when your calves cramp

For decades, the explanation was electrolyte loss. Drink more salt, the story went, and the cramps go away. The story was clean and intuitive. It is also, on closer inspection, mostly unsupported by the research.

The neuromuscular fatigue model

Current sports-medicine thinking, led by Martin Schwellnus's research group, frames exercise-associated muscle cramps as a neuromuscular phenomenon. The argument: when a muscle is fatigued beyond what it has been trained for, the spinal reflex loop that controls muscle contraction becomes hyperactive. The muscle starts firing involuntarily. The cramp is the result. It is the muscle telling you it has been pushed past what it knows how to do.

Why this fits what runners experience

It explains why the cramp arrives at mile 20, not mile 5. Why it hits the muscle that did the most work. Why it strikes runners who started too fast. Why it sometimes happens even in cool weather, where salt loss is minimal. And why the most reliable predictor of cramping in race-day surveys is a faster-than-trained pace, not sodium intake.

What that means for you

If the cramps are mostly a fatigue problem, the fix is mostly a training and pacing problem.

You probably trained for the first 25 km, not the last 17

Most marathon plans build up to a 32 to 35 km long run. That is enough to get you to about kilometre 30 in good shape. The last 12 kilometres are an extrapolation — your body is doing something it has never done in training. The calves, which absorb impact every step, hit the end of their durability first.

You probably ran the first half too fast

Look at the world's amateur marathon finish data. A consistent finding: positive splits — second half slower than first half — are the norm. The faster the positive split, the higher the late-race cramp rate. A flat or negative split, where the second half is run as fast as or faster than the first, drastically reduces cramp risk.

You probably under-fuelled

Carbohydrate availability at kilometre 32 is one of the few measurable factors that delays the onset of neuromuscular fatigue. Most amateur Indian runners I work with under-fuel by 30 to 50 grams of carbohydrate per marathon. Our fuel guide walks through what 60 to 90 grams per hour of carbohydrate actually looks like on the road.

What to do in training

Three changes, in order of importance.

Practice the late race in training

Add 'specific endurance' sessions in the back half of your build. A 32 km long run with the last 10 km at marathon pace teaches your calves what the back end of the race actually feels like. A second long run a week, even short, conditions the connective tissue beyond what one weekly long run can do.

Build calf strength outside running

Calf raises. Single-leg, with a slow eccentric (three seconds down). Three sets of twelve, three times a week, for the eight weeks before a marathon. This is one of the few strength interventions with consistent return on injury and cramp prevention. Add tibialis raises for the shin side of the leg, too.

Run a heat-adapted block

Most of India is hot. A marathon trained in Mumbai humidity is a different race than one trained in October Pune. Acclimate properly. Heat conditioning genuinely changes how late your body fatigues.

What to do on race day

The race plan that prevents cramps is the race plan that doesn't over-spend the first half.

Pace the first 5 km 5 to 10 seconds slower than goal

The most common mistake is starting at goal pace from the gun. Adrenaline plus a downhill plus a crowd will pull you 15 seconds per km faster than you planned. Hold back deliberately. Use our pace calculator to know exactly what your second-half target should be in different conditions.

Fuel before you need to

First gel at 30 minutes. Then every 25 to 30 minutes thereafter. Do not wait until you 'feel like' you need it. By then, your calves are already running on borrowed time.

If a cramp hits, stop and stretch

The literature is clear: a cramping muscle responds best to static stretching of the antagonist movement. For a calf cramp, that means pushing the toes toward your shin and holding for 20 to 30 seconds. Walk for two minutes. Restart slow. Most runners who do this get back into rhythm and finish. Most runners who try to 'run through' it tear something.

And do not chase the lost time

A cramp at mile 20 has already cost you the goal time you walked in with. Trying to make it up in mile 22 is the fastest way to a second, worse cramp. Run the new, slower pace. Finish. Learn for next time.

A small story

At the Tata Mumbai Marathon in 2024, a runner from our community went out 12 seconds per km faster than his goal pace through halfway. He had trained well. He had eaten well. He cramped at km 33, both calves, on the Bandra-Worli Sea Link. He walked for ten minutes. He restarted. He finished, eighteen minutes behind his goal. The next morning he wrote me a single message: 'I should have walked to the start line and walked the first 5 km.' He ran his goal time at Mumbai 2025. Same training. Different opening.

What I'd actually do this season

If you cramp at mile 20 every marathon, do these four things in order. One: extend your long-run programme to include a 36 km run six weeks out, with the last 10 at marathon pace. Two: add three calf-strength sessions a week for eight weeks. Three: increase race-day carbs to 60 to 80 g per hour. Four: cap your first 10 km at exactly your goal pace or 5 seconds slower. Not faster. Never faster.

If you want a marathon plan that builds in late-race specificity, our plan generator will scaffold the right progression. For pace bands and goal-time tools, see calculators. The full library, including pacing strategy, recovery, and nutrition, lives at the Running Lab.

Frequently asked questions

Are calf cramps in a marathon caused by dehydration or low sodium?

Probably not, at least not primarily. The strongest current evidence, led by Martin Schwellnus and colleagues, points to neuromuscular fatigue as the main cause of exercise-associated muscle cramps. Race-day surveys consistently find pace-relative-to-training, not sodium loss, as the better predictor of cramping. Drinking enough fluid still matters for performance and safety, but sodium tablets alone are not a reliable cramp prevention strategy.

What is the best stretch when a calf cramps during a marathon?

Static stretching of the cramping muscle by lengthening it. For a calf, that means pulling your toes toward your shin (dorsiflexion) and holding for 20 to 30 seconds. You can do it standing against a kerb, with your forefoot raised. Walk for one to two minutes after to let the muscle reset. Don't bounce, don't try to run through it. Restart at an easier pace once the cramp has eased.

How can I strengthen my calves to prevent marathon cramps?

Single-leg calf raises with a slow eccentric (three seconds down). Three sets of twelve, three times a week, for the eight weeks before a marathon. Use a step so your heel can drop below the toes. Add tibialis raises for the front of the lower leg. This is one of the more consistently supported strength interventions for reducing both injury and late-race cramp incidence.

Should I take electrolyte capsules during a marathon?

Electrolyte intake is reasonable for marathons run in heat, particularly in Indian race conditions. It is not, however, a cramp-prevention guarantee. Aim for 300 to 700 mg of sodium per hour from a combination of sports drinks, gels, and tablets. But pair this with appropriate carbohydrate intake and conservative pacing. Salt without those two will not save you from a cramp caused by fatigue.

Why do my calves cramp specifically at mile 20 and not earlier?

Most marathon training peaks at long runs of 32 to 35 km. Mile 20 is approximately kilometre 32. Beyond that point you're running on muscles that have not been conditioned in training. Combined with depleted carbohydrate stores and accumulated impact load, the calf is the first muscle to hit a neuromuscular failure point. Extending your specific endurance work past 32 km in the last weeks of training is the most direct fix.

Can pacing alone prevent calf cramps?

Often, yes. Among the most replicable predictors of late-race cramping is starting faster than goal pace. A flat or slightly negative split — running the second half as fast as or faster than the first — dramatically reduces cramp rates. Conservative early pacing, combined with adequate fuelling and calf-specific strength work, addresses the dominant causes of mile-20 cramping more reliably than any single hydration or supplement strategy.