There is an urgent need to find long-acting, natural osteogenesis-promoting drug systems. In this study, first the potential targets and mechanism of osmanthus fragrans (O. fragrans) extract in regulating osteogenic differentiation based on autophagy were analyzed by network pharmacology and molecular docking. Then, osmanthus fragrans was extracted using the ethanol reflux method and an osmanthus fragrans extract loaded Poly N-isopropylacrylamide (OF/NIPAAM) hydrogel was prepared by electron beam radiation. The chemical components of the osmanthus fragrans extract and the microstructure of OF/NIPAAM hydrogels were characterized by ultraviolet-visible spectrophotometry (UV-Vis) and X-ray diffraction (XRD), respectively. Mouse embryonic osteoblast precursor cells MC3T3-E1 were cultured with different concentrations of OF/NIPAAM hydrogel to discover cell proliferation activity by CCK-8 assay. Alkaline phosphatase (ALP) staining and alizarin red staining were used to observe the differentiation and calcification. Through experimental exploration, we found that a total of 11 targets were predicted, which are TP53, CASP3, SIRT1, etc., and osmanthus fragrans had good binding activity to TP53. In vitro, except for proliferation promotion, OF/NIPAAM hydrogel enhanced ALP activity and formation of mineralized nodules of MC3T3-E1 cells at a concentration equal to or less than 62.5 μg/mL (p < 0.05). The addition of autophagy inhibitor 3-methyladenine (3-MA) reduced ALP activity and mineralized nodule formation.