It can be seen that TGF‐β has a complex regulatory mechanism in H. pylori‐infected gastritis, and it may relate to the level of IL22+ CD4+ T cells and Foxp3+ Treg cells. This evidence concerns the gene CD4 and gastritis.