Most muscle spasms ease within 30 seconds to a few minutes if you stop the trigger and gently stretch. The fastest approach is to stop the activity, put the muscle in a lengthened position, and hold a gentle stretch for 20–30 seconds while breathing slowly. If the spasm does not release after two or three attempts, move on to heat or cold and give it 15–20 minutes.
Which Method to Use for Your Spasm
Use this quick decision list to pick the right first move. The goal is to match the method to the situation, not to try everything at once.
- Sudden cramp during or right after exercise (calf, foot, hamstring): stop and stretch the muscle immediately. This is the fastest route for exercise-associated cramps.
- Spasm in the neck or upper back from sitting or stress: apply moist heat for 15–20 minutes, then do slow range-of-motion movements.
- Spasm after a strain or with swelling: use cold, not heat, for the first 48 hours. Wrap an ice pack in a thin towel and apply for 15–20 minutes every 2–3 hours.
- Recurring night-time leg cramps: stretch the calf before bed and keep the covers loose so the foot is not pointed down.
- Spasm that comes with weakness, numbness, or loss of bladder or bowel control: seek medical care right away. Do not try to stretch through it.
How to Stop a Calf or Foot Cramp in Under a Minute
This is the most common spasm and the one that responds fastest to stretching. The steps below take about 30–60 seconds total.
- Stop what you are doing and sit or stand safely. If you are driving, pull over first.
- Straighten the affected leg and pull your toes toward your shin with your hand or a towel. Keep the knee straight.
- Hold the stretch at a mild-to-moderate pull for 20–30 seconds. Do not bounce.
- Breathe out slowly through the stretch. Repeat the stretch once more if the muscle still feels tight.
- Stand and put weight on the leg for 10–15 seconds to confirm the spasm has released before you resume activity.
For a foot cramp, sit down and press the ball of the foot against the floor while keeping the heel down, or pull the toes up toward the shin with your hand. Hold 20–30 seconds.
What to Do When Stretching Alone Does Not Release It
If the muscle is still knotted after two stretch attempts, add heat or cold depending on the cause. Use moist heat—a warm towel or a heating pad on its lowest setting—for 15–20 minutes. Never fall asleep on a heating pad. For a spasm with swelling or after a sudden strain, use an ice pack wrapped in a towel for 15–20 minutes instead.
Gentle massage can help between heat sessions. Press into the muscle with a flat hand or thumb and move slowly along the length of the muscle for 1–2 minutes. Stop if the area is sharply painful.
For a neck or upper-back spasm, sit with a warm pack across the shoulders for 15 minutes, then turn your head slowly left and right 5 times each way. Do not force the range.
How Long a Muscle Spasm Lasts and When to Get Help
A typical cramp lasts from a few seconds to about 15 minutes. A spasm that continues for more than an hour, or that keeps returning several times a day, needs a medical review. Seek urgent care if the spasm comes with swelling, redness, warmth, or a fever, or if you cannot bear weight on the limb.
For a charley horse in the calf, most people get relief within 1–2 minutes of stretching. If the muscle remains tight for more than 10 minutes after two stretch attempts, apply heat for 15 minutes and try again.
Night-time leg cramps often respond to a 30-second calf stretch done just before bed. Stand facing a wall, step one foot back, keep the back heel down, and lean forward until you feel a stretch in the calf. Hold 30 seconds on each leg.
Worked Example: A Runner With a Sudden Calf Spasm
A runner feels a sharp knot in the right calf at the 2-mile mark. Here is how the steps above apply with real timings.
- Stop running and walk to the side of the path. Sit on a bench or the ground.
- Straighten the right leg and loop a towel around the ball of the foot. Pull the toes toward the shin until a moderate stretch is felt—about 20 seconds in.
- Hold for 30 seconds, breathing out slowly. Release for 10 seconds.
- Repeat the stretch once for another 30 seconds. Total stretch time: 60 seconds.
- Stand and walk 20 steps. If the calf feels normal, resume at an easy pace. If it still feels tight, apply a cold pack for 15 minutes before walking again.
If the same calf cramps again within the same run, stop for the day and use heat later. Repeated cramping in the same muscle during one session is a sign to rest it.
Preventing the Next Spasm
Most exercise-related cramps are linked to fatigue or dehydration, so the practical steps are to warm up for 5–10 minutes before hard activity and to drink water regularly during long efforts. For night cramps, stretch the calves for 30 seconds each before bed and avoid sleeping with the toes pointed.
If cramps happen often, review medications and health conditions with a doctor rather than guessing at supplements. Do not take salt tablets or potassium without medical advice.
Safety When Using Heat or Cold
Never apply heat or ice directly to bare skin. Wrap the pack in a thin towel and check the skin after 5 minutes. Do not use heat on an area that is swollen, red, or hot to the touch, and do not use ice for more than 20 minutes at a time. People with diabetes or poor circulation should check with a doctor before using heat or cold on the feet.