This finding highlights the BATF-IL-23R axis as a promising target for the development of innovative strategies for prostate cancer prevention and treatment. Here, IL23R is linked to prostate cancer.