The results of this study indicate that the signaling pathway Shh-Gli-Bmi1 plays a critical role in p27 deficiency induced bone anabolic action, and suggest that Bmi1 may be an important therapeutic target for osteoporosis induced by activation of p27 signaling or inactivation of sonic hedgehog signaling. Here, GLI1 is linked to osteoporosis.