Vitamin D protects against thyrotoxicosis-induced bone loss in mice through the OPG/RANKL and Wnt/β-catenin pathways. Here, TNFSF11 is linked to thyrotoxicosis.