Objective To investigate the expression of shh protein in prostate cancer (PCa) and its relationship with clinical prognosis.Methods From August 2016 to June 2018, a total of 82 patients with prostate cancer who received treatment in the Third Hospital of Xingtai City were selected as the study group and 88 patients with benign prostatic hyperplasia (BPH) during the same period were selected as the control group. The expression of shh protein in prostate tissue was detected by immunohistochemistry. The expression level of shh protein was compared between the two groups, and the relationship between shh protein expression and clinicopathological features of PCa patients was analyzed. COX proportional risk model was used to analyze the prognostic factors of prostate cancer.Results The positive rate of shh protein expression in PCa was higher than that in BPH (80.49% vs. 50.00%, P<0.05). There were statistically significant differences in Gleason score, T stage, N stage and prostatespecific antigen (PSA) level between positive and negative shh protein expression groups (P<0.05), that is, Gleason score and PSA level were higher in positive group, and the proportion of T3 to 4 in T stage and N1 in N stage were higher. After 3 years of follow-up, 28 patients (34.15%) died. COX proportional hazard model analysis showed Gleason score (HR=1.669, 95%CI: 1.034-2.692), T stage (HR=1.704, 95%CI:1.22-2.587), N stage (HR=1.968, 95%CI: 1.070-3.620), shh protein (HR=1.885, 95%CI: 1.085-3.276) were independent risk factors affecting prognosis of patients (all P<0.05). In PCa patients with high shh protein expression, 26 cases (56.52%) survived and 20 cases (48.48%) died. Logrank analysis showed that the survival rate of the low expression group was higher than that of the high expression positive group (P<0.05).Conclusions shh protein is highly expressed in PCa and is closely related to the occurrence and development of PCa. It is a risk factor affecting the postoperative prognosis of patients and can be used as a biomarker to evaluate the postoperative prognosis.