In conclusion, our research shows that the systemic inflammatory markers, serum CD4 and CD19 and tumor infiltration of CD4+T cells, CD8+T cells, and CD19+B cells can predict the prognosis of GC patients. This evidence concerns the gene CD8A and neoplasm.