Nighttime leg cramps are sudden, painful muscle contractions that often affect the calf, foot, or thigh. They are common, especially as people get older, and are usually not a sign of a serious illness. However, frequent or severe cramps can sometimes point to an underlying problem.
Common causes
- Muscle fatigue or overuse
- Dehydration
- Sitting or standing for long periods
- Pregnancy
- Certain medications (such as some diuretics or cholesterol-lowering drugs in some people)
- Conditions such as diabetes, kidney disease, thyroid disorders, or nerve problems
Sometimes, no specific cause is found.
What can help
- Stretch the affected muscle when a cramp occurs. For a calf cramp, straighten the leg and gently pull your toes toward your shin.
- Massage the muscle gently.
- Walk around if you can.
- Apply heat to relax the muscle or ice afterward if it remains sore.
- Stay well hydrated.
- Gentle calf stretching before bed may help reduce cramps in some people.
When to see a healthcare professional
Arrange an evaluation if:
- Cramps happen frequently or are very severe.
- They are associated with muscle weakness, numbness, swelling, or redness.
- They interfere with your sleep or daily life.
- They start after beginning a new medication.
A note about supplements
Many online posts recommend magnesium, potassium, or calcium supplements. These do not consistently help most people with nighttime leg cramps unless there is a confirmed deficiency. It’s best not to start supplements without discussing them with a healthcare professional, especially if you have kidney disease or take other medications.
If your leg cramps are new, worsening, or occurring several nights a week, it’s worth discussing them with your healthcare provider to look for treatable causes.
