Patchouli alcohol (PA) is a widely used pharmaceutical ingredient in various Chinese traditional herbal medicine (THM) formulations, known for its modulatory effects on the gut microbiota. The present study investigated PA's anti-inflammatory and regulatory effects on gut microbiota and its mode of action (MOA). Based on the assessments of ulcerative colitis (UC) symptoms, PA exhibited promising preventions against inflammatory response. In accordance, the expressions of pro-inflammatory factors, including interleukin (IL)-1β, IL-6, tumor necrosis factor-α, and chemokine ligand 5 were significantly attenuated under PA treatment. Furthermore, PA enhanced the intestinal barrier damage caused by dextran sodium sulfate (DSS). Interestingly, PA exhibited negligible inventions on DSS-induced gut microbiota dysbiosis. PA did not affect the diversity of the DSS gut microbiota, it did alter the composition, as evidenced by a significant increase in the Firmicutes-Bacteroidetes (F/B) ratio. Finally, the MOA of PA against inflammation in DSS-treated mice was addressed by suppressing the expressions of heme oxygenase-1 (HO-1) and inducible nitric oxide synthase (iNOS). In conclusion, PA prevented inflammatory response in the DSS-induced UC mice model via directly suppressing HO-1 and iNOS-associated antioxidant signal pathways, independent of its effects on gut microbiota composition.