Skip to content
Grip & Gait

Symptoms

Leg Cramps and Night Cramps

Nothing you can buy will stop a cramp faster than standing up and pulling your toes toward your shin. Tools belong to the other half of the problem - raising the threshold so the cramps come less often - and on that half a 2026 randomized trial found something genuinely useful. Here is what to do at 3am, and what to buy for the weeks after.

By Stephen V.Published

Disclosure:Grip & Gait earns a commission when you buy through links on this page, at no extra cost to you. It never changes what we recommend or the order we rank things in — here is exactly how we’re funded.

At 3am: the thirty-second answer

A cramp is a sudden, involuntary, sustained contraction. The fastest way out of one is to lengthen the muscle that is contracting, because stretch triggers the reflex that tells it to let go.

Calf cramp:stand up, put weight on the leg, and pull your toes up toward your shin — or lean against a wall with the heel down and the knee straight. If you cannot stand, sit up, loop a strap or a towel around the ball of your foot and pull.

Hamstring cramp:straighten the knee and bring the leg up — heel on the bed or on a chair, lean gently forward from the hips.

Foot or toe cramp: stand and press the ball of the foot into the floor, or pull the toes back by hand. Then walk on it for a minute.

Hold for twenty to thirty seconds past the point the spasm releases, then walk around briefly. After the cramp has gone, the muscle is often tender for a day or two, and that soreness is the part a tool helps with. Rubbing or rolling the muscle during a full cramp mostly hurts; get the length first, then use anything else.

Why they happen, honestly

The cause of ordinary nocturnal leg cramps is not settled. The two long-standing explanations are electrolyte and fluid shifts, and a neuromuscular theory in which a muscle held in a shortened position — a foot pointed under a duvet, for instance — becomes prone to spontaneous firing. The practical consequence is that there is no single fix to buy, and anyone selling you one is overclaiming.

What the research can tell you is a useful mechanical fact: a cramp can be triggered experimentally by electrical stimulation, and the frequency at which it triggers — the cramp threshold frequency — is measurable with surface EMG. That turns “do I cramp easily?” into a number, and a number can be moved.

A 2026 randomized controlled trial did exactly that. Twenty adults with a history of nocturnal leg cramps and no identifiable underlying disorder were randomized to either neuromuscular electrical stimulation applied to both calves, or lower-extremity static stretching. Both groups trained three times a week, 20 minutes a session, for four weeks. Both improved. But the stimulation group improved significantly more on both outcomes: cramp threshold frequency rose by 9.20 Hz against 1.80 Hz for stretching (p = 0.007), and pain on a visual analogue scale fell by 5.20 points against 1.60.

That is a small trial in healthy adults and it should be read as such — twenty people, four weeks, one muscle group. But it is a randomized comparison against the standard advice, and it came out in favor of stimulation. For a problem with no good pharmacological answer and a long history of being told to stretch more, that is worth knowing.

Which class of tool fits leg cramps

Which class of tool fits leg and night cramps, and which does not
Tool classCostWhy it does or doesn’t work hereVerdict
Stretching / a strapBudgetThe only thing that stops a cramp in progress, and the comparator the trial above beat rather than disproved - the stretching group still improved. Free, or the price of a strap.Where it fails: Does nothing for the soreness that lingers for a day or two after a bad one.Start here
TENS / EMS unitBudgetThe one tool class with a randomized trial on this exact problem: stimulation of both calves, three times a week for four weeks, raised the EMG-measured cramp threshold more than stretching did.Where it fails: Not a rescue device. Do not strap electrodes to a calf that is cramping right now, and never with a pacemaker or implanted defibrillator.Start here
Foam rollerBudgetGood for the day-after tenderness in a calf or hamstring, and for the general calf tightness that often accompanies frequent crampers.Where it fails: No evidence it changes how often you cramp, and rolling a muscle mid-cramp is unpleasant and unhelpful.Sometimes
Massage gunMid-rangeUseful at a low setting on a calf that is sore the next day, and easy to use seated without getting on the floor.Where it fails: Never during a cramp, never on the Achilles tendon or the bony back of the heel, and not a preventive measure.Sometimes
Heating padBudgetComfortable on a calf that has cramped and will not settle, and the cheapest thing on this page.Where it fails: Purely symptomatic. Not for a calf that is swollen, red or warm to touch - that needs assessment, not heat.Sometimes
Compression bootsMid-rangePeople with cramps often also have heavy, swollen legs, and boots address that feeling.Where it fails: No evidence for cramp frequency, and contraindicated in exactly several of the conditions that cause cramps - clots, severe arterial disease, cellulitis. Get the diagnosis first.Not for this

What we would actually buy

One of these is the preventive tool with the trial behind it; the other two are for the day after. In that order.

The preventive one

Belifu Dual Channel TENS EMS Unit product photo

Belifu Dual Channel TENS EMS Unit

A dual-channel TENS and EMS unit, so you can run stimulation on both calves at once - the arrangement used in the trial. Ships with plenty of pads, which is what a three-times-a-week routine consumes.

$32.99 · View on Amazon

Price as of October 5, 2026. #ad How we’re funded

The 3am one

OPTP Original Stretch Out Strap product photo

OPTP Original Stretch Out Strap

A strap by the bed means you can pull your toes toward your shin sitting up, without having to stand on a leg that has just locked. The cheapest useful thing on this page.

$17.9511% off

$15.95 · View on Amazon

Price as of October 5, 2026. #ad How we’re funded

The day-after one

Amazon Basics High-Density Foam Roller (18 in) product photo

Amazon Basics High-Density Foam Roller (18 in)

A calf that has cramped hard is tender for a day or two. Eighteen inches of dense foam covers both calves and hamstrings, and it will outlast everything else here.

$17.84 · View on Amazon

Price as of October 5, 2026. #ad How we’re funded

How to run the stimulation routine

Mirroring the trial: both calves, three sessions a week, twenty minutes a session, for at least four weeks before you judge it. Two pads on each calf, one toward the top of the muscle below the knee crease and one lower, so the current crosses the belly of the muscle. Intensity to a strong but comfortable sensation; on an EMS mode you will see the muscle contract and relax, and that is expected on that mode, unlike on TENS. Keep it off the Achilles and the back of the knee.

Do this in the evening rather than in the middle of the night. It is a threshold-raising routine, not a rescue. The general operating procedure, including the difference between the pain-modulating and muscle-contracting modes, is in how to use a TENS unit, and the distinction itself is in TENS vs EMS— worth reading here, because this is the one problem on the site where the EMS half is the relevant half.

The unglamorous half

Before any of this: drink enough across the day, do not sleep with the duvet pinning your feet into a pointed position, and if your calves are chronically tight, treat that as its own problem rather than a cramp problem — the routine is in tight calves and shins. Crampers who train should also look at muscle soreness, because a calf that is already fatigued cramps more readily than a fresh one, and at foam rolling shins and calves for the technique. If the cramps are in your feet rather than your calves, foot tools for standing all day covers the overlap, and if they wake you alongside heavy, aching legs, read compression boots for older adults and poor circulation — mostly for the list of things to get checked before buying anything.

Common questions

How do you stop a leg cramp immediately?

Lengthen the muscle that is cramping. For a calf, stand and pull your toes up toward your shin, or lean on a wall with the heel down and the knee straight; if you cannot stand, loop a strap around the ball of the foot and pull. For a hamstring, straighten the knee and raise the leg. For a foot, press the ball of the foot into the floor. Hold twenty to thirty seconds past the release, then walk on it. Massaging a muscle mid-cramp mostly just hurts.

Does electrical stimulation help prevent leg cramps?

A 2026 randomized controlled trial suggests it helps more than stretching does. Twenty adults with a history of nocturnal leg cramps were randomized to neuromuscular electrical stimulation of both calves or to static stretching, three times a week for twenty minutes over four weeks. Both improved; the stimulation group improved significantly more, with the EMG-measured cramp threshold frequency rising 9.20 Hz versus 1.80 Hz and pain falling 5.20 points versus 1.60. It is a small trial, but it is a randomized one against the standard advice.

Should you use a massage gun on a cramp?

Not during one. A cramp is a sustained involuntary contraction and percussion does not release it; a stretch does. Once it has let go and the muscle is just tender, a gun at a low setting on the belly of the calf is reasonable the next day — keeping off the Achilles tendon and the bony back of the heel. A gun is not a preventive measure for cramps and there is no trial saying otherwise.

When should I worry about night cramps?

Get seen if they are new and frequent, if they come with a warm, swollen or discoloured calf (urgently — that needs a clot ruled out), if there is numbness, weakness or muscle wasting, if they started after a new medication such as a diuretic or statin, if your hands cramp too, or if you have kidney, liver, thyroid or circulation problems. Cramping is a known feature of peripheral arterial disease and several metabolic conditions, and those have treatments aimed at the cause rather than the symptom.

Sources

  1. 1.Effects of Neuromuscular Electrical Stimulation on Cramp Threshold Frequency and Pain in Adults with Nocturnal Leg Cramps: An EMG-Based Assessment, Randomized Controlled Trial - Healthcare 2026 (PMC13362486) — 20 adults; CTF +9.20 Hz vs +1.80 Hz and VAS -5.20 vs -1.60 for NMES over stretching
  2. 2.Preventive effect of foam rolling on muscle soreness after exercise: a systematic review and meta-analysis - Journal of Bodywork and Movement Therapies 2024 (PubMed 39593540) — what rolling does for post-exercise soreness, which is the day-after half of this problem
  3. 3.Therabody — Product Safety & Precautions — percussion contraindications, for the day-after gun use