To stop a charley horse in your calf, straighten your leg and pull your toes toward your shin. This forces the cramped muscle to lengthen, which overrides the involuntary contraction causing the pain. Most cramps release within one to three minutes using this technique, though the calf can feel sore for hours afterward.
How to Stop the Cramp Right Now
If you’re in the middle of a cramp, you have a few options depending on where you are. The fastest relief comes from stretching the calf while it’s still seizing.
- Seated or in bed: Keep your leg straight and pull the top of your foot toward your face. You can use your hand or loop a towel around the ball of your foot to help. Hold the stretch until the contraction releases.
- Standing: Put your weight on the cramped leg and press your heel firmly into the floor. Or face a wall, place the ball of your foot against it with your heel on the ground, and lean in gently.
- Massage: Once the worst of the contraction eases, rub the muscle with firm pressure using your thumbs or knuckles. Work from the center of the cramp outward to help the fibers relax.
Walking around slowly after the cramp releases can also help. Movement restores normal blood flow to the area and keeps the muscle from locking up again immediately.
Treating the Soreness Afterward
A charley horse can leave your calf feeling bruised and tender for several hours, sometimes into the next day. Heat is your best option here. A warm towel, heating pad, or hot bath relaxes the muscle fibers and reduces stiffness. Ice is better suited for injuries with swelling or inflammation, so save it for situations where the calf is visibly swollen or you suspect you actually strained the muscle during the cramp (which can happen with severe episodes).
Gentle stretching throughout the day after a bad cramp helps prevent the muscle from tightening back up. A simple standing calf stretch, holding 20 to 30 seconds per side, is enough.
Why Charley Horses Happen
A charley horse is an involuntary, sustained contraction of the calf muscle. The most common triggers are dehydration, electrolyte imbalances, muscle fatigue, and prolonged sitting or standing. Three minerals play the biggest role in keeping muscles contracting and relaxing properly: potassium supports nerve and muscle signaling, magnesium aids nerve impulse transmission, and calcium helps regulate the contraction process itself. When any of these run low, your muscles become more excitable and prone to cramping on their own.
Exercise-related cramps tend to happen when you push a muscle beyond what it’s conditioned for, especially in hot weather when you’re sweating out both fluid and electrolytes. Nocturnal cramps, the kind that jolt you awake at 3 a.m., are more common in older adults and often have no single clear cause, though sleeping in positions that shorten the calf muscle (like pointing your toes) can trigger them.
How to Prevent Cramps From Coming Back
Staying hydrated is the simplest and most effective prevention strategy. If you’re exercising heavily or sweating a lot, drinks with electrolytes can help replace what plain water doesn’t. But for everyday life, consistent water intake throughout the day covers most people.
Eating enough potassium and magnesium matters too. Bananas, potatoes, avocados, and leafy greens are good sources of potassium. Nuts, seeds, dark chocolate, and whole grains provide magnesium. If you get frequent cramps and suspect a dietary gap, magnesium supplements are widely available. Clinical studies on magnesium for cramps have used a range of doses, typically between 100 and 315 mg of elemental magnesium per day, though the evidence for effectiveness in the general population is mixed. It tends to show more benefit in pregnant women with cramps than in older adults.
For nighttime cramps specifically, a few adjustments can make a real difference. Stretch your calves before bed: stand facing a wall, step one foot back, keep the back heel on the floor, and lean forward until you feel a pull in the calf. Hold for 30 seconds on each side. Light walking or a few minutes on a stationary bike before bed also helps. In bed, try to keep your toes pointing up rather than down. If you sleep on your stomach, letting your feet hang over the end of the mattress prevents the calf from staying in a shortened position all night.
When a Charley Horse Might Be Something Else
Most charley horses are harmless, if painful. But leg pain that mimics a cramp can occasionally signal a blood clot in a deep vein, known as DVT. The key differences: DVT typically causes swelling in one leg, skin that looks reddish or bluish, and warmth to the touch in the affected area. A charley horse contracts hard and then releases. DVT pain tends to be persistent, more like a deep ache that doesn’t go away when you stretch.
Cramps that happen frequently despite good hydration and nutrition, last longer than a few minutes, or cause visible muscle swelling are also worth bringing up with a doctor. There are some medications, particularly certain blood pressure drugs and cholesterol-lowering statins, that list muscle cramps as a side effect.
What About Quinine?
You may have heard that quinine (the bitter compound in tonic water) helps with leg cramps. While quinine does have some muscle-relaxing properties, the FDA has explicitly stated it is not considered safe or effective for treating or preventing leg cramps. It’s only approved for treating malaria. When used for cramps, quinine carries risks of serious blood disorders, dangerous heart rhythm changes, kidney failure requiring dialysis, and in some cases, death. The FDA has added a boxed warning to quinine products and issued multiple safety communications about this off-label use. Drinking small amounts of tonic water is unlikely to cause harm, but the quinine content is too low to have any real effect on cramps either.