Leg cramps can also be a symptom of the nerve disorder multiple sclerosis (MS). Some people with MS have spasticity, which can include involuntary muscle spasms and twitches or leg cramps.