This study provides evidence that genetic variants of immunodeficiency pathway-related genes, especially TNFRSF13B, contribute to prostate cancer recurrence through modulating the cell cycle and p53 signalling pathways (Fig. 6). Here, TP53 is linked to prostate cancer.