This study aimed to investigate the impact of H. pylori infection on the expression of TGF-β pathway proteins in patients with chronic gastritis, as well as the changes in Th17 and Treg cells and their cytokine expression levels. The gene discussed is TGFB1; the disease is chronic gastritis.