In diabetic groups, HbA1c, BALP, TRACP-5b, and OC levels could increase the risk of osteoporosis (P <0.05). Here, BGLAP is linked to osteoporosis.