OPG and osteoporosis drug denosumab inhibit RANKL/RANK mediated cytokine-induced β cell death and OPG reverts rodent T1D. Here, TNFSF11 is linked to type 1 diabetes mellitus.