Together, XZP treatment significantly mitigated the cancer-induced bone damage and bone osteoclast and osteoblast activity and alleviated prostate cancer-induced bone pain by modulating the RANKL/RANK/OPG pathway and bone cancer-related inflammation in rats. This evidence concerns the gene TNFSF11 and bone cancer.