Subgroup analysis revealed that SIRT1 levels in T2DM patients with osteoporosis or osteopenia exhibited a significant reduction compared to those with normal BMD (P < 0.05). Here, SIRT1 is linked to osteoporosis.