Histological examination was performed using pancreatic tissue sampling by endoscopic ultrasonography-guided fine needle biopsy in two patients with ICI-related pancreatitis; marked lymphocytic infiltration, especially with CD8-positive T cells, was observed in the pancreatic tissue in both cases. The gene discussed is CD8A; the disease is pancreatitis.