Here, we developed a novel vaccine targeting RANKL and examined its efficacy in a murine model of prostate cancer metastasis. This evidence concerns the gene TNFSF11 and prostate cancer.