T2DM individuals demonstrated a significantly lower CTX, a marker of bone resorption, and P1NP, a marker of bone formation. Here, CYP27A1 is linked to type 2 diabetes mellitus.