Zingiber striolatum Diels (Z. striolatum), a widely popular vegetable in China, is famous for its medicinal and nutritional values. However, the anti-inflammatory effects of essential oil from Z. striolatum (EOZS) remain unclear. In this study, EOZS from seven regions in China were extracted and analyzed by GC–MS. LPS-induced RAW264.7 cells and 12-O-Tetradecanoylphorbol 13-acetate (TPA)-stimulated mice were used to evaluate the anti-inflammatory effects of EOZS. Results show that 116 compounds were identified in EOZS from seven locations. Samples 2, 4 and 5 showed the best capability on DPPH radical scavenging and NO inhibition. They also significantly reduced the production of ROS, pro-inflammatory cytokines, macrophage morphological changes, migration and phagocytic capability. Transcriptomics revealed MAPK and NF-κB signaling pathways may be involved in the anti-inflammatory mechanism, and the predictions were proven by Western blotting. In TPA-induced mice, EOZS reduced the degree of ear swelling and local immune cell infiltration by blocking the activation of MAPK and NF-κB signaling pathways, which was consistent with the in vitro experimental results. Our research unveils the antioxidant capability and potential molecular mechanism of EOZS in regulating inflammatory response, and suggests the application of EOZS as a natural antioxidant and anti-inflammatory agent in the pharmaceutical and functional food industries.