ObjectiveThe implantation of PMMA bone cement results in an immune response and the release of PMMA bone cement particles causes an inflammatory cascade. Our study discovered that ES-PMMA bone cement can induce M2 polarization of macrophages, which has an anti-inflammatory immunomodulatory effect. We also delved into the molecular mechanisms that underlie this process.MethodsIn this study, we designed and prepared samples of bone cement. These included PMMA bone cement samples and ES-PMMA bone cement samples, which were implanted into the back muscles of rats. At 3, 7, and 14 days after the operation, we removed the bone cement and a small amount of surrounding tissue. We then performed immunohistochemistry and immunofluorescence to observe the polarization of macrophages and the expression of related inflammatory factors in the surrounding tissues. The RAW264.7 cells were exposed to lipopolysaccharide (LPS) for 24 h to establish the macrophage inflammation model. Then, each group was treated with enoxaparin sodium medium, PMMA bone cement extract medium, and ES-PMMA bone cement extract medium, respectively, and cultured for another 24 h. We collected cells from each group and used flow cytometry to detect the expressions of CD86 and CD206 in macrophages. Additionally, we performed RT-qPCR to determine the mRNA levels of three markers of M1 macrophages (TNF-α, IL-6, iNOS) and two M2 macrophage markers (Arg-1, IL-10). Furthermore, we analyzed the expression of TLR4, p-NF-κB p65, and NF-κB p65 through Western blotting.ResultsThe immunofluorescence results indicate that the ES-PMMA group exhibited an upregulation of CD206, an M2 marker, and a downregulation of CD86, an M1 marker, in comparison to the PMMA group. Additionally, the immunohistochemistry results revealed that the levels of IL-6 and TNF-α expression were lower in the ES-PMMA group than in the PMMA group, while the expression level of IL-10 was higher in the ES-PMMA group. Flow cytometry and RT-qPCR analyses revealed that the expression of M1-type macrophage marker CD86 was significantly elevated in the LPS group compared to the NC group. Additionally, M1-type macrophage-related cytokines TNF-α, IL-6, and iNOS were also found to be increased. However, in the LPS + ES group, the expression levels of CD86, TNF-α, IL-6, and iNOS were decreased, while the expression of M2-type macrophage markers CD206 and M2-type macrophage-related cytokines (IL-10, Arg-1) were increased compared to the LPS group. In comparison to the LPS + PMMA group, the LPS + ES-PMMA group demonstrated a down-regulation of CD86, TNF-α, IL-6, and iNOS expression levels, while increasing the expression levels of CD206, IL-10, and Arg-1. Western blotting results revealed a significant decrease in TLR4/GAPDH and p-NF-κB p65/NF-κB p65 in the LPS + ES group when compared to the LPS group. Additionally, the LPS + ES-PMMA group exhibited a decrease in TLR4/GAPDH and p-NF-κB p65/NF-κB p65 levels when compared to the LPS + PMMA group.ConclusionES-PMMA bone cement is more effective than PMMA bone cement in down-regulating the expression of the TLR4/NF-κB signaling pathway. Additionally, it induces macrophages to polarize towards the M2 phenotype, making it a crucial player in anti-inflammatory immune regulation.Graphical AbstractSupplementary InformationThe online version contains supplementary material available at 10.1186/s13018-023-03865-8.