The aim of the present study was to investigate the effect of glucocorticoids in osteoblasts and to examine the role of β‑ecdysterone in the pathogenesis of glucocorticoid‑induced osteoporosis. Osteoblasts were induced from bone marrow mesenchymal stem cells, which were isolated from C57BL/6 mice.