Leg twitching and trembling may be caused by muscle strain, but it may also be caused by the lack of trace elements or epilepsy, etc. It is recommended to go to the hospital for a detailed examination in time. 1. Muscle strain: If the patient does not do a good job of stretching before strenuous exercise, it may cause muscle damage, which will lead to the phenomenon of leg twitching and trembling, in this case, you should rest appropriately and try to relax the legs, which can alleviate symptoms. 2. hypocalcemia: if the body is seriously deficient in calcium, potassium, phosphorus, etc., it may cause nerve and muscle excitability, resulting in the phenomenon of leg twitching and trembling, you can go to the hospital for examination, under the guidance of the doctor to supplement trace elements. 3. Epilepsy: If the patient has epilepsy, it may be due to abnormal discharges of localized neurons in the cerebral hemisphere. Thus, the patient’s leg twitching and trembling symptoms. You can use oxcarbazepine, carbamazepine and other drugs under the guidance of a professional doctor for treatment. The appearance of leg twitching and trembling may be due to a variety of reasons, therefore, when this symptom occurs, it is recommended that the patient go to the hospital for examination in a timely manner, to clarify the specific causes, and then carry out targeted treatment.