Muscle Cramps: Why Your Legs Seize Up (Especially at Night)

That sudden, gripping calf cramp that wakes you at night is common and usually harmless — but very painful. A practical guide to why muscle cramps happen, how to relieve them, and when to see a doctor.

You're fast asleep, then suddenly a calf muscle grips into a hard, agonising knot that has you hopping out of bed. Muscle cramps — especially in the legs and at night — are extremely common, usually harmless, but genuinely painful and disruptive. The reassuring news is that most are easily eased and often preventable. This is a practical guide to why cramps happen, how to relieve one fast, how to prevent them, and when they are worth a doctor's look.

What Is a Muscle Cramp?

A cramp is a sudden, involuntary tightening (spasm) of a muscle that won't relax — most often in the calf, but also the feet or thighs. It can last seconds to a few minutes and may leave the muscle tender afterwards. Night-time leg cramps are especially common and can wake you from sleep. In most people they are not a sign of anything serious.

Why They Happen

  • Dehydration or loss of salts through heavy sweating
  • Overuse or fatigue of a muscle, or too little activity
  • Sitting or lying awkwardly, or poor circulation
  • Pregnancy (leg cramps are common, especially later on)
  • Sometimes mineral imbalances or certain medicines
  • Often, honestly, no clear cause — especially the classic night cramp

How to Relieve a Cramp Fast

  1. Stretch the muscle gently — for a calf cramp, straighten the leg and pull your toes/foot up toward your shin
  2. Massage the tight muscle with your hands
  3. Gently walk it off or stand and put weight on the leg
  4. Apply warmth (a warm towel) to relax it, or cold if it stays sore
  5. It usually eases within a minute or two; the muscle may feel tender for a while after
The instant fix for a calf cramp Straighten your leg and firmly pull your foot and toes upward, toward your knee — this stretches the cramping calf and usually releases it within moments. Standing up and pressing your heel into the floor does the same thing.

Preventing Cramps

  • Stay well hydrated, especially in heat or with exercise
  • Stretch your calves and legs before bed and after exercise
  • Keep gently active so muscles don't stiffen
  • Make sure bedding isn't forcing your feet into an awkward position
  • Eat a balanced diet so you get enough minerals (don't take supplements unless a doctor advises)

When to See a Doctor

See a doctor if cramps
  • Are frequent, severe, or not settling with self-care
  • Come with swelling, redness, warmth, or skin changes in the leg (could suggest a clot or circulation problem)
  • Are linked to muscle weakness, numbness, or wasting
  • Disturb your sleep badly or affect daily life
  • Started after a new medicine, or you have a health condition (kidney, thyroid, diabetes)

Most cramps need nothing more than a stretch and some prevention. But see a doctor for the situations above — persistent or one-sided leg pain and swelling in particular should be checked promptly to rule out a clot. An online consultation is a convenient way to describe the pattern, review any medicines, and find out whether you need to be seen. For the ordinary night cramp, though, a good stretch and staying hydrated usually do the trick. (See our guides on varicose veins, hydration, and low blood pressure.)

A note on sources General education based on trusted public health sources (NHS, Mayo Clinic, NIH). It does not replace an assessment by a doctor, who can check for underlying causes when cramps are frequent or severe.

ProMedicoz Health Blog · Find a doctor