Objective To observe the effects of different treatment regimens on clinical symptoms and quality of life in patients with functional dyspepsia (FD) combined with Helicobacter pylori (Hp) infection and mild to moderate anxiety and depression. Methods From Jun. 2018 to Jun. 2019.90 FD patients with Hp infection and mild to moderate anxiety and depression were randomly divided into group A,B,and C. Group A was treated with quadruple Hp eradication treatment for 2 weeks,and then continued to be treated with antacid drug for 1 weeks. Group B was treated with flupentixol and melitracen tablets for 6 weeks. Group C was treated with quadruple Hp eradication treatment for 2 weeks and at the same time treated with flupentixol and mclitracen tablets for 6 weeks. The dyspepsia symptom score, anxiety score, depression score, and quality of life score were evaluated before treatment and after 6 weeks of treatment. Results Compared with before treatment, the average scores of dyspepsia symptom was reduced in group A, B and C(P<0. 05), and the total effective rate on dyspepsia symptoms was 16. 67%,82. 00% and 83. :33%. After 6 weeks of treatment,there was no significant change of anxiety,depression and quality of life scores in group A (CP>0. 05), the scores of anxiety and depression in group B and C were significantly lower, and the quality of life score was significantly higher (CP<0. 05). Compared with group A. there were significant differences of all the scores in group Band group C after 6 weeks of treatment (P <0. 05), but there was no significant difference between group B and group C (P>0. 05). Conclusion For patients with FD, combined with Hp infection and mild to moderate anxiety and depression, routine Hp eradication therapy might be with limited improvement in symptoms, while anti-anxiety or depression treatment could effectively improve the clinical symptoms, which might have the same effect with anti-anxiety or depression treatment combined with Hp eradication treatment. [ABSTRACT FROM AUTHOR]