We identified a group of Th9-like MAIT cells in the gastric mucosa of gastritis patients with the ability to secrete IL-9, and elucidated that OX40/OX40L axis promoted proliferation and IL-9 production of MAIT cells. Here, TNFSF4 is linked to gastritis.