Objective To explore the correlation between the triglyceride-glucose(TyG)index and bone turn-over markers as well as bone mineral density(BMD)in patients with type 2 diabetes,and to analyze the role of insulin resistance in osteoporosis.Methods Retrospective of medical records of T2DM adult patients admitted to the Endocrinol-ogy Department of Guang'anmen Hospital,Chinese Academy of Chinese Medical Sciences from January 2017 to December 2022 were selected.Data on fasting blood glucose(FBG)and triglycerides(TG)was collected to calculate the TyG index.Bone turnover markers such as C-terminal telopeptide of type I collagen(CTX),N-terminal propeptide of type I procollagen(P1NP),osteocalcin(OC),and serum alkaline phosphatase(ALP),as well as BMD,were recorded.Patients were grouped according to the quartiles of the TyG index to compare the differences among groups.Spearman correlation analysis and multiple linear regression were used to analyze the association between the TyG index and osteoporosis.Results A total of 4 541 patients were finally included.Spearman correlation analysis showed that the TyG index was negatively correlated with CTX,P1NP,and OC(P<0.05),and positively correlated with ALP(P<0.05).After adjusting for other influencing factors,multiple linear regression revealed a significant negative correlation between the TyG index and CTX as well as OC(P<0.05),while the generalized additive model indicated a nonlinear relationship between the TyG index and P1NP(P<0.05).After adjustment for other factors,the TyG index showed no association with ALP(P>0.05).Conclusions A higher TyG index in patients with type 2 diabetes is associated with lower bone turnover,suggesting that the TyG index is an valuable predictive indicator for the development of osteoporosis in patients with type 2 diabetes.