The first consideration in treating frequent muscle spasms of the legs and feet is to address hydration concerns. People who do not maintain proper hydration are more likely to experience cramping. As well, some studies show that magnesium and calcium depletion may result in a muscle spasm. If cramps occur frequently, one might consider supplementing one’s diet with more calcium and magnesium loaded foods, or with mineral supplements.
Another type of muscle spasm that may occur is cramping of the stomach. This may be associated with either a stomach flu illness, or with conditions like irritable bowel syndrome (IBS). This cramping is also quite painful, but gradual control of IBS can reduce frequent muscle spasm. Infants with colic often experience muscle spasm in the abdomen as well, hence the excessive crying. This is often a brain’s immature response to digestion, which is why many children with colic improve as they age.