Background: Considering the increase in drug resistance over time to Helicobacter pylori treatment relying on the anti-inflammatory and antibacterial effects of atorvastatin to increase the success rate of H. pylori eradication, we examined the effect of adding atorvastatin to standard treatment of H. pylori eradication.Results: A total of 186 symptomatic patients who had been diagnosed with Helicobacter pylori infection and tested for H. pylori eradication were examined by a pathological response or positive urea breath test. Patients who received atorvastatin in addition to standard treatment were also identified based on a table of random numbers. Standard treatment included a 240mg bismuth subcitrate tablet, a 40mg pantoprazole tablet, a 500mg metronidazole tablet, and 2 capsules of 500mg amoxicillin, all taken BID for 14 days. After 4 weeks of treatment, all patients underwent stool testing for H. pylori fecal antigen. If the test was positive, the request was considered a failure of treatment, and if the test was negative, it was considered a successful eradication of H. pylori. The clinical trial registration code for this study is IRCT20190823044589N1. The eradication rate of H. pylori was 80% in the control group and 80.9% in the intervention group, which did not show a statistically significant difference between the two groups (P-value=0.971).Conclusion: Adding atorvastatin to 4-drug regimen of PPI, bismuth subcitrate, amoxicillin, and metronidazole as the first line of treatment for H. pylori eradication is ineffective.Trial registration: IRCT, IRCT20190823044589N1. Registered 28 December 2019 - Retrospectively registered, https://en.irct.ir/trial/41734