Septic lung injury is one of main causes of high mortality in severe patients. Inhibition of excessive inflammatory response is considered as an effective strategy for septic lung injury. Previous studies have shown that cannabinoid receptor 2 (CB2), a G protein-coupled receptor, play an important role in immunosuppression. Whether CB2 can be used as a therapeutic target for septic lung injury is unclear. The aim of this study is to explore the role of CB2 in sepsis and its potential mechanism. In this study, treatment with HU308, a specific agonist of CB2, could reduce lung pathological injury, decrease the level of inflammatory cytokines and strengthen the expression of autophagy-related gene after cecal ligation puncture (CLP)-induced sepsis in mice. Similar results were obtained in RAW264.7 macrophages after LPS treatment. Furthermore, the effect of HU308 could be blocked by autophagy blocker 3-MA in vivo and in vitro. These results suggest that CB2 serves as a protective target for septic lung injury by decreasing inflammatory factors, which is associated with the enhancement of autophagy.