Why Your Legs Cramp at Night (And How to Fix It)

Why Your Legs Cramp at Night (And How to Fix It)

Nocturnal leg cramps—those sudden, involuntary, painful muscle contractions that strike during the night—affect up to 60% of adults at some point. For many, they’re an occasional annoyance. For others, they’re a recurring nightmare that disrupts sleep, causes daytime fatigue, and creates a lingering dread of bedtime.

The good news? Most night cramps are not a sign of a serious medical condition. The better news? There are simple, effective things you can do to prevent them.

Let me walk you through why this happens and—most importantly—how to make it stop.


What Exactly Is a Nighttime Leg Cramp?

Let’s start with a clear definition.

A nocturnal leg cramp is a sudden, involuntary, painful contraction of a muscle that occurs while you’re resting or sleeping. It most commonly affects the calf muscles (gastrocnemius and soleus), but can also strike the hamstrings (back of the thigh), quadriceps (front of the thigh), or small muscles in the feet.

What it feels like: A hard, tight knot of muscle that you can sometimes see bulging under your skin. The pain can range from mildly uncomfortable to excruciating. Most cramps last from a few seconds to several minutes, but the soreness can linger for hours or even days afterward.