Full spectrum magnesium is the best type for leg cramps, without excess loose stools. Epsom salt baths are good too, but not everyone has a bathtub or the time. Topical spray on magnesium is also good.