Objective To investigate the prevalence of anxiety and depression in epilepsy patients in rural areas,and to explore the influencing factors.Methods The Hamilton Anxiety Scale (HAMA) and Hamilton Depression Scale (HAMD) were used to evaluate depression and anxiety of 388 epilepsy patients in rural areas From March 2020 to March 2021.Univariate analysis was performed on factors that may cause comorbid anxiety and depression of epilepsy patients,and logistic regression was used to analyze the possible influencing factors.Results Among the 388 rural epilepsy patients,there were 198 (51.03%) patients comorbid with anxiety,159 (40.98%) comorbid with depression,and 130 (33.51%) comorbid with both anxiety and depression.Multivariate logistic regression analysis showed that patients,educational level,age of onset,seizure frequency,the cost of treatment and compliance were the influencing factors of anxiety.The seizure frequency,the cost of treatment and compliance of patients were the influencing factors of epilepsy comorbid depression.Conclusion Epilepsy patients in rural areas have a higher prevalence of anxiety and depression.Low education level and age of onset between 21 and 30 years old are risk factors for comorbid anxiety in epilepsy patients.The seizure frequency,treatment cost and poor compliance are risk factors for comorbid anxiety and depression.Targeted interventions should be carried out for the epilepsy patients in rural areas.