The treatment of chronic itch is considered to be a challenge for its non-histamine dependence and the search for alternative medicine is still striving. The pathology of the chronic itch is closely related to immune system regulation and inflammatory response. Oxymatrine (OMT) is a traditional Chinese medicine ingredient extracted from the roots of Sophora flavescens Aiton with significant antitumor, analgesic, and anti-inflammatory effects. However, the underlying mechanism of OMT on chronic itch is obscure, which limits clinical application. Hence, this study is aimed to clarify the pruritus alleviation mechanism of OMT by combining network pharmacology analysis, weighted gene co-expression analysis (WGCNA), and molecular docking. We screened 125 common targets of OMT regulating inflammation and pruritus with pharmacology technology, the GO enrichment function analysis and KEGG signaling pathway analysis to demonstrate the close relation to the signaling pathways regulating inflammation such as MAPK signaling pathway and PI3K-AKT signaling pathway. We adopted the most relevant templates for pruritus diseases, combined with network pharmacology to preliminarily screen out 3 OMT functions and regulatory targets, exerting a good connection and correlation with the target at the screened disease targets. Further experiments were conducted to explore the potential mechanism of OMT using the LPS-induced RAW264.7 cell inflammation model. The results showed that pretreatment with different concentrations of OMT (25 μM, 50 μM, and 100 μM) for 24 h, inhibited expression of IL-6, iNOS TLR4 and TGFR-1 as well as apoptosis of Raw264.7 cells induced by LPS. Moreover, OMT effectively inhibited LPS-induced MAPK pathway activation and the expression of related sites MAP2K1, MAPK8 MAP2K4, and MAPKAP-K2 in RAW 264.7 cells. The OMT also reduced the phosphorylation of p-38, associated with site in the activation of MAPK signaling pathway. These results could contribute to a better understanding of the mechanisms underlying how OMT alleviates inflammation to treat chronic pruritic diseases and provide a potential drug for the treatment of chronic itch.