Microplastics derived from plastic waste have emerged as a pervasive environmental pollutant with potential transfer and accumulation through the food chain, thus posing risks to both ecosystems and human health. The gut microbiota, tightly intertwined with metabolic processes, exert substantial influences on host physiology by utilizing dietary compounds and generating bacterial metabolites such as tryptophan and bile acid. Our previous studies have demonstrated that exposure to microplastic polystyrene (PS) disrupts the gut microbiota and induces colonic inflammation. Meanwhile, intervention with cyanidin-3-O-glucoside (C3G), a natural anthocyanin derived from red bayberry, could mitigate colonic inflammation by reshaping the gut bacterial composition. Despite these findings, the specific influence of gut bacteria and their metabolites on alleviating colonic inflammation through C3G intervention remains incompletely elucidated. Therefore, employing a C57BL/6 mouse model, this study aims to investigate the mechanisms underlying how C3G modulates gut bacteria and their metabolites to alleviate colonic inflammation. Notably, our findings demonstrated the efficacy of C3G in reversing the elevated levels of pro-inflammatory cytokines (IL-6, IL-1β, and TNF-α) and the upregulation of mRNA expression (Il-6, Il-1β, and Tnf-α) induced by PS exposure. Meanwhile, C3G effectively inhibited the reduction in levels (IL-22, IL-10, and IL-4) and the downregulation of mRNA expression (Il-22, Il-10, and Il-4) of anti-inflammatory cytokines induced by PS exposure. Moreover, PS-induced phosphorylation of the transcription factor NF-κB in the nucleus, as well as the increased level of protein expression of iNOS and COX-2 in the colon, were inhibited by C3G. Metabolisms of gut bacterial tryptophan and bile acids have been extensively implicated in the regulation of inflammatory processes. The 16S rRNA high-throughput sequencing disclosed that PS treatment significantly increased the abundance of pro-inflammatory bacteria (Desulfovibrio, norank_f_Oscillospiraceae, Helicobacter, and Lachnoclostridium) while decreasing the abundance of anti-inflammatory bacteria (Dubosiella, Akkermansia, and Alistipes). Intriguingly, C3G intervention reversed these pro-inflammatory changes in bacterial abundances and augmented the enrichment of bacterial genes involved in tryptophan and bile acid metabolism pathways. Furthermore, untargeted metabolomic analysis revealed the notable upregulation of metabolites associated with tryptophan metabolism (shikimate, l-tryptophan, indole-3-lactic acid, and N-acetylserotonin) and bile acid metabolism (3b-hydroxy-5-cholenoic acid, chenodeoxycholate, taurine, and lithocholic acid) following C3G administration. Collectively, these findings shed new light on the protective effects of dietary C3G against PS exposure and underscore the involvement of specific gut bacterial metabolites in the amelioration of colonic inflammation.