This study clarified that CDK5RAP3, T stage, and primary treatment outcome were independent prognostic factors for PCa; as well as ERLIN2 and CDK5RAP3 were significantly correlated with immune infiltration (especially macrophages) and immune response. Here, ERLIN2 is linked to posterior cortical atrophy.