The results showed that the high density of CD3+ T cells, CD4+ T cells, CD8+ T cells, CD68+ M cells and CD163+ M2 cells was significantly related to the poor prognosis (p < 0.001), and CD20+ B cells and CD57+ NK decreased with the progression of cervical cancer. The gene discussed is CD163; the disease is cervical carcinoma.