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