The stiffness, tension and pain in the calf muscles during sleep at night are due to muscle spasms, commonly known as leg cramps. It is most common in women during and after menopause, mostly due to endocrine disorders, abnormal estrogen secretion leading to calcium metabolism disorders, calcium deficiency and osteoporosis. Patients can go to the hospital to improve the blood electrolytes, bone density and other tests to clarify whether there is a calcium deficiency performance to give calcium supplementation corresponding treatment, the symptoms can be relieved in about 2-3 weeks. If there is no calcium deficiency and other factors, it is also necessary to clarify whether there are other diseases that cause convulsions, such as multiple sclerosis can lead to painful muscle spasms. Patients can go to the neurology department to improve the head MRI, spinal cord MRI and other aspects of the examination to help clarify the diagnosis.