Calcium signaling in phagocytes is essential for cellular activation, migration, and the potential resolution of infection or inflammation. The generation of reactive oxygen species (ROS) via activation of NADPH (nicotinamide adenine dinucleotide phosphate)-oxidase activity in macrophages has been linked to altered intracellular calcium concentrations. Because of its role as an oxidative stress sensor in phagocytes, we investigated the function of the cation channel transient receptor potential melastatin 2 (TRPM2) in macrophages during oxidative stress responses induced by Helicobacter pylori infection. We show that Trpm2-/- mice, when chronically infected with H. pylori, exhibit increased gastric inflammation and decreased bacterial colonization compared with wild-type (WT) mice. The absence of TRPM2 triggers greater macrophage production of inflammatory mediators and promotes classically activated macrophage M1 polarization in response to H. pylori. TRPM2-deficient macrophages upon H. pylori stimulation are unable to control intracellular calcium levels, which results in calcium overloading. Furthermore, increased intracellular calcium in TRPM2-/- macrophages enhanced mitogen-activated protein kinase and NADPH-oxidase activities, compared with WT macrophages. Our data suggest that augmented production of ROS and inflammatory cytokines with TRPM2 deletion regulates oxidative stress in macrophages and consequently decreases H. pylori gastric colonization while increasing inflammation in the gastric mucosa.