Prostate cancer (PCa) is a complex and biologically diverse disease with no curative treatment options at present. This study aims to utilize computational methods to explore potential anti-PCa compounds based on differentially expressed genes (DEGs), with the goal of identifying novel therapeutic indications or repurposing existing drugs. The methods employed in this study include DEGs-to-drug prediction, pharmacokinetics prediction, target prediction, network analysis, and molecular docking. The findings revealed a total of 79 upregulated DEGs and 110 downregulated DEGs in PCa, which were used to identify drug compounds capable of reversing the dysregulated conditions (dexverapamil, emetine, parthenolide, dobutamine, terfenadine, pimozide, mefloquine, ellipticine, and trifluoperazine) at a threshold probability of 20% on several molecular targets, such as serotonin receptors 2a/2b/2c, HERG protein, adrenergic receptors alpha-1a/2a, dopamine D3 receptor, inducible nitric oxide synthase (iNOS), epidermal growth factor receptor erbB1 (EGFR), tyrosine-protein kinases, and C-C chemokine receptor type 5 (CCR5). Molecular docking analysis revealed that terfenadine binding to inducible nitric oxide synthase (-7.833 kcal.mol−1) and pimozide binding to HERG (-7.636 kcal.mol−1). Overall, binding energy ΔGbind (Total) at 0 ns was lower than that of 100 ns for both the Terfenadine-iNOS complex (-101.707 to -103.302 kcal.mol−1) and Ellipticine-TOPIIα complex (-42.229 to -58.780 kcal.mol−1). In conclusion, this study provides insight on molecular targets that could possibly contribute to the molecular mechanisms underlying PCa. Further preclinical and clinical studies are required to validate the therapeutic effectiveness of these identified drugs in PCa disease.