Infection with Helicobacter pylori strongly impacts global health by causing chronic gastritis, ulcer disease and gastric cancer. Although extensive research into the strong immune response against this persistently colonizing bacterium exists, the specific role of CD8+ T cells remains elusive.