The infiltration abundance of B cells naive, plasma cells, T cells CD8, T cells CD4 memory activated, natural killer (NK) cells activated, macrophages M1, macrophages M2, dendritic cells resting, mast cells resting, mast cells activated, and neutrophils was significantly higher in the endometriosis group than in the normal control group. The gene discussed is CD4; the disease is endometriosis.