Impaired kidney function was associated with shorter bone decalcification time, less TB, lower sRANKL, and higher serum PTH, OPG, and sclerostin. This evidence concerns the gene TNFRSF11B and tuberculosis.