Night cramps (nocturnal leg cramps) are sudden, painful muscle contractions—often in the calves, feet, or thighs—that occur during rest or sleep. They can happen to anyone, but some people have a higher risk.
People more likely to experience night cramps include:
- Older adults
- Risk increases with age, partly due to changes in muscles, nerves, and circulation.
- People who are physically active or overuse their muscles
- Intense exercise, prolonged standing, or unfamiliar activity can trigger cramps.
- People who are less active
- Long periods of sitting can contribute to muscle stiffness and reduced flexibility.
- Pregnant people
- Leg cramps are more common during pregnancy, especially later stages.
- People who are dehydrated
- Low fluid intake or heavy sweating may contribute to muscle cramping.
- People with electrolyte imbalances
- Low levels of minerals such as magnesium, potassium, or calcium can be associated with cramps, although most routine cramps are not simply caused by a single mineral deficiency.
- People taking certain medications
- Some medicines, including certain diuretics (“water pills”), may increase the risk by affecting fluid or electrolyte balance.
- People with circulation or nerve conditions
- Conditions affecting blood flow or nerves (such as peripheral artery disease or diabetic nerve problems) can sometimes cause leg discomfort or cramping.
- People with certain medical conditions
- Kidney disease, thyroid disorders, and other health problems may be associated with muscle symptoms.
What may help prevent night cramps:
- Stretch calf and leg muscles before bed.
- Stay physically active with regular, moderate exercise.
- Drink enough fluids.
- Avoid sitting in one position for very long periods.
- Wear supportive footwear during the day.
See a healthcare professional if:
- Cramps are frequent, severe, or getting worse.
- They cause significant sleep disruption.
- There is swelling, redness, weakness, numbness, or skin color changes.
- You have a new symptom after starting a medication.
Most occasional night cramps are harmless, but frequent or unusual cramps are worth discussing to look for possible causes.