How to Prevent Charley Horses From Waking You Up at Night
You know the feeling. You’re dead asleep. Dreaming about something nice. Then your calf muscle seizes up like a fist, and you’re bolt upright at 3 AM, grabbing your leg, trying to remember how to make it stop.
Charley horses. They’ve woken me up more times than my alarm clock. I went to a physical therapist after a particularly brutal one left me limping for two days. What she told me changed everything.

What causes them
The short version: your muscle contracts and won’t release. The longer version: it’s usually a combination of dehydration, electrolyte imbalance, and muscle fatigue. Your body runs out of potassium or magnesium, your calf muscles are tight from the day, and your brain sends a signal that gets stuck in the “on” position.
The pointing-your-toes position during sleep — which most people do unconsciously — shortens the calf muscle. If it’s already tight, that position can trigger a cramp.
The fix that worked for me
- Magnesium supplement before bed. My PT recommended magnesium glycinate — it’s more absorbable than the cheap magnesium oxide. Start with 200mg. Check with your doctor first.
- Drink water during the day, not just right before bed. Dehydration is cumulative.
- Stretch your calves before bed. Stand facing a wall, one foot forward, one back. Lean in. Hold thirty seconds per side.
- If you’re on diuretics (blood pressure meds, some allergy meds), they flush out potassium. Eat a banana or an avocado with dinner.
What to do when one hits
Don’t point your toes — that’s your instinct and it makes it worse. Flex your foot toward your shin. Grab your toes and pull them toward your knee. It hurts for a second, then the muscle releases.
Standing up and putting weight on the cramping leg works too. The pressure and the stretch together override the spasm.
After it releases, walk around for a minute. The muscle needs blood flow to flush out the metabolic waste from the cramp. If you just go back to sleep, it’s likely to cramp again.
When to see a doctor
If you’re having these multiple times a week, or if they’re accompanied by swelling, redness, or weakness that lasts hours afterward, get checked out. Charley horses can be a symptom of circulation problems or nerve issues. Most of the time they’re just dehydration and tight muscles. But sometimes they’re not.
📋 Quick Summary: Magnesium glycinate before bed. Stay hydrated all day. Stretch calves before sleep. Flex foot toward shin when cramp hits — don’t point toes. Walk around after it releases. See a doctor if it’s frequent or comes with swelling.