In this study, we constructed a model using a Cox proportional hazards model based on the expression of eight immune-related genes that were associated with prognosis in prostate cancer: EDNRB, ANGPTL2, TNFSF15, TNFRSF10D, EDN2, BMP2, NLRP14, and PLK1. This evidence concerns the gene EDN2 and prostate carcinoma.