Dehydration may be one cause of muscle cramps, and some evidence suggests that electrolyte imbalances also contribute to them. Muscle cramps are painful, involuntary contractions of the muscles that ...