Leg cramps are sudden, painful muscle contractions commonly affecting calves and thighs Dehydration, electrolyte imbalances, and physical exertion are common causes of leg cramps Pregnancy, prolonged sitting, and certain medications can increase the risk of leg cramps