The RANKL-independent mechanisms behind the anti-osteoporosis effects of alkaloids remain elusive. This evidence concerns the gene TNFSF11 and osteoporosis.