Bone repair in patients with osteoporosis remains a big challenge because their injury sites are often accompanied by an abnormal level of inflammation and reactive oxygen species (ROS). ROS is previously visualized, represented by hydrogen peroxide (H 2 O 2 ), in the bone defects. In this study, the H 2 O 2 in osteoporosis animals is further visualized, and it is found that the expression of H 2 O 2 is markedly higher than that in normal animals. Subsequently, a composite hydrogel containing manganese dioxide (MnO 2 )-coated calcium phosphate microspheres loaded with fibroblast activating protein inhibitor (FAPi) is prepared. Among them, MnO 2 is designed to act as an advanced army to eliminate H 2 O 2 and generate oxygen, and constant release of FAPi is used to regulate the immune response and bone formation. In vitro experiments show that the hydrogels effectively reduce intracellular ROS, guide macrophages toward M2 polarization, and alleviate inflammation. Furthermore, the hydrogels enhance the osteogenesis and inhibit osteoclastogenesis. Animal experiments demonstrate that the hydrogels can eliminate ROS, regulate macrophages, and promote repair of osteoporotic bone defects. Together, the findings from this study imply that the multi-pronged approach holds great promise to promote the repair of osteoporotic bone defects by rescuing the ROS microenvironment and guiding the immune response.