Why Do We Get Cramps at Night?
Nighttime leg cramps happen when a muscle—usually the calf, foot, or thigh—suddenly and involuntarily tightens during sleep. Unfortunately, there isn’t one single cause, and in many cases the exact reason is unknown. The risk does increase with age.
M
Mayo Clinic
+1
Common contributors include:
Muscle fatigue or overuse, especially after unusual physical activity.
Dehydration, which can be particularly relevant in older adults because thirst may become less noticeable with age.
M
Mayo Clinic
Long periods of sitting or inactivity.
Certain medications, including some medicines used for blood pressure and cholesterol.
M
Mayo Clinic
Nerve problems, including diabetic neuropathy.
Kidney, thyroid, or circulation problems in some people.
M
Mayo Clinic
Low levels of certain minerals can contribute in some circumstances, although nighttime cramps aren’t automatically caused by magnesium or potassium deficiency.
M
Mayo Clinic
What to do when a cramp strikes
For a calf cramp, straighten your leg and gently pull your toes toward your face. You can also massage the cramped muscle or stand and put weight on the affected leg if you can do so safely. Heat from a warm shower can also help relax the muscle.
M
Mayo Clinic
How to reduce nighttime cramps
Gently stretch your calves before bed.
Stay adequately hydrated throughout the day.
Avoid suddenly increasing strenuous exercise.
Try a few minutes of gentle cycling or walking before bedtime.
Review your medications with a clinician if cramps started after beginning a new medicine.
M
Mayo Clinic
Don’t automatically start magnesium supplements for nighttime cramps. They aren’t appropriate for everyone, particularly people with impaired kidney function.
If cramps are frequent, severely painful, associated with swelling, numbness or weakness, or repeatedly interrupt your sleep, it’s worth having them evaluated rather than assuming they’re simply part of aging.
M
Mayo Clinic
M
Sources