Therefore, this study aims to explore the impact of GLP-1 RAs on the occurrence of osteoporosis in elderly T2DM patients through a real-world cohort study. This evidence concerns the gene GLP1R and type 2 diabetes mellitus.