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. Here, BMAL1 is linked to osteoporosis.