In this study, we determined the EBV status of 571 GC patients and profiled tumor-infiltrating T-cell subsets and PD-1/PD-L1 expression patterns. Here, CD274 is linked to gastric cancer.