In summary, our results indicate that ivermectin suppressed the AR and E2F signaling pathways and DNA damage repair capacity by targeting FOXA1 and Ku70/Ku80 to inhibit cell proliferation and promote cell apoptosis in prostate cancer. Here, XRCC5 is linked to Familial prostate cancer.