Herein, we found that CD8+ T cells were higher in the eutopic endometria of patients with endometriosis than in the endometria of normal controls and that elevated CD8+ T cells increased the risk of infertility in patients with endometriosis. This evidence concerns the gene CD8A and endometriosis.