Nighttime leg cramps are sudden, painful muscle contractions that can wake you from sleep. They often cause tightness and intense discomfort in the calves or feet. These cramps can happen to anyone but are more common with pregnancy, aging, intense exercise, or certain medical conditions like diabetes or kidney issues.
Common causes include dehydration, poor circulation, electrolyte imbalances, and low levels of minerals like magnesium or potassium. Staying hydrated, stretching regularly, limiting alcohol and caffeine, and maintaining a balanced diet can help prevent them. When cramps occur, gently massaging the muscle, stretching, applying heat or cold, or walking briefly may bring relief. Seek medical care if cramps are frequent, severe, persistent, or come with other concerning symptoms.