The first 20 miles of a marathon can feel controlled, then your calves suddenly tighten, twitch, or lock during the final 10K. If you are wondering about calf cramps after mile 20 in a marathon, the most useful explanation is usually not one missing mineral. Late-race cramping tends to result from a combination of muscular fatigue, pacing, terrain, heat, hydration and how specifically you trained for the final miles.
The good news is that this pattern gives you something practical to work on. You can diagnose when the cramps begin, identify what changes late in the race, and train your calves and running form to tolerate that specific demand.
Quick Answer
Calf cramps after mile 20 usually happen because the calf muscles are reaching their fatigue limit. As they tire, they may struggle to keep producing force and controlling ankle movement, especially when pace, hills, heat, or altered form increase the load.
The strongest prevention plan is to combine four actions:
- Start the marathon at a pace you can hold late, rather than banking time early.
- Practice carbohydrate and fluid intake during long runs.
- Build calf, soleus, hamstring, glute, and single-leg strength.
- Rehearse the final 10K through long runs with controlled marathon-pace or fast-finish sections.
Stretching may temporarily ease an active cramp, but it does not fix the cause by itself. If cramps are severe, recurrent in daily life, associated with weakness or swelling, or accompanied by an injury, seek advice from a qualified healthcare professional.
Why This Happens
Fatigue changes how the calf works
Your calf complex includes the gastrocnemius and soleus, which help propel you forward and control the ankle as your foot meets the ground. During a marathon, they perform thousands of repeated contractions. Near mile 20, the issue is often not that the muscle suddenly lacks one nutrient; it is that the muscle and nervous system are struggling to maintain the same output.
A fatigued runner may recruit the calf more aggressively to compensate for tired hips, glutes, or hamstrings. The ankle may also become stiffer, or the runner may push off harder to preserve pace. That extra work can make a previously manageable calf load intolerable.
Early pacing creates a late-race bill
Running even slightly faster than your realistic marathon effort can drain carbohydrate stores and accelerate muscular fatigue. The pace may feel comfortable while fresh, but the cost accumulates. A fast opening 10K, surging on hills, or repeatedly passing other runners can leave the calves with less reserve for the final miles.
A useful rule is to judge your pacing by effort and control, not only by average speed. If you cannot speak in short phrases early in the race, or if you are already forcing your stride before halfway, the pace may be too ambitious for that day.
Hills and course changes increase ankle demand
Uphills ask the calves to contribute more propulsion. Downhills require them to absorb braking forces. Cambered roads, sharp turns, uneven surfaces, and repeated changes in gradient can also shift load from one part of the lower leg to another.
A course that looks flat overall may still be demanding if it includes frequent short climbs or a long downhill late in the race. Your training should reflect the course rather than relying only on total elevation gain.
Heat, sweat, and fueling can compound fatigue
Running in heat raises cardiovascular and perceived effort. A pace that is manageable in cool weather may become too demanding when temperatures rise. Sweating also causes fluid and electrolyte losses, although the exact effect varies widely between runners.
Carbohydrate intake matters because a marathon is a long, high-output event. Taking fuel only after you feel empty is usually too late. Poor fueling may not directly cause every cramp, but it can increase fatigue and make a cramp more likely when combined with aggressive pacing.
Your training may not include enough late-race work
Many runners complete long runs at one steady, easy pace, then race the marathon much faster. That builds endurance, but it may not fully prepare the calves for holding marathon effort after two or three hours of running.
The final 10K requires fatigue resistance, not just the ability to cover the distance. Long runs with a controlled faster finish, marathon-pace blocks, hills, and regular calf strengthening can make that demand more familiar.
Step-by-Step Method
1. Record exactly when and where the cramp starts
After each long run and race, write down:
- The mile or time when symptoms began.
- Which calf was affected and whether the cramp was sudden or gradual.
- Your pace during the previous 30 minutes.
- Weather, hills, road surface, and footwear.
- What you ate and drank, including timing.
- Whether you changed your stride, cadence, or effort before the cramp.
Patterns matter. A cramp that appears only after a downhill section suggests a different training priority from one that begins after an aggressive first half.
2. Set a conservative opening pace
Use your goal pace as a ceiling, not a target you must exceed. The first 5 to 10 miles should feel controlled enough that you could slow down briefly without panic. Avoid racing the course, surging to catch a group, or trying to recover seconds in the first half.
If conditions are hot, windy, or hilly, adjust effort rather than forcing your planned pace. A slightly slower first half can protect your legs and produce a faster final 10K than an ambitious opening followed by cramps.
3. Practice fueling before race day
Test your chosen carbohydrate products during long runs. A common endurance approach is to take carbohydrates at regular intervals from early in the run, but individual needs differ. The right amount depends on body size, pace, duration, tolerance, and product concentration.
Do not introduce a new gel, drink, or supplement on marathon morning. Also avoid treating salt products as a guaranteed cure for cramps. They may have a place in a broader hydration plan, but more is not automatically better.
4. Build calf strength twice per week
Use a gradual routine that trains both straight-knee and bent-knee calf work:
- Straight-leg calf raises: 3 sets of 8 to 15 repetitions.
- Bent-knee soleus raises: 3 sets of 10 to 20 repetitions.
- Single-leg calf raises: 2 to 3 sets on each side.
- Slow lowering from the top position: 2 sets of 6 to 10 repetitions.
- Step-ups or split squats: 2 to 3 sets of 8 to 12 repetitions.
Use a load that makes the final repetitions challenging without damaging your running form. Progress by adding repetitions, range of motion, or resistance gradually. Leave enough recovery between hard strength sessions and demanding runs.
5. Train the final 10K specifically
Every long run does not need to be a fast-finish workout. Alternating easy long runs with targeted sessions is more sustainable. Examples include:
- A long run with the final 20 to 40 minutes at controlled marathon effort.
- Two or three marathon-pace blocks separated by easy running.
- A hilly long run that matches the race profile.
- An easy long run followed by short, relaxed strides on another day.
The faster sections should be controlled, not a race effort. The purpose is to teach your legs to maintain efficient mechanics while tired.
6. Check shoes, socks, and running mechanics
Worn shoes, an unstable fit, or socks that bunch can change how you load the foot and ankle. Your running socks should fit securely without restricting the calf or leaving seams that cause irritation. Race shoes should be tested on long runs, not saved for race day.
Watch for excessive toe gripping, a sudden increase in forefoot running, or a stride that becomes much longer and harder late in runs. Do not force a new cadence or dramatic technique change during marathon preparation. Instead, let strength, pacing, and gradual practice improve efficiency.
7. Know what to do when a cramp starts
Reduce pace immediately and stop trying to run through a fully locked muscle. Gently stretch the affected calf, breathe slowly, and walk until the contraction releases. Light massage may help comfort. Once the muscle relaxes, resume at an easier effort and reassess rather than immediately returning to goal pace.
If the cramp repeatedly returns, the sensible choice is to slow down or stop. Protecting the muscle is more important than forcing a finishing time.
Common Mistakes
Mistake 1: Blaming electrolytes for every cramp
Electrolyte loss can matter, especially in heat or for heavy sweaters, but late-race cramping is often multifactorial. Do not respond by taking large amounts of salt without a plan. Review pacing, fatigue, fueling, weather, and training first.
Mistake 2: Stretching hard and ignoring strength
Aggressive stretching may irritate an already fatigued muscle and does not build its ability to produce force repeatedly. Use gentle stretching for short-term relief, then address the underlying issue with progressive strength and better load management.
Mistake 3: Making long runs too easy or too fast
Only easy long runs may not prepare you for the final 10K. But turning every long run into a race can create excessive fatigue and injury risk. Use selected fast finishes and marathon-pace blocks while keeping recovery genuinely easy.
Mistake 4: Starting faster because the legs feel fresh
Fresh legs at mile 3 are not proof that your planned pace is too slow. The marathon tests your ability to preserve energy and mechanics. Hold back early enough to keep your stride controlled after mile 20.
Mistake 5: Changing shoes or socks on race morning
New footwear can alter pressure and ankle movement, while poorly fitting socks can create discomfort that changes your stride. Test the complete race setup during long runs, including shoes, socks, fueling belt, and hydration plan.
Checklist or Decision Table
| Pattern you notice | Likely training or race factor | First adjustment |
|---|---|---|
| Cramps begin after a fast first half | Excessive early effort | Slow the opening miles and cap surges |
| Cramps appear after hills or downhills | Course-specific calf loading | Add hills and downhill exposure gradually |
| Cramps occur only in hot races | Heat-related fatigue or fluid loss | Adjust effort and rehearse a hydration plan |
| Cramps follow missed gels or late fueling | Rising overall fatigue | Start tested carbohydrate intake early |
| One calf always cramps first | Asymmetry, weakness, or old injury | Review strength and gait with a professional |
| Cramps happen near the same time in every long run | Insufficient fatigue resistance | Add controlled late-run pace work |
| Foot discomfort comes before the cramp | Shoe or sock fit may alter mechanics | Test a better-fitting setup on long runs |
Before your next marathon, confirm that you can answer yes to these questions:
- Have I practiced my opening pace under similar conditions?
- Have I tested my carbohydrate and fluid routine?
- Can I perform straight-knee and bent-knee calf raises comfortably?
- Have I included some controlled running late in long sessions?
- Have I trained on hills or surfaces similar to the course?
- Have I tested my shoes and athletic socks for the full race duration?
When This Advice Does Not Apply
Not every calf symptom is a normal marathon fatigue problem. Stop running and seek medical assessment for significant swelling, bruising, sudden sharp pain, warmth or redness in one leg, weakness, numbness, chest pain, or shortness of breath. Those symptoms need more than a pacing adjustment.
You should also get professional guidance if cramps happen frequently at rest, wake you at night, continue for days after a run, or keep returning despite sensible changes to training and race execution. A sports medicine clinician or physical therapist can assess strength, mobility, running mechanics, and injury history.
This advice also does not replace individualized planning for medical conditions, medication effects, or unusual sweat and fluid losses. Hydration needs vary, and forcing excessive water can be dangerous. Use a plan that matches your body, the weather, and the race support available.
Realistic Example
Consider a runner who trains consistently and reaches mile 20 close to goal pace. The course has several rolling hills, and the runner takes the first half slightly faster than planned because the effort feels easy. They use a gel only when tired at mile 18, then develop repeated calf cramps on a downhill section around mile 22.
The likely solution is not simply more stretching. For the next training cycle, the runner could control the opening pace, take carbohydrates at planned intervals, add bent-knee and single-leg calf strength, and include several long runs with a controlled final 30 minutes. They could also practice the course shoes and socks on similar hills. If the cramps still recur, a professional assessment would help check for asymmetry or an underlying injury.
Final Takeaway
Calf cramps after mile 20 are usually a late-race fatigue problem made worse by pacing, hills, heat, fueling gaps, or insufficient marathon-specific preparation. The best decision rule is simple: protect your early effort, practice your race fueling, strengthen the entire lower body, and train some controlled running when tired.
When a cramp begins, slow down instead of forcing the pace. Track the pattern across long runs, then change the factor most closely linked to the symptoms. Persistent, severe, or unusual symptoms deserve professional evaluation.
FAQs
Why do my calves cramp at mile 20 even when I drink enough water?
Drinking enough water does not rule out muscular fatigue as the main trigger. By mile 20, repeated calf contractions, an ambitious pace, hills, heat, or altered running mechanics may have pushed the muscle beyond its current tolerance. Fluid and electrolyte losses can contribute, but they are only part of the picture. Review your early pacing, carbohydrate intake, course demands, and calf strength before assuming you need more water or salt.
Can low electrolytes cause calf cramps late in a marathon?
Low electrolytes can contribute to cramping, particularly during long, hot races with substantial sweat loss, but they are not the only explanation. Many late-race cramps are linked to neuromuscular fatigue and pacing. Use a tested hydration and electrolyte plan based on weather, sweat rate, and race duration rather than taking large doses automatically. If cramping continues in different conditions, examine training and running mechanics as well.
Should I stretch a cramped calf during a marathon?
Yes, gentle stretching can help release an active calf cramp, but do not force the muscle aggressively. Stop or walk, keep the stretch controlled, and wait for the contraction to ease before deciding whether to resume. If you return to running, use an easier pace first. Repeated cramps are a signal to reduce effort or stop, not a challenge to push through at goal pace.
How should I train my calves for the last 10K of a marathon?
Train them with progressive straight-knee and bent-knee calf raises, single-leg work, and controlled long-run finishes. Include marathon-pace blocks or a moderate final 20 to 40 minutes in selected long runs, but do not make every long run hard. Increase strength and late-run intensity gradually, allowing recovery between sessions. The goal is to improve fatigue resistance while keeping your overall marathon training sustainable.
Do compression socks prevent calf cramps after mile 20?
Compression socks may improve comfort or reduce a sense of lower-leg heaviness for some runners, but they are not a reliable standalone prevention method for marathon cramps. They cannot compensate for starting too fast, inadequate training, poor fueling, or an unsuitable shoe fit. If you use compression socks, test them during long runs and choose a size that feels supportive without numbness, pinching, or restricted movement.
When should I see a professional about marathon calf cramps?
Seek professional help when cramps are severe, repeatedly return despite sensible training changes, occur during rest, or are accompanied by swelling, weakness, numbness, redness, warmth, sharp pain, chest pain, or shortness of breath. A sports medicine clinician or physical therapist can assess injury, strength differences, mobility, and running mechanics. Do not assume every one-sided or persistent calf symptom is ordinary marathon fatigue.