BACKGROUND: Aspirin is a classic non-steroidal anti-inflammatory drug. Appropriate doses of aspirin can regulate immunity and promote osteogenesis. The preparation of bone tissue engineering materials, which can release aspirin, regulate the immune microenvironment of the bone defect area and accelerate the repair of the bone defect, and is a current research focus. OBJECTIVE: To prepare a novel hydrogel scaffold that can modulate the immune microenvironment and quickly repair the bone defect area. METHODS: Hydrogel scaffolds containing 0%, 10% and 20% of nano-hydroxyapatite/aspirin/polyvinyl alcohol/gelatin/sodium alginate were prepared. The microstructure, porosity, chemical composition, crystal structure, drug release properties, mechanical properties, swelling properties and degradation properties of the hydrogel scaffolds were characterized. The biocompatibility of the hydrogel scaffolds was evaluated by cell proliferation and cytotoxicity experiments. RESULTS AND CONCLUSION: (1) Scanning electron microscope and porosity results showed that hydrogel scaffolds in the 0% nano-hydroxyapatite group and 10% nano-hydroxyapatite group had better biomimetic hierarchical porous structure, pore connectivity, and porosity. (2) The results of Fourier transform infrared spectroscopy and X-ray diffraction showed that the raw materials in the hydrogel scaffold were combined by physical and chemical double crosslinking, and the crystal phase structure of nano-hydroxyapatite was not be destroyed. (3) The results of mechanical properties showed that the 10% nanohydroxyapatite group had the best compressive modulus and compressive strength. (4) The results of drug release properties showed that the cumulative release rate of aspirin decreased with the increase of nano-hydroxyapatite, but the drug burst release rate decreased and the sustained release time prolonged. (5) The results of swelling properties and degradation properties showed that with the increase of nano-hydroxyapatite, the swelling rate and degradation rate of hydrogel scaffolds of each group decreased. (6) Using the hydrogel scaffold extract to culture mouse pre-osteoblasts, the results of cell proliferation and cytotoxicity experiments showed that the hydrogel scaffold extract could promote cell proliferation, without cytotoxicity. (7) It is concluded that 10% nanohydroxyapatite hydrogel scaffolds have better bionic characterization and biocompatibility, and are expected to be used as bone tissue engineering scaffolds for further studies of osteogenesis and immunomodulatory potential. [ABSTRACT FROM AUTHOR]