Taken together, our results first revealed that BMAL1 regulated osteogenesis of BMSCs through p53 in T2DM, providing a novel direction for further exploration of the mechanism underlying osteoporosis in diabetes. The gene discussed is TP53; the disease is type 2 diabetes mellitus.