M1 macrophages secrete a large number of proinflammatory factors and promote the expansion of atherosclerotic plaques and processes. Salvianolic acid B (Sal B) exerts anti-inflammatory, antitumor and other effects, but no study has addressed whether Sal B can regulate the polarization of macrophages to exert these anti-atherosclerotic effects. Therefore, we investigated the inhibition of Sal B in M1 macrophage polarization and the underlying mechanism. The effects of different treatments on cell viability, gene expression and secretion of related proteins, phenotypic markers and cytokines were detected by MTT and western blot assays, RT‒qPCR and ELISAs. Cell viability was not significantly changed when the concentration of Sal B was less than 200 μM, and Lipopolysaccharide (LPS) (100 ng/mL) + interferon-γ (IFN-γ) (2.5 ng/mL) successfully induced M1 polarization. RT‒qPCR and ELISAs indicated that Sal B can downregulate M1 marker (Inducible Nitric Oxide Synthase (iNOS), Tumor Necrosis Factor-α (TNF-α), and Interleukin-6 (IL-6)) and upregulate M2 marker (Arginase-1 (Arg-1) and Interleukin-10 (IL-10)) expression. Western blotting was performed to measure the expression of Nuclear Factor-κB (NF-κB), p-Akt, p-mTOR, LC3-II, Beclin-1, and p62, and the results suggested that Sal B inhibits the M1 polarization of RAW264.7 macrophages by promoting autophagy via the NF-κB signalling pathway. The study indicated that Sal B inhibits M1 macrophage polarization by inhibiting NF-κB signalling pathway activation and downregulating Akt/mTOR activation to promote autophagy.