In diabetic groups, HbA1c, BALP, TRACP-5b, and OC levels could increase the risk of osteoporosis (P <0.05). This evidence concerns the gene ACP5 and osteoporosis.