Sudden stirring of the legs during sleep may be due to physiological reasons, but may also be caused by psychological factors, hypocalcemia and other pathological reasons. 1. Physiological reasons Suddenly stirrups when sleeping because the human body in the sleep process of the brain in the inhibitory state of the higher center, the spinal cord to lose the control of the higher center, the role of regulation, can be directly dominated by the muscles of the lower limbs and caused by muscle contraction and relaxation activities, and then suddenly stirrups when sleeping, belongs to the physiological phenomenon of muscle twitching. 2. Pathological causes (1) Psychological factors: including mental stress, emotional tension, anxiety, etc., it is difficult to relax in sleep, dreamy, irritable, easy to cause twitching of the limbs, and occasional sudden stirring of the legs. (2) Hypocalcemia: Calcium ions can regulate the bioelectric activity of cells, free calcium can reduce the permeability of capillaries and cell membranes, as well as the excitability of nerve cells, low calcium levels in the nerve, muscle cell excitability is high, which is easy to produce involuntary contraction, which can be manifested as a sudden stirring of the legs during sleep, accompanied by muscle pain, and the twitching will last for several minutes. There may be other reasons for the sudden stirring of the legs during sleep, it is recommended to go to the hospital in time, improve the examination to clarify the cause of the disease, under the guidance of the doctor to give targeted treatment or treatment.