The function of TNFRSF11B (TNF receptor superfamily member 11b, ENSG00000164761) is as follows. Acts as a decoy receptor for TNFSF11/RANKL and thereby neutralizes its function in osteoclastogenesis. Inhibits the activation of osteoclasts and promotes osteoclast apoptosis in vitro. Bone homeostasis seems to depend on the local ratio between TNFSF11 and TNFRSF11B. May also play a role in preventing arterial calcification. May act as decoy receptor for TNFSF10/TRAIL and protect against apoptosis. TNFSF10/TRAIL binding blocks the inhibition of osteoclastogenesis. {ECO:0000269|PubMed:22664871, ECO:0000269|PubMed:9168977}.