In this study, we found that diabetes impairs fracture healing through Foxo1-mediated transcriptional inhibition of IFT80 expression and disruption of primary cilia formation in osteoblasts, thereby resulting in impaired osteogenesis. This evidence concerns the gene IFT80 and diabetes mellitus.