what vitamin are you lacking if you get cramps?
Some research shows that replacing certain nutrients, including potassium, sodium, and magnesium, may help counteract muscle cramps. Plus, deficiencies in nutrients like magnesium, vitamin D, and certain B vitamins may increase the chances of muscle cramps ( 3 , 4 , 5 ).