Leg cramps at night, also known as nocturnal leg cramps, are sudden, involuntary muscle contractions or spasms that typically occur in the calf, foot, or thigh. They can be painful and disruptive to sleep. While the exact cause of nighttime leg cramps is not always clear, several factors may contribute to their occurrence.
Below are 10 common causes of leg cramps at night and tips on how to fix or prevent them:

1. Dehydration
Why It Happens: Inadequate fluid intake can lead to muscle fatigue and electrolyte imbalances, which may trigger cramps.
Tip: Drink plenty of water throughout the day, especially if you’re physically active or live in a hot climate.