Given that these three genes are engaged in the regulation of immune cells, as well as the significant enriched KEGG pathways of well-known cancer-related terms that appeared in EMs and RPL, such as PI3K-Akt signaling pathway, p53 signaling pathway, MAPK signaling pathway, cell cycle and Wnt signaling pathway, we undertook a pan-cancer analysis of their expression to ascertain whether endometriosis is associated with endometrial cancer. This evidence concerns the gene TP53 and endometriosis.