In the gastric microenvironment, Helicobacter pylori is exposed to bicarbonate, urea and acid. Here it is demonstrated that both H. pylori carbonic anhydrases (CAs) are required for maintaining urease activity and therefore influence H. pylori urea resistance at neutral pH. Furthermore, the beta-CA is required for acid resistance as indicated by a growth defect of the corresponding mutant at low pH. The alpha- and beta-CA mutants as well as the double mutant were more resistant to bicarbonate, indicating that both enzymes are involved in bicarbonate metabolism. These phenotypes support important CA-functions in H. pylori urea and bicarbonate metabolism and acid resistance. Thus, both CA enzymes might be required for survival in the gastric niche.