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