Running Cramps: Why They Happen and How Nutrition Stops Them
That sudden, sharp pain in your calf or hamstring is not just bad luck. Learn the three real causes of running cramps and the nutrition fixes that actually prevent them.
Quick Answer
Running cramps are caused by three factors: electrolyte imbalance (especially sodium depletion), dehydration, and neuromuscular fatigue. The most effective prevention is getting 500-800mg of sodium per hour during long runs, staying hydrated (400-700ml/hour), and fueling with carbs to delay neuromuscular fatigue. Magnesium and potassium supplements are less effective than sodium for most runners.
It happens fast. One minute you're running fine, the next your calf seizes up like someone jabbed a knife into your muscle. You stop, you stretch, you massage it, and eventually it releases — but your pace is shot and your confidence is gone.
Running cramps are one of the most frustrating problems in endurance sport. They feel random, but they are not. They have specific causes — and most of them are fixable with nutrition.
The 3 Real Causes of Running Cramps
1. Electrolyte Imbalance (Especially Sodium)
This is the #1 nutritional cause of cramping. You lose 400–1,500mg of sodium per liter of sweat. On a 2-hour run in warm weather, you might lose 1,000–3,000mg of sodium. If you're only drinking water, your blood sodium levels drop, and your muscles start misfiring.
Sodium is critical because it helps maintain the electrical signals that control muscle contraction and relaxation. When sodium is depleted, the signal gets disrupted — your muscle contracts but cannot properly relax, and you cramp.
2. Dehydration
Losing more than 2% of your body weight in fluid increases cramp risk significantly. Dehydration concentrates electrolytes in the wrong ratios and reduces blood volume, meaning less oxygen and fewer nutrients reach your muscles.
3. Neuromuscular Fatigue
When your muscles run low on glycogen (stored carbohydrate), they fatigue. Fatigued muscles lose their ability to regulate the contraction-relaxation cycle, leading to sustained contractions — cramps. This is why cramps often happen late in long runs when glycogen is depleted.
What Does NOT Cause Cramps (Despite What You've Heard)
- Lactic acid — lactate clears within minutes after exercise. It does not cause cramping.
- Magnesium deficiency — while magnesium is important, most cramping during runs is sodium-related. Magnesium supplements have not been shown to prevent exercise-associated cramps in well-fed athletes.
- Potassium deficiency (banana theory) — potassium loss in sweat is relatively small (150–250mg per liter). Sodium loss is 3–6x higher. Eating a banana will not fix a sodium deficit.
- Not stretching enough — stretching can relieve a cramp, but lack of stretching does not cause it.
The Nutrition Protocol to Prevent Cramps
1. Get Enough Sodium
| Feature | Sweat Level | Sodium Target | How to Get It |
|---|---|---|---|
| Light sweater / cool weather | 300–500mg/hour | 1 electrolyte drink or salted snack | |
| Moderate sweater / normal conditions | 500–700mg/hour | Electrolyte drink + 1 salt tab or salty food | |
| Heavy sweater / hot weather | 700–1,000mg/hour | Electrolyte drink + salt tabs + salted foods |
2. Stay Hydrated
- Before the run: 500–700ml with sodium in the 2 hours before starting.
- During the run: 400–700ml/hour — drink to thirst, but do not skip it.
- After the run: replace 150% of fluid lost (weigh yourself before and after to measure).
3. Fuel With Carbs to Delay Fatigue
Since glycogen depletion contributes to neuromuscular fatigue, staying on top of carb intake during long runs directly reduces cramp risk.
- Runs over 60 minutes: consume 30–60g carbs/hour.
- Start fueling at 20–30 minutes in — do not wait until you feel tired.
- Use dual-source carbs (glucose + fructose) for runs over 2 hours.
Quick Fix: What to Do When You Cramp Mid-Run
- Stop and gently stretch the cramped muscle — do not force it.
- Drink an electrolyte solution immediately (not plain water).
- Take a gel if you have not been fueling — low blood sugar worsens cramps.
- Salt tab or salty snack if available.
- Walk for 2–3 minutes before resuming running at an easier pace.
How MAVR Helps Prevent Cramps
- Calculates sodium targets based on your sweat rate and weather conditions
- Adjusts hydration recommendations per session
- Ensures your carb fueling plan matches the session duration
- Accounts for hot/humid conditions with increased electrolyte recommendations
MAVR calculates your sodium, hydration, and carb targets to keep cramps away on every long run.
Get Your Cramp-Proof Fueling PlanFrequently Asked Questions
Does eating a banana before running prevent cramps?
Not really. The "banana prevents cramps" idea comes from the potassium theory, but running cramps are primarily caused by sodium depletion, not potassium. A banana has only about 400mg of potassium and almost no sodium. You would be better off having a salted pretzel or electrolyte drink before your run.
Why do I always cramp in the same muscle?
Repeated cramping in the same muscle (usually calf or hamstring) often means that muscle is working harder than others — possibly due to biomechanics, muscle imbalances, or overcompensation from a previous injury. The nutritional prevention is the same, but you may also benefit from strength training and mobility work on that specific muscle.
Should I take salt tablets for running cramps?
Salt tablets can help if you are a heavy sweater or prone to cramping, but they should be taken with plenty of water. A better approach for most runners is an electrolyte drink mix that provides sodium along with fluid. If you do use salt tabs, 1–2 per hour (providing 500–1,000mg sodium) is typical for long runs in warm conditions.
Why do I only cramp during races and not training?
Race intensity is higher than training, which means more sweating, faster glycogen depletion, and greater neuromuscular fatigue. You are also less likely to drink and fuel consistently during a race because of adrenaline and focus on performance. Practice your race-day fueling and hydration plan in training.