Long-term epilepsy medication generally does not cause osteonecrosis of the femur, but it is prone to osteoporosis, and pediatric rickets may also occur in pediatric patients. Vitamin D is one of the indispensable nutrients to maintain the normal physiological function of bones. Long-term use of antiepileptic drugs such as phenobarbital, phenytoin sodium, etc., will inhibit the production of vitamin D, and at the same time accelerate the metabolism of vitamin D, which will lead to vitamin D deficiency, leading to bone metabolic diseases such as osteoporosis or pediatric rickets. Current clinical data show that more than half of the patients taking antiepileptic drugs for a long period of time will develop osteoporosis or pediatric rickets, etc., which can be manifested as symptoms such as twitching of the hands and feet and easy fracture. Therefore, patients taking epilepsy drugs for a long time should supplement vitamin D under the guidance of doctors to prevent the occurrence of bone metabolic diseases.