Muscles
Night Leg Cramps
Sudden, painful tightening of the calf or foot muscles during the night — eased in the moment by stretching, and prevented by hydration, stretching, and minerals.
📝 Summary
In short: Sudden, painful tightening of the calf or foot muscles during the night — eased in the moment by stretching, and prevented by hydrationGiving your body enough water to work well. More →, stretching, and minerals.
Common causes: Dehydration and mineral imbalances (magnesium, potassium, calcium); Tight or overused muscles; prolonged sitting or standing; More common with age and in pregnancy.
First thing to try: During a cramp, gently stretch and massage the muscle — for a calf cramp, pull the toes up toward you and apply warmth.
See a doctor if: Frequent or severe cramps that disturb sleep or daily life
🌿 Overview
Night leg cramps are sudden, involuntary, painful tightenings of the calf or foot muscles, usually during sleep, that can leave the muscle sore afterward. They're common, usually harmless, and often respond well to stretching, good hydrationGiving your body enough water to work well. More →, and attention to minerals like magnesium.
A cramp is a sudden, intense, involuntary muscle contraction — most often in the calf — that can jolt you awake and last seconds to minutes, sometimes with lingering soreness. Common contributors are dehydration, mineralA natural building block your body needs in small amounts, like calcium or magnesium. More → imbalances, prolonged sitting or standing, tight muscles, and overexertion; they also become more frequent with age and in pregnancy.
In the moment, gently stretching and massaging the cramping muscle (flexing the foot upward for a calf cramp) and applying warmth relieve it. To prevent them, regular stretching, staying hydrated, getting enough magnesium, potassium, and calcium from food, and gentle activity all help. Frequent, severe cramps, or cramps with swelling or weakness, are worth discussing with a doctor.
Common signs
- A sudden, painful, hard tightening of the calf or foot muscle
- Usually during the night or while resting
- Often leaves the muscle sore for a while afterward
- The muscle may feel knotted during the cramp
🔎 Why it happens
Common causes and triggers — spotting yours is often the first step to relief.
- Dehydration and mineral imbalances (magnesium, potassium, calcium)
- Tight or overused muscles; prolonged sitting or standing
- More common with age and in pregnancy
- Sometimes certain medications or circulation issues
✅ What to do
Gentle, practical steps you can take at home — start at the top.
- During a cramp, gently stretch and massage the muscle — for a calf cramp, pull the toes up toward you and apply warmth.
- Stay well hydrated through the day, and stretch the calves and feet before bed.
- Eat enough magnesium-, potassium-, and calcium-rich foods, and keep gently active.
- See a doctor if cramps are frequent, severe, or come with swelling, redness, or weakness.
⭐ Community-ranked natural supports
Vote ▲ on everything that helped you, and ▼ on anything you tried that didn't — the ranking updates live. Tap 💬 to share what worked, so others can find it faster.
Staying well hydrated through the day helps prevent the dehydration that triggers night cramps.100573
Apply warmth to a cramping or sore muscle to relax it and ease the pain.88254
Crowd feedback, not medical advice — in this preview your vote is saved on your device. *Ties are broken by our editor score (sources, safety, simplicity, cost, lifestyle fit).
📊 Compare these remedies side by side
Our editor score weighs sources, safety, simplicity, cost, and lifestyle fit. Source endorsements tally how many books and studies reference each remedy. A higher number isn't a promise — it's just a starting point.
| Remedy | Type | Editor score | Source endorsements |
|---|---|---|---|
| Water & Hydration | Therapy | 100 | 573 |
| Warm & Cold Compress | Therapy | 88 | 254 |
| Magnesium-Rich Foods | Food | 86 | 153 |
| Gentle Stretching | Exercise | 93 | 122 |
🍽️ Eating to help
Food is one of the gentlest medicines — small, steady changes help most.
Favor these
- Magnesium-, potassium-, and calcium-rich foods (greens, bananas, nuts, seeds, dairy or fortified plant milks)
- Plenty of water
Go easy on
- Excess alcohol and caffeine, which can dehydrate
Hydration and mineral-rich foods are central to preventing cramps.
⚖️ Good to know
- Cramps with leg swelling, redness, or warmth could signal a clot — seek prompt care.
- Frequent, severe cramps may relate to medications or circulation and deserve review.
- Persistent weakness or numbness with cramps should be evaluated.
🩺 When to see a doctor
- Frequent or severe cramps that disturb sleep or daily life
- Cramps with leg swelling, redness, warmth, or skin changes
- Cramps with muscle weakness, numbness, or that follow a new medication
📜 A note from history
A familiar nighttime affliction, leg cramps long pointed people toward hydration, stretching, and mineral-rich foods.
📚 Learn more
Trusted, independent sources for further reading. These open in a new tab.
💚 Was this page helpful?
A quick tap helps us improve these guides. Saved on your device in this preview.