My first post!
I've had muscle cramps in my legs and feet since I was 12 yrs old (64 yrs ago). I have found some success by taking a magnesium glycinate capsule every morning between 8am and noon. When I started taking it, I took it before bedtime, but that didn't work well, probably because it didn't have time to absorb and help. I also have noticed that my choice of footwear matters. Some of my sneakers and shoes have one and a half inch high heels, others have about one inch high heels. Sometimes after wearing the higher heel footwear, my foot and lower leg muscles will pull on me, and I think it's because the lower leg muscles are compressed compared to when wearing the lower heel footwear. That half inch makes a difference! I also do some leg exercises just before bedtime, high stepping while bending at the knee, and crossing one leg over the other at the knee.
JayArr49 (male)
Welcome @jayarr49, Good to hear that you've found shoes that help with the neuropathy symptoms. I have a lot of problems if I wear shoes that are too cushy, messes with my balance a lot. You might also find it helpful to scan through the many related discussions we have on "leg cramps at night" - https://connect.mayoclinic.org/search/.
Have you been diagnosed with neuropathy?