Dehydrocostus lactone (DHL), a natural sesquiterpene lactone isolated from the traditional Chinese herbs Saussurea lappa and Inula helenium L., has important anti-inflammatory properties used for treating colitis, fibrosis, and Gram-negative bacteria-induced acute lung injury (ALI). However, the effects of DHL on Gram-positive bacteria-induced macrophage activation and ALI remains unclear. In this study, we found that DHL inhibited the phosphorylation of p38 MAPK, the degradation of IκBα, and the activation and nuclear translocation of NF-κB p65, but enhanced the phosphorylation of AMP-activated protein kinase (AMPK) and the expression of Nrf2 and HO-1 in lipoteichoic acid (LTA)-stimulated RAW264.7 cells and primary bone-marrow-derived macrophages (BMDMs). Given the critical role of the p38 MAPK/NF-κB and AMPK/Nrf2 signaling pathways in the balance of M1/M2 macrophage polarization and inflammation, we speculated that DHL would also have an effect on macrophage polarization. Further studies verified that DHL promoted M2 macrophage polarization and reduced M1 polarization, then resulted in a decreased inflammatory response. An in vivo study also revealed that DHL exhibited anti-inflammatory effects and ameliorated methicillin-resistant Staphylococcus aureus (MRSA)-induced ALI. In addition, DHL treatment significantly inhibited the p38 MAPK/NF-κB pathway and activated AMPK/Nrf2 signaling, leading to accelerated switching of macrophages from M1 to M2 in the MRSA-induced murine ALI model. Collectively, these data demonstrated that DHL can promote macrophage polarization to an anti-inflammatory M2 phenotype via interfering in p38 MAPK/NF-κB signaling, as well as activating the AMPK/Nrf2 pathway in vitro and in vivo. Our results suggested that DHL might be a novel candidate for treating inflammatory diseases caused by Gram-positive bacteria.