We detected PD-L1, B7-H3, B7-H4, CD8, and CD68 expression in samples by immunohistochemical staining of 62 chronic superficial gastritis (CSG) samples, 72 chronic atrophic gastritis (CAG) samples, 68 low-grade intraepithelial neoplasia (LIN) samples, 65 high-grade intraepithelial neoplasia (HIN) samples obtained from gastroscopic biopsies and 50 gastric adenocarcinoma (GA) samples obtained from surgical resections. Here, CD8A is linked to gastritis.