Running cramps are sudden, painful tightenings of a muscle such as the calf, hamstring or foot, and they are most often linked to muscle fatigue, running harder or longer than your fitness allows, heat and heavy sweating. When one strikes, stop, gently stretch the muscle, walk it out, sip fluid and restart slowly. To prevent them, build mileage gradually, pace yourself, warm up, stay hydrated, eat enough and strengthen your legs. Cramps are different from side stitches, which are pain under the ribs.
Muscle cramps vs side stitch
| Muscle cramp | Side stitch | |
|---|---|---|
| Where | Calf, hamstring, quad or foot | Under the ribs, usually on one side |
| Feels like | Sudden hard, tight knot | Sharp or stabbing pain |
| Typical cause | Fatigue and overload | Irritation of the lining around the abdomen |
| What helps | Stretch and walk | Slow down, deep belly breaths |
Common causes of running cramps
- Muscle fatigue. Going beyond what your muscles are trained for is the most consistent trigger.
- Too fast, too early. Starting hard in a race or long run.
- Heat and sweat loss. Heavy sweating can contribute, though the role of salt is debated.
- Low fuel. Running long without enough carbohydrate.
- Poor warm-up or cold muscles.
- Tight or weak muscles.
- Sudden changes. New hills, shoes or speed work.
What to do when a cramp hits
- Stop and stand or sit. Don't run on a cramping muscle.
- Stretch gently. For a calf cramp, pull your toes toward your shin or press your heel down; for a hamstring, straighten your leg and lean forward; for a quad, pull the heel to your glute.
- Massage lightly and walk for a minute or two.
- Sip fluids. Water, or a drink with electrolytes if you sweat heavily.
- Restart slowly. Reduce the pace and see how the muscle feels.
How to prevent cramps
- Train to the distance. Build long runs gradually so your muscles are ready.
- Pace sensibly. Start slower than you think and finish strong.
- Warm up. Five minutes of easy movement before harder efforts.
- Hydrate through the day. Not just before runs.
- Eat enough carbohydrate. For runs over 75 to 90 minutes, practice taking gels, chews or a sports drink.
- Add strength training. Calf raises, squats and lunges make legs resilient.
- Replace worn shoes and be careful with sudden changes.
Electrolytes and cramps
Sweat contains sodium and other electrolytes, and replacing them is helpful in long, hot or very sweaty runs. But research shows cramps are not simply caused by salt loss, and many cramp-prone runners get relief mostly from better pacing and conditioning. If you sweat a lot and notice white salt marks on clothes, consider a drink with sodium or salty snacks on long runs.
Night-time and after-run cramps
Cramps in the hours after a hard run are common. Stretch gently, drink water, eat a balanced meal and make sure your next run is easy. If cramps happen often at night, mention it to your doctor, since some medications and health conditions can contribute.
Race-day plan
| Stage | What to do |
|---|---|
| Before | Familiar meal, steady fluids, easy warm-up |
| Early race | Start slower than goal pace |
| Mid race | Take fuel and fluids as you practiced |
| Late race | Shorten stride if legs feel tight; keep form relaxed |
Fueling for long runs in detail
Practice your fueling plan before race day. For runs beyond 75 minutes, aim for roughly 30 to 60 grams of carbohydrate an hour from sources like gels, chews, bananas or a sports drink, starting early and repeating regularly. Sip water with gels. Experiment in training to learn what your stomach tolerates, since fueling mistakes can bring on both cramps and stomach trouble.
Strength work that helps
Cramp-prone runners often benefit from simple lower-body strength training twice a week: calf raises, squats, lunges, hamstring bridges and step-ups. Stronger muscles tire later, and fatigue is the most reliable cramp trigger. Include a few gentle calf and hamstring stretches after runs if you enjoy them.
Common mistakes
- Starting a race too fast.
- Trying new fuel or shoes on race day.
- Skipping strength work.
- Pushing through a cramping muscle.
- Relying on salt alone while ignoring pacing.
When to see a doctor
If you have a health condition, have been inactive for a long time or feel unsure, check with your doctor before changing your training. Stop and get medical help promptly if you have chest pain, unusual breathlessness, dizziness or fainting. Pain that is sharp, gets worse as you run, makes you limp or lasts more than a few days is a reason to rest and get it assessed.
Train the legs, pace the run
Most cramps ease with better preparation and pacing. If you'd like a plan that raises your distance gradually and adapts after every run, Flux Run can create it for you.
Frequently asked questions
What causes cramps while running?
Muscle fatigue, going harder than your fitness, heat and sweat loss, and sometimes low fuel or poor warm-up.
What should I do when a muscle cramps?
Stop, gently stretch the muscle, walk, sip fluid and restart slowly.
Do electrolytes prevent cramps?
They may help if you sweat heavily, but evidence is mixed; fitness and pacing matter more.
Is a side stitch the same as a cramp?
No. A stitch is pain under the ribs; a cramp is a sudden muscle tightening.

