The management of Helicobacter pylori infection has to rely on previous local effectiveness due to the geographical variability of antibiotic resistance. The aim of this study was to evaluate the effectiveness of first and second-line H. pylori treatment in Spain, where the empirical prescription is recommended. A multicentre prospective non-interventional registry of the clinical practice of European gastroenterologists concerning H. pylori infection (Hp-EuReg) was developed, including patients from 2013 until June 2019. Effectiveness was evaluated descriptively and through a multivariate analysis concerning age, gender, presence of ulcer, proton-pump inhibitor (PPI) dose, therapy duration and compliance. Overall, 53 Spanish hospitals were included, and 10,267 patients received a first-line therapy. The best results were obtained with the 10-day bismuth single-capsule therapy (95% cure rate by intention-to-treat) and with both the 14-day bismuth-clarithromycin quadruple (PPI-bismuth-clarithromycin-amoxicillin, 91%) and the 14-day non-bismuth quadruple concomitant (PPI-clarithromycin-amoxicillin-metronidazole, 92%) therapies. Second-line therapies were prescribed to 2448 patients, with most-effective therapies being the triple quinolone (PPI-amoxicillin-levofloxacin/moxifloxacin) and the bismuth-levofloxacin quadruple schemes (PPI-bismuth-levofloxacin-amoxicillin) prescribed for 14 days (92%, 89% and 90% effectiveness, respectively), and the bismuth single-capsule (10 days, 88.5%). Compliance, longer duration and higher acid inhibition were associated with higher effectiveness. “Optimized” H. pylori therapies achieve over 90% success in Spain.