Nighttime leg cramps are sudden, painful muscle contractions, usually affecting the calf, foot, or thigh. They are common, especially as people get older.
Common reasons you may get cramps at night include:
- Muscle fatigue or overuse from exercise or prolonged standing.
- Sitting or lying in one position for a long time.
- Dehydration, particularly after heavy sweating.
- Pregnancy, especially during the second and third trimesters.
- Certain medications, such as some diuretics, statins, or other drugs in susceptible people.
- Medical conditions, including diabetes, peripheral artery disease, nerve disorders, kidney disease, or thyroid disorders.
- Older age, as muscle changes over time may make cramps more common.
Contrary to popular belief, low potassium is not the cause of most nighttime leg cramps, although electrolyte imbalances can contribute in some situations.
What can help
- Gently stretch the affected muscle and massage it.
- Walk around for a few minutes if possible.
- Apply a warm towel or heating pad to relax the muscle.
- Stay well hydrated.
- Stretch your calf and hamstring muscles before bed if you have frequent cramps.
When to see a healthcare professional
Seek medical advice if cramps:
- Occur frequently or are severe.
- Last a long time or don’t improve with stretching.
- Are accompanied by muscle weakness, numbness, swelling, or skin changes.
- Begin after starting a new medication.
Most nighttime leg cramps are not a sign of a serious disease, but persistent or worsening symptoms deserve evaluation to look for an underlying cause.
