In this study, we proposed a three-gene (CDKN2A, BRCA1, and UBL3) risk signature by WGCNA and Lasso Cox regression analysis for predicting overall survival in pancreatic cancer patients, with statistically significant differences in overall survival between high-and low-risk groups in the train cohort and test cohort. This evidence concerns the gene BRCA1 and familial pancreatic carcinoma.