Osteonecrosis, also termed aseptic necrosis, is the cellular death of bone components due to interruption of the blood supply. Glucocorticoid (GC) therapy is a common non-traumatic cause of osteonecrosis. However, the mechanism by which GCs induce osteonecrosis remains to be elucidated. The aim of the present study was to investigate the effects of GCs on osteoclast and osteoblast differentiation and function in a GC-induced osteonecrosis mouse model. BALB/c male mice (n=40; 4-weeks-old) were treated with dexamethasone and asparaginase for 8 weeks. The control group (n=20) was administered normal saline. The results demonstrated that the GC-treated group had a lower mean weight compared with the control group. Morphologically, 16/37 (43%) mice demonstrated significant osteonecrotic lesions in the GC-treated group. However, osteonecrotic lesions were not observed in the mice of the control group. Furthermore, immunohistochemistry demonstrated that the GC-treated group had a higher level of osteoprotegerin compared with the control group, without any change in the expression of receptor activator of nuclear factor-κB ligand. In addition, tartarate-resistant acid-phosphatase staining demonstrated significantly decreased osteoclasts in the areas of bone destruction in the GCs-treated group. Furthermore, the present study demonstrated that GCs increased expression levels of osterix and osteocalcin, and decreased expression of matrix metallopeptidase-9 to regulate the differentiation and function of osteoblasts and osteoclasts. The results of the present study suggested that GCs influence bone remolding resulting in decreased osteoclasts formation/differentiation. Therefore, regulating the differentiation and activity of the osteoclasts may be beneficial to the control and treatment of osteonecrosis.