Question: what vitamin are you lacking if you have 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.