Question: what vitamin are you lacking if you get leg cramps?
Answer: Summary. Having a magnesium deficiency can be a cause of muscle cramps. And it's common for people to need more magnesium.