Mineral deficiency
When exercising, you aren’t just sweating out water, but you also lose important electrolytes. This is the reason why some athletes drink sports drinks in attempt to replenish some of these minerals.
Low levels of electrolytes like sodium, calcium, and potassium can lead to an increased chance of experiencing leg cramps. If you get leg cramps, it may be helpful to eat more foods that are high in electrolytes such as: sweet potatoes, spinach, and nuts.