Some of my favorite foods do have magnesium, but apparently not enough. It makes sense that it might be something like this since the cramping, when it comes, only happens at night rather than during the activity or right afterwards. At least it makes sense to me, that's my story & I'm sticking to itThanks for the brand suggestions, will check out Nature Made on this.