Night cramps (often called nocturnal leg cramps) can happen to anyone, but some people are more likely to experience them. They are sudden, painful muscle contractions—most commonly in the calf, foot, or thigh—that occur during rest or sleep.
People at higher risk include:
- Older adults
- Risk increases with age, especially after about age 50.
- Muscles may lose strength and flexibility, and nerve or circulation changes can contribute.
- People who are physically inactive
- Long periods of sitting or reduced movement can make muscles tighter and more prone to cramping.
- People who overwork their muscles
- Heavy exercise, prolonged standing, or unfamiliar physical activity can trigger cramps, especially if muscles become fatigued.
- Pregnant people
- Leg cramps are common during pregnancy, particularly in the later months, possibly due to body changes, weight changes, and pressure on nerves and blood vessels.
- People with certain medical conditions
Night cramps may be more common with:- Diabetes (especially if nerve damage develops)
- Kidney disease
- Thyroid disorders
- Nerve disorders
- Circulation problems
- Liver disease
- People taking certain medications
Some medicines may increase the chance of cramps, including:- Certain diuretics (“water pills”)
- Some cholesterol-lowering medicines (statins)
- Some asthma or blood pressure medicines
- People with dehydration or electrolyte imbalances
- Heavy sweating, vomiting, diarrhea, or inadequate fluid intake can affect muscle function.
- Minerals such as potassium, magnesium, and calcium are involved in muscle contraction, although routine supplementation does not help everyone with cramps.
When to get medical advice
Talk to a healthcare professional if cramps:
- Happen frequently or are getting worse
- Cause major sleep disruption
- Are accompanied by swelling, redness, weakness, or numbness
- Occur with muscle loss or difficulty walking
Things that may help reduce night cramps
- Gentle calf and leg stretching before bed
- Regular daytime movement and strengthening exercises
- Staying adequately hydrated
- Avoiding sudden increases in intense exercise
- Reviewing medications with a clinician if cramps started after a new drug
Most night cramps are harmless, but frequent or unusual cramps can sometimes point to an underlying issue worth checking.
