In conclusion, our study reveals that PTHG2 can accelerate osteogenic differentiation of BMSCs and inhibit adipogenic differentiation of BMSCs and show a better protective effect than PTH (1-34) in the treatment of osteoporosis. This evidence concerns the gene PTH and osteoporosis.