Genome-wide association studies have linked Iroquois-Homeobox 4 (IRX4) as a robust expression quantitative-trait locus associated with prostate cancer (PCa) risk. However, the intricate mechanism and regulatory factors governing IRX4 expression in PCa remain poorly understood. Here, we unveil enrichment of androgen-responsive gene signatures in metastatic prostate tumors exhibiting heightened IRX4 expression. Furthermore, we uncover a novel interaction between IRX4 and the androgen receptor (AR) co-factor, FOXA1, suggesting that IRX4 modulates PCa cell behavior through AR cistrome alteration. Remarkably, we identified a distinctive short insertion-deletion polymorphism (INDEL), upstream of the IRX4 gene that differentially regulates IRX4 expression through the disruption of AR binding. This INDEL emerges as the most significant PCa risk-associated variant within the 5p15 locus, in a genetic analysis involving 82,591 PCa cases and 61,213 controls and was associated with PCa survival in patients undergoing androgen-deprivation therapy. These studies suggest the potential of this INDEL as a prognostic biomarker for androgen therapy in PCa and IRX4 as a potential therapeutic target in combination with current clinical management.