Diabetes was observed to inhibit osteoblast differentiation in vitro, evidenced by downregulating the protein expression of OCN, OPN and ALP, decreasing primary cilia biosynthesis, and suppressing the Hedgehog signalling pathway. This evidence concerns the gene SPP1 and diabetes mellitus.