To reveal the mechanism by which metformin affects hyperglycaemia-induced osteoporosis, we treat a mouse osteoporosis cell model with metformin and find that osteoblast mineralization increases and PPARγ expression decreases. Here, PPARG is linked to osteoporosis.