5-alpha-reductase-inhibitors (5-ARIs) are approved for treating benign prostatic hyperplasia (BPH) and have been found to reduce prostate cancer (PCa) risk by 25%. However, trials also have shown 5-ARIs to be associated with high-grade PCa. Whether 5-ARIs increase mortality among those with a diagnosis of PCa remains unclear. To determine long-term outcomes of clinically localized PCa arising in individuals taking 5-ARIs compared with nonusers. This population-based cohort study was conducted between January 2003 and October 2017. Eligible participants were men aged 65 years or older in Ontario, Canada, who developed clinically localized PCa with complete pathological abstraction from the Ontario Health Administrative Databases. Data analysis occurred from November 2017 to November 2022. 5-ARIs before PCa diagnosis. The primary outcomes were overall mortality and PCa-specific mortality. Cause-specific hazard models with inverse probability treatment weights (IPTW) were used to examine associations of 5-ARI use with mortality outcomes. Sensitivity analyses based on prediagnostic 5-ARI use, Gleason score, comorbidity, 5-ARI indication, prostate-specific antigen modeling, and statin use were also performed. The cohort included 19 938 patients with PCa. Of these, 2112 (10.6%; median [IQR] age, 74 [70-79] years) were 5-ARI users and 17 826 (89.4%; median [IQR] age, 71 [68-76] years) were nonusers. During a median (IQR) follow-up of 8.96 (6.28-12.17) years, 6053 (30.4%) died, including 1047 (5.3%) from PCa. 5-ARI use appeared to be associated with increased overall and PCa specific mortality in crude analyses; however, after IPTW, 5-ARI use was not associated with overall mortality (hazard ratio, 0.98; 95% CI, 0.90-1.07; P = .77) or PCa-specific mortality (hazard ratio, 1.02; 95% CI, 0.83-1.25; P = .84). In this population-based cohort study of 5-ARI use prior to PCa diagnosis including long-term follow-up and clinicopathologic details, prediagnostic 5-ARI use was not associated with PCa-specific or all-cause mortality. This study offers reassuring safety data for patients using 5-ARIs before PCa diagnosis for both BPH and chemopreventive reasons.