The main reasons to be considered for shaking legs at night during the recovery period of cerebral infarction include increased muscle tone, lactic acid accumulation, calcium deficiency, epilepsy and so on. 1. Increased muscle tone: Brain tissue damage after cerebral infarction can lead to increased muscle tone in the lower limbs and muscle spasm in the legs, which can lead to symptoms such as leg shaking and twitching at night. 2. Lactic acid accumulation: when patients with cerebral infarction are in the recovery period, if they carry out large amount of sports activities, there can be a large amount of lactic acid accumulation in the lower limbs, and then there will be symptoms such as leg shaking at night. 2. Calcium deficiency: if there is calcium deficiency during the recovery period of cerebral infarction due to malnutrition and other factors, symptoms such as leg cramps and leg shaking will occur at night. 3. Epilepsy: this disease is caused by highly synchronized abnormal discharges of neurons in the brain. If it is secondary epilepsy caused by cerebral infarction, there may be symptoms such as leg shaking at night. If patients with cerebral infarction have frequent leg shaking at night during the recovery period, they should go to the hospital in time and improve the auxiliary examination under the guidance of the doctor, so as to treat the cause of the disease.