Chronic inflammatory pain is mainly manifested by peripheral sensitization. Baimai Ointment(BMO), a classical Tibetan medicine for external use, has good clinical efficacy in the treatment of chronic inflammatory pain, while its pharmacodynamics and mechanism for relieving peripheral sensitization remain unclear. This study established an animal model of chronic inflammatory pain induced by complete Freund's adjuvant to explore the mechanism of BMO in the treatment of chronic inflammatory pain by behavioral test, side effect assessment, network analysis, and experimental verification. The pharmacodynamics experiment showed that BMO increased the thresholds of mechanical pain sensitivity and thermal radiation pain sensitivity of chronic inflammatory pain mice in a dose-dependent manner, and had inhibitory effect on foot swelling, inflammatory mediator, and the expression of transient receptor potential vanilloid-1(TRPV1) and transient receptor potential A1(TRPA1). The results of body weight monitoring, pain sensitivity threshold detection in normal mice, rotarod performance test, and forced swimming test showed that BMO had no obvious toxic or side effect. The network analysis of 51 candidate active molecules selected according to the efficacy of BMO, content of main components, and ADME parameters showed that the inhibitory effect of BMO on chronic inflammatory pain was associated with the core regulatory elements of tumor necrosis factor(TNF) and T cell receptor signaling pathways. BMO down-regulated the protein levels of mitogen-activated protein kinase 14(MAPK14), MAPK1, and prostaglandin-endoperoxide synthase 2(PTGS2), and up-regulated the phosphorylation le-vel of glycogen synthase kinase 3 beta(GSK3 B) in the plantar tissue of mice. In conclusion, BMO can effectively relieve peripheral sensitization of chronic inflammatory pain without inducing tolerance and obvious toxic and side effects. The relevant mechanism may be related to the regulation of BMO on core regulatory elements of TNF and T cell receptor signaling pathways in surrounding tissues.