SUMMARYHelicobacter pylori, a common pathogen that causes chronic gastritis and cancer, has evolved to establish persistent infections in the human stomach. Epidemiological evidence suggests that H. pylori with both highly active vacuolating cytotoxin A (VacA) and cytotoxin-associated gene A (CagA), the major virulence factors, has an advantage in adapting to the host environment. However, the mechanistic relationship between VacA and CagA remains obscure. Here, we report that CagA interferes with eukaryotic endocytosis, as revealed by genome-wide screening in yeast. Moreover, CagA suppresses pinocytic endocytosis and the cytotoxicity of VacA in gastric epithelial cells without affecting clathrin-dependent endocytosis. Our data suggest that H. pylori secretes VacA to attack distant host cells while injecting CagA into the gastric epithelial cells to which the bacteria are directly attached, thereby protecting these attached host cells from the cytotoxicity of VacA and creating a local ecological niche. This mechanism might allow H. pylori to balance damage to one population of host cells with the preservation of another, allowing for persistent infection.