Our study reveals a genetically inferred causal role for DDR-related genes RPA2 and POLI in prostate cancer risk. Here, RPA2 is linked to prostate cancer.