Twitching during sleep in children may be caused by cold stimulation, excessive mental stress, and muscle tension due to too much activity before bedtime. They can be relieved by relieving stress and keeping warm. However, electrolyte disorders, epilepsy and other pathological factors are also more common, you need to go to the hospital in time for cranial magnetic resonance, lumbar puncture, electroencephalogram and other tests to clarify the cause, and then treat the symptoms. 1, electrolyte disorders: common in hypocalcemia, can be caused by vitamin D deficiency, hypoparathyroidism and other symptoms, mainly manifested as hand and foot twitching, wheezing episodes. If the effect of calcium and vitamin D is not good, it may be combined with hypomagnesemia, so also need to supplement magnesium; 2, epilepsy: mostly seen in traumatic brain injury, central nervous system infection, abnormal brain development. The general duration of seizures is short and repetitive. It can often be treated with oxcarbazepine, phenobarbital and other drugs as prescribed by the doctor. The drug treatment needs to be adequate and full course, and it is forbidden to change the dose and the type of drug without authorization to avoid affecting the therapeutic effect. If regular antiepileptic drugs are not effective, surgical procedures can be changed to reduce seizures. It is recommended that parents be patient and guide their children to avoid excessive stress. It is important to avoid prolonged exposure to cell phones, computers and other electronic devices to prevent overuse of the brain. It is also necessary to pay attention to the balanced diet of children, regular meals, and try to choose light, easy-to-digest food, such as green vegetables porridge.