Androgen receptor (AR) signaling has a key role in the pathogenesis of prostate cancer. AR gene amplification, AR overexpression, and activating mutations in the AR occur more frequently as castration-resistant prostate cancer (CRPC) evolves, with intratumoral androgen levels remaining sufficient for AR activation despite castration. The source of these androgens might be either adrenal or intratumoral. AR signaling, therefore, remains a valid treatment target for patients with CRPC. CYP17 is a key enzyme for androgen biosynthesis. The imidazole antifungal agent ketoconazole weakly and nonspecifically inhibits CYP17, but remains unlicensed for this indication. Chemists at the Cancer Research UK Centre for Cancer Therapeutics have designed a novel, selective, irreversible inhibitor of CYP17 called abiraterone, which is more than 20 times more potent than ketoconazole. Abiraterone acetate, a prodrug, has undergone phase I assessment, and is rapidly progressing from phase II to phase III trials, in view of its high level of antitumor activity. This agent is safe and well tolerated, and activity profiles suggest that approximately 50% of CRPC remains AR-ligand driven. Other CYP17 inhibitors with alternative mechanisms of action, for example VN/124-1, are in preclinical development. The rationale for and implications of CYP17 inhibition and the CYP17-targeting agents in development are discussed in this Review.