Lack of bone-derived RANKL prevented CKD-induced bone microarchitectural and turnover alterations. Here, TNFSF11 is linked to chronic kidney disease.