This study evaluated the prognostic impact of the quality of dose distribution using dosiomics in patients with prostate cancer, stratified by pretreatment prostate-specific antigen (PSA) levels and Gleason grade (GG) group. A total of 721 patients (Japanese Foundation for Cancer Research [JFCR] cohort: N = 489 and Tokyo Radiation Oncology Clinic [TROC] cohort: N = 232) with localized prostate cancer treated by intensity-modulated radiation therapy were enrolled. Two predictive dosiomic features for biochemical recurrence (BCR) were selected and patients were divided into certain groups stratified by pretreatment PSA levels and GG. Freedom from biochemical failure (FFBF) was estimated using the Kaplan-Meier method based on each dosiomic feature and univariate discrimination was evaluated using the log-rank test. As an exploratory analysis, a dosiomics hazard (DH) score was developed and its prognostic power for BCR was examined. The dosiomic feature extracted from planning target volume (PTV) significantly distinguished the high- and low-risk groups in patients with PSA levels >10 ng/mL (7-year FFBF: 86.7% vs 76.1%, P < .01), GG 4 (92.2% vs 76.9%, P < .01), and GG 5 (83.1% vs 77.8%, P = .04). The DH score showed significant association with BCR (hazard score: 2.04; 95% confidence interval: 1.38-3.01; P < .001). The quality of planned dose distribution on PTV may affect the prognosis of patients with poor prognostic factors, such as PSA levels >10 ng/mL and higher GGs. The effects of planned dose distribution on prognosis differ depending on the patient's clinical background.