How to Relieve Leg Cramps at Night: Creams, Stretches, and Other Remedies

Night leg cramps are relieved fastest by stretching the calf and flexing the foot upward, while prevention leans on pre-bed stretching, hydration, and loosening the sheets.

A charley horse at 3 a.m. has a specific fix, and it isn’t the painkiller in your nightstand drawer. The cramp itself responds to stretching and movement within seconds; soreness afterward is a separate problem with a separate answer.

Most nighttime leg cramps have no known cause. Mayo Clinic links them generally to tired muscles and nerve issues, which is why the fixes below focus on the muscle itself rather than a single underlying disease.

What Actually Stops a Cramp While It’s Happening?

Stretch the leg and pull the foot up toward your face — that single move ends most active cramps. Everything else on this list is a backup for when the first move isn’t enough.

The NHS and Mayo Clinic both put calf stretching first. From there, the practical options are:

  • Flex and hold. Straighten the leg, then pull the toes and foot up toward your head until the calf releases. Most cramps let go in under a minute.
  • Stand and bear weight. Getting up and putting weight on the cramped leg often settles it, per the NHS.
  • Walk or shake the leg. A few steps or a gentle shake restores circulation to the muscle.
  • Massage the muscle. Mayo Clinic suggests massaging with ice to calm the knot.
  • Heat or cold. A hot shower, warm bath, or ice pack both work — pick whichever feels better on the spot.

Here’s the mistake worth avoiding: reaching for ibuprofen or paracetamol mid-cramp. The NHS is clear that these ease soreness after the cramp, not during it, because they act too slowly to help while the muscle is locked.

Remedy When It Helps How Fast
Calf stretch, foot flexed up Active cramp Seconds
Standing with weight on the leg Active cramp Seconds
Walking or shaking the leg Active cramp Seconds
Massage, with or without ice Active cramp and lingering tightness Under a minute
Hot shower or warm bath Active cramp, tight calf Minutes
Ibuprofen or paracetamol Soreness the next morning Too slow for the cramp itself
Topical cream or rub Post-cramp soreness, bedtime tightness Minutes

How Do You Stop Cramps From Coming Back?

Stretching your calves right before bed is the single most reliable prevention step, paired with drinking enough fluids during the day. The NHS recommends a specific routine that takes five minutes.

Stand facing a wall, lean forward until you feel the stretch in both calves, hold for 2–3 seconds, and repeat for five minutes. Do that three times a day, with the last round just before you get into bed. That last session is the one that matters most for nighttime cramps.

The rest of the prevention list is small but real:

  • Hydrate. Drink plenty of fluids through the day, and limit alcohol and caffeine, both of which Mayo Clinic flags as contributors.
  • Loosen the sheets. Covers pulled tight at the foot of the bed hold your toes pointed down, which is exactly the position that triggers a calf cramp. Untuck them.
  • Try a stationary bike. A few minutes of easy pedaling before bed warms and loosens the calf muscles.

Creams and topical rubs won’t stop an active cramp, but they’re useful for the tight, achy feeling that lingers afterward and for calves that feel primed to seize at bedtime. If you want to compare specific options, this roundup of the best cream for leg cramps at night covers what’s actually worth keeping on the nightstand.

If cramps keep waking you from sleep night after night, it’s worth a doctor’s visit. Mayo Clinic notes a clinician may prescribe medicine to relax muscles or help with sleep. Quinine tablets exist as an option, but the NHS says they’re only considered when exercise hasn’t helped — they are not a routine treatment for nocturnal leg cramps.

FAQs

Should I take a painkiller when a cramp wakes me up?

No. Pain relievers like ibuprofen or paracetamol act too slowly to interrupt a cramp that’s already happening, so they won’t give you the relief you’re reaching for at 3 a.m. They’re better saved for the soreness that lingers the next morning. For the cramp itself, stretch, stand, or massage the muscle.

Why do my calves cramp more when the sheets are tucked in tight?

Tight covers at the foot of the bed hold your toes pointed downward, which shortens the calf muscle and leaves it in the exact position that provokes a cramp overnight. Loosening the bedding at the foot of the bed lets your feet rest in a neutral position and is one of the simplest prevention steps Mayo Clinic recommends.

Do topical creams actually help, or are they a waste?

They won’t end an active cramp the way stretching will, so don’t expect that. Where they earn their place is the lingering tightness after a cramp and the achy, pre-cramp feeling some people get at bedtime. A rub can relax the muscle enough to let you settle, which is why many people keep one within arm’s reach of the bed.

References & Sources

  • Mayo Clinic. “Night leg cramps.” Supports relief methods, prevention steps, causes, and prescription options.
  • NHS. “Leg cramps.” Supports the stretching routine, weight-bearing relief, painkiller timing, and quinine guidance.
  • MedlinePlus. “Muscle Cramps.” Supports pre-bed stretching and treating cramps by cause, such as dehydration.

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.