All genes were screened for risk model construction and 14 hub immune-related genes (HTR3E, CBLC, TNF, PSMC4, TRAV30, PDIA3, FGF8, PDGFRA, ESRRA, SBDS, CRHR1, LTA, NR2F1, TNFRSF18) were prognostic in endometrial cancer. Here, NR2F1 is linked to endometrial cancer.