Like "I see someone else mentioned potassium. Try eating more bananas which are a very good souce of potassium. Maybe you need to vary your intake of fluids with something like crystal light or 1/4 gatoraid with 3/4 water. I have the spasms too but I associated it with my RLS. Yes they are painful and prevent you fro getting a restlful night's sleep. Good luck. Keep us posted. Betsie"