Epstein-Barr virus (EBV) infection is closely related to gastric carcinoma (GC). In this study, we identified a set of DEGs (different expression genes) between EBVaGC (EBV-associated gastric carcinoma) and EBVnGC (EBV-negative gastric carcinoma) through multiple bioinformatics analysis using the data from GEO (Gene Expression Omnibus) dataset GSE51575, and identified ten hub genes (CXCL10, C3, CXCL9, CXCL11, SST, ICAM1, CHRM2, NPY, GBP5 and GBP1). Therefore, we performed relevant survival analysis and immune infiltration analysis, then verified the mRNA expression in GC cell lines and TCGA database. CXCL11 was finally selected to be a potential biomarker for a better prognosis and tumor infiltrating. This may provide a new view about immune therapy for EBVaGC. [ABSTRACT FROM AUTHOR]