Finally, we identified CCNB1 and EZH2 as prognostic hub genes in docetaxel resistant PCa and further investigated the relationship between immune infiltration and these two genes. This evidence concerns the gene CCNB1 and posterior cortical atrophy.