In summary, our study determined that dexamethasone activated the p53 signaling pathway in BMSCs, causing downregulation of osteogenic markers and suppression of extracellular matrix mineralization during osteogenic differentiation, while hesperidin exerted anti-osteoporosis effects by inhibiting the p53 signaling pathway. This evidence concerns the gene TP53 and osteoporosis.