Severe acute pancreatitis (SAP) is an inflammatory disease of the pancreas with a high mortality rate. Macrophages play a crucial role in the pathogenesis of pancreatitis. Tectoridin (Tec) is a highly active isoflavone with anti-inflammatory pharmacological activity. However, the role of Tec in the SAP process is not known. The purpose of this study was to investigate the therapeutic effect and potential mechanism of Tec on SAP. To establish SAP mice by intraperitoneal injection of caerulein and Lipopolysaccharide (LPS), the role of Tec in the course of SAP was investigated based on histopathology, biochemical indicators of amylase and lipase and inflammatory factors. The relationship between Tec and macrophage polarization was verified by immunofluorescence, real-time quantitative PCR and Western blot analysis. We then further predicted the possible targets and signal pathways of action of Tec by network pharmacology and molecular docking, and validated them by in vivo and in vitro. In this study, we demonstrated that Tec significantly reduced pancreatic injury in SAP mice, and decreased serum levels of amylase and lipase. The immunofluorescence and Western blot analysis showed that Tec promoted macrophage M2 polarization. Network pharmacology and molecular docking predicted that Tec may target ERK2 for the treatment of SAP, and in vivo and in vitro experiments proved that Tec inhibited the ERK MAPK signal pathway. In summary, Tec can target ERK2, promote macrophage M2 polarization and attenuate pancreatic injury, Tec may be a potential drug for the treatment of SAP.