The general clinical data, osteocalcin (OC), glycosylated hemoglobin (HbA1c), bone mineral density (BMD), and the Montreal Cognitive Assessment (MoCA) scores of 50 patients with T2DM were collected. Here, BGLAP is linked to type 2 diabetes mellitus.