Start with the fastest fix: stop the activity, stretch the cramped muscle gently and hold the stretch for 20–30 seconds while you breathe slowly, then sip about 250 ml (1 cup) of water or an electrolyte drink. A cramp usually eases within a few minutes of stretching. Preventing the next one takes a little more planning: hydration, steady salt intake, a warm-up and a nightly stretching routine of about 5–10 minutes.
Why Do Muscle Cramps Happen?
A cramp is a muscle that contracts hard and won't relax. Most exercise-related cramps come from a mix of fatigue, heavy sweating and fluid loss, especially in heat. The muscle's nerve signals get out of step, and the fibres keep firing.
Other common triggers are less about sweat. A sudden increase in training volume, holding one position for a long time, cold muscles, and some medicines can all set off cramps. Night cramps in the calves and feet are often linked to tired muscles, dehydration or simply lying in a position that shortens the muscle.
Ruling out the cause helps you pick the right fix. Use this table to match what you notice to what usually helps.
| Symptom or situation | Likely cause | What to do |
|---|---|---|
| Cramp after 45+ minutes of hot exercise, salty skin, dark urine | Fluid and salt loss | Drink 400–800 ml per hour of exercise in heat, with electrolytes |
| Cramp in the same muscle at the end of hard sessions | Muscle fatigue | Build volume by about 10% per week; stretch after training |
| Calf or foot cramp at night | Shortened muscle position, low activity | Stretch calves before bed; keep feet warm |
| Cramp with numbness, weakness or swelling | Not a simple cramp | See a doctor before training again |
What Should You Check Before You Start?
Spend two minutes on this checklist so the steps below match your situation.
- Note which muscle cramps and when: during exercise, at night, or after sitting.
- Weigh yourself before and after a typical sweaty session. A drop of about 1 kg (2 lb) means roughly 1 litre of fluid lost.
- Check your urine colour. Pale straw is well hydrated; dark yellow suggests you need more fluid.
- List any medicines you take and ask a pharmacist whether muscle cramps are a known side effect.
- Check that your shoes fit and aren't worn down on one side, which changes how your calf and foot work.
If cramps come with chest pain, severe weakness, or a limb that is swollen, hot or numb, stop and get medical help rather than treating it as an ordinary cramp.
How Do You Stop a Cramp That's Already Started?
Act in the first minute. The aim is to lengthen the muscle slowly and get blood moving again.
- Stop the activity and sit or stand safely, away from traffic or equipment.
- Stretch the muscle in the opposite direction of the cramp. For a calf cramp, straighten the leg and pull the toes toward your shin; hold 20–30 seconds, release for 10 seconds, and repeat 2–3 times.
- Massage the muscle with firm, slow strokes from the middle of the muscle toward the ends for about 1 minute.
- Apply a warm towel or heat pack for 10 minutes if the muscle still feels tight. Skip heat if there is swelling or you can't feel the skin normally.
- Drink 250–500 ml of water or an electrolyte drink over the next 15 minutes, sipping rather than gulping.
- Return to activity only at an easy pace, and stop again if the muscle tightens.
For a night cramp, sit up, plant the foot flat on the floor and lean forward gently until the calf stretches. Hold 30 seconds. Standing and pressing the heel down works the same way.
How Do You Prevent Cramps During Exercise?
Prevention is mostly about matching fluid, salt and training load to the conditions.
- Drink to a schedule, not to thirst alone. Aim for 400–800 ml of fluid per hour of exercise in warm conditions, adjusting for your sweat rate from the weigh-in above.
- Replace some salt. If you sweat heavily or exercise longer than 60–90 minutes, choose a drink with electrolytes or add a pinch of salt to food afterwards. A typical sports drink supplies sodium; check the label.
- Warm up for 5–10 minutes. Easy movement plus dynamic stretches such as leg swings and calf raises raises muscle temperature before hard efforts.
- Increase training gradually. Add no more than about 10% to weekly distance or load, and keep one easier week in every three or four.
- Stretch after training. Hold each calf, hamstring and quad stretch for 30 seconds, twice per side, while the muscle is warm.
- Cool down for 5 minutes with easy walking or cycling to clear the working muscles.
In very hot weather, shift hard sessions to cooler parts of the day and take breaks every 20–30 minutes.
How Long Does It Take to See Fewer Cramps?
Single cramps often ease within 2–5 minutes of stretching, and the muscle may feel tender for a day. For fewer cramps overall, give a routine 2–4 weeks of consistent hydration, stretching and gradual training before judging it. Night cramps can settle faster once a nightly calf stretch becomes a habit.
Keep a simple log for two weeks: date, activity, fluid taken, and whether a cramp occurred. Patterns show up quickly, such as cramps on the second long run of the week or after a salty meal the night before.
If cramps keep returning despite these steps, or they affect your ability to walk or work, see a doctor. Muscle cramps can have causes that need proper assessment, and a clinician can check for those rather than guessing.