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. The gene discussed is PSMC4; the disease is endometrial cancer.