Background: Galangin, commonly employed in traditional Chinese medicine for its diverse medicinal properties, exhibits potential in treating inflammatory pain. Nevertheless, its mechanism of action remains unclear. Methods: Mice were randomly divided into 4 groups for 7 days: a normal control group, a galangin-treated (25 and 50 mg/kg), and a positive control celecoxib (20 mg/kg). Analgesic and anti-inflammatory effects were evaluated using a hot plate test, acetic acid-induced writhing test, acetic acid-induced vascular permeability test, formalin-induced paw licking test, and carrageenan-induced paw swelling test. The interplay between galangin, transient receptor potential vanilloid 1 (TRPV1), NF-κB, COX-2, and TNF-α proteins was evaluated via molecular docking. COX-2, PGE2, IL-1β, IL-6, and TNF-α levels in serum were measured using ELISA after capsaicin administration (200 nmol/L). TRPV1 expression in the dorsal root ganglion was analyzed by Western blot. The quantities of substance P (SP) and calcitonin gene-related peptide (CGRP) were assessed using qPCR. Results: Galangin reduced hot plate-induced licking latency, acetic acid-induced contortions, carrageenan-triggered foot inflammation, and capillary permeability in mice. It exhibited favorable affinity towards TRPV1, NF-κB, COX-2, and TNF-α, resulting in decreased levels of COX-2, PGE2, IL-1β, IL-6, and TNF-α in serum following capsaicin stimulation. Galangin effectively suppressed the upregulation of TRPV1 protein and associated receptor neuropeptides CGRP and SP mRNA, while concurrently inhibiting the expression of NF-κB, TNF-α, COX-2, and PGE2 mRNA. Conclusions: Galangin exerts its anti-inflammatory pain effects by inhibiting TRPV1 activation and regulating COX-2, NF-κB/TNF-α expression, providing evidence for the use of galangin in the management of inflammatory pain.