In principle, native RANKL sequences could be used as an immunogen to treat osteoporosis, but this approach could transiently increase bone resorption via RANK activation. Here, TNFSF11 is linked to osteoporosis.