Uterine corpus endometrial carcinoma (UCEC) is frequently diagnosed among women worldwide. However, there are different prognostic outcomes because of heterogeneity. Thus, the aim of the current study was to identify a gene signature that can predict the prognosis of patients with UCEC. UCEC gene expression profiles were first downloaded from the The Cancer Genome Atlas (TCGA) database. After data processing and forward screening, 11 390 key genes were selected. The UCEC samples were randomly divided into training and testing sets. In total, 996 genes with prognostic value were then examined by univariate Cox survival analysis with a P‐value <0.01 in the training set. Next, using robust likelihood‐based survival modeling, we developed a six‐gene signature (CTSW, PCSK4, LRRC8D, TNFRSF18, IHH, and CDKN2A) with a prognostic function in UCEC. A prognostic risk score system was developed by multivariate Cox proportional hazard regression based on this six‐gene signature. According to the Kaplan‐Meier curve, patients in the high‐risk group had significantly poorer overall survival (OS) outcomes than those in the low‐risk group (log‐rank test P‐value <0.0001). This signature was further validated in the testing dataset and the entire TCGA dataset. In conclusion, we conducted an integrated study to develop a six‐gene signature for the prognostic prediction of patients with UCEC. Our findings may provide novel biomarkers for prognosis and have significant implications in the understanding of therapeutic targets for UCEC.