Skip to content

Health and Supplements

How to Stop a Charley Horse Quickly: 5 Tips for Beating Midnight Leg Cramps

Digilifetrends Updated 2026-10-26 5 min read

Experts weigh in on whether pickle juice really helps

a woman massaging her leg in bed to get rid of a charley horse fast
Daria Kulkova

It can happen while you’re asleep: a sharp, tightening pain in the calf that jolts you awake and leaves you waiting for relief. If you’ve ever searched for a fast way to stop a charley horse, you’re far from alone. Research in American Family Physician says these sudden muscle spasms affect as many as 60 percent of adults, and they become more common with age. The upside is that a few simple steps may ease the pain within minutes and lower the chance of being startled awake again.

What is a charley horse?

A charley horse is a sudden, involuntary muscle contraction, most often affecting the calf, foot or hamstring. “A cramp is when your muscle tightens suddenly, often causing sharp pain,” says Raj Dasgupta, MD, Chief Medical Advisor for Sleepopolis. “Leg cramps, especially at night, usually happen in the calf or foot and feel like a painful knot or squeezing that can stop you in your tracks.”

Jaclyn Tolentino, DO, lead functional medicine practitioner at Love.Life, says these cramps occur “when nerve signals misfire, causing the muscle to contract and stay tense instead of relaxing.” She adds that women may notice them more often with age “due to hormonal shifts, circulation changes and lower levels of key minerals like magnesium and potassium.”

6 risk factors for a charley horse

According to our experts, common triggers include:

  • Dehydration and electrolyte imbalance. Low levels of magnesium, potassium, sodium and calcium can leave muscles prone to seizing up.
  • Overuse. Long walks, extra time in the garden or chasing grandkids can fatigue muscles and spark a nighttime cramp.
  • Hormonal shifts. Estrogen helps regulate blood flow and electrolyte balance, so dips during menopause may bring on more spasms.
  • Age-related muscle loss. Sarcopenia can make muscles weaker and easier to overtax.
  • Certain medications. Diuretics and statins may deplete key minerals, Dr. Tolentino says.
  • Poor circulation and nerve compression. Prolonged sitting, varicose veins or a pinched nerve can all create conditions for a charley horse, says Zach Smith, DPT, a physical therapist with HIDEF Physical Therapy.

How to get rid of a charley horse fast

When a cramp starts, these simple approaches can help ease it quickly.

Gently stretch the muscle

For a calf cramp, carefully pull your toes upward toward your shin to lengthen the muscle, Smith says. “Standing up and putting weight through the leg and lightly stretching helps to calm a cramp,” he adds. Move slowly, since overstretching can make it worse.

Massage away aches

A gentle rub with your fingers or a foam roller can increase blood flow and loosen the knot, says Brynna Connor, MD, healthcare ambassador at NorthWestPharmacy.com. Dr. Tolentino suggests applying magnesium lotion during the massage for an added calming effect.

Apply heat—or cold

A warm compress can relax tight muscles by improving circulation, while an ice pack may numb sharp pain and reduce inflammation, Smith notes. Dr. Tolentino adds that a warm Epsom salt bath may also soothe spasms.

Sip pickle juice

It may sound strange, but more than a dozen studies suggest that sipping pickle juice can stop a charley horse quickly. “People assume the electrolytes from the sodium help, but by the time they are absorbed, the cramp will likely already be gone,” explains registered dietitian Rhyan Geiger, RDN. “The acetic acid may be the hidden hero here. When it comes into contact with the back of our throat, it calms down nerve cells.”

Karsell Collagen Hair Mask for Deep Conditioning, Keratin Hair Treatment with 4 Hydrolyzed Proteins, Moroccan & Avocado Oils Conditioner for Nourish, Calendula Gentian Extracts Care Dry & Damaged Hair

Deal of the Day

This Deep Conditioning Collagen Hair Mask Has 4.9 Stars and Is 80% Off — Get It for $20! View Deal

Harvard Medical School research found that just half an ounce before bed can reduce nighttime cramping by as much as 46 percent. If you do not have pickle juice, spread a little yellow mustard on a cracker instead. A Methodist University study found it works in a similar way thanks to its acetic acid content.

How to prevent the next one

To help keep charley horses from interrupting your sleep, try these prevention tips:

  • Drink plenty of water. Water, along with an electrolyte-rich drink, can help restore the balance your muscles need, Smith says.
  • Eat for your muscles. Bananas, avocados, leafy greens, nuts, potatoes, oranges, yogurt and salmon provide potassium, magnesium and calcium, the nutrients most closely tied to cramp prevention. For an easy side dish, consider The Little Potato Co.'s microwavable homestyle ranch potatoes.
  • Try drumsticks and spinach for dinner. Dark meat chicken with leafy greens supplies the B-complex vitamins the body needs to help prevent leg cramps in 86 percent of people, according to research in The Journal of Clinical Pharmacology.
  • Do a stair stretch. Let your heels hang off the edge of the bottom stair for 30 seconds, then rise onto your toes for two seconds. Four rounds reduced nighttime cramping by 58 percent, according to the Journal of Physiotherapy.
  • Untuck the sheets. University of Utah scientists found that loosening tightly tucked top sheets can block charley horses for up to 58 percent of people over 55 by keeping the feet from locking into a pointed position that can trigger a cramp.

When to check with your doctor about charley horses

If cramps keep coming back, last several minutes or appear with weakness, numbness or swelling, speak with a doctor. Dr. Tolentino says those signs can point to a circulation or nerve issue that deserves a closer look. For most people, though, pickle juice, gentle stretching and massage, and a few mineral-rich meals may be enough to help get rid of a charley horse fast.

More from Digilifetrends