Here, we demonstrate that androgen receptor pathway inhibitor (ARPI) plus irradiation (IR) triggered robust anticancer immunity in prostate cancers in both patients and mice. Here, AR is linked to Familial prostate cancer.