Previous studies investigating the association of circulating 25-hydroxyvitamin D level with prognosis of prostate cancer yielded controversial results. We conducted a dose–response meta-analysis to elucidate the relationship. PubMed and EMBASE were searched for eligible studies up to July 15, 2018. We performed a dose–response meta-analysis using random-effect model to calculate the summary hazard ratio (HR) and 95% CI of mortality in patients with prostate cancer. Seven eligible cohort studies with 7808 participants were included. The results indicated that higher vitamin D level could reduce the risk of death among prostate cancer patients. The summary HR of prostate cancer-specific mortality correlated with an increment of every 20 nmol/L in circulating vitamin D level was 0.91, with 95% CI 0.87–0.97, P = 0.002. The HR for all-cause mortality with the increase of 20 nmol/L vitamin D was 0.91 (95% CI: 0.84–0.98, P = 0.01). Sensitivity analysis suggested the pooled HRs were stable and not obviously changed by any single study. No evidence of publications bias was observed. This meta-analysis suggested that higher 25-hydroxyvitamin D level was associated with a reduction of mortality in prostate cancer patients and vitamin D is an important protective factor in the progression and prognosis of prostate cancer.