Compared with the C group, the bone microstructure indexes [bone mineral density (BMD), bone volume/tissue volume (BV/TV), cortical thickness (Ct.Th), and connectivity density (Conn.D)], the bone biomechanical properties (maximum load, fracture load, yield stress, and elastic modulus), and the osteogenic differentiation factors (RUNX2, OSX, and BMP2) of the T2DM group were significantly decreased (all p < 0.05). The gene discussed is BMP2; the disease is type 2 diabetes mellitus.