Dr. Adam: One common cause of cramping is dehydration. Even a mild case can mess with your body’s delicate balance of minerals. Potassium, magnesium and sodium, which can occur naturally in drinking water, are essential to keeping our muscles working properly. If you’re not drinking enough fluids, an imbalance can interfere with the signals telling your muscles to relax, leading to involuntary muscle contractions and cramps.