Indigo naturalis (IN) is a traditional Chinese medicine, named Qing-Dai, which is extracted from indigo plants and has been used to treat patients with inflammatory bowel disease (IBD) in China and Japan. Though there are notable effects of IN on colitis, the mechanisms remain elusive. Regarding the significance of alterations of intestinal flora related to IBD and the poor water solubility of the blue IN powder, we predicted that the protective action of IN on colitis may occur through modifying gut microbiota. To investigate the relationships of IN, colitis, and gut microbiomes, a dextran sulfate sodium (DSS)-induced mice colitis model was tested to explore the protective effects of IN on macroscopic colitis symptoms, the histopathological structure, inflammation cytokines, and gut microbiota, and their potential functions. Sulfasalazine (SASP) was used as the positive control. Firstly, because it was a mixture, the main chemical compositions of indigo and indirubin in IN were detected by ultra-performance liquid chromatography (UPLC). The clinical activity score (CAS), hematoxylin and eosin (H&E) staining results, and enzyme-linked immunosorbent assay (ELISA) results in this study showed that IN greatly improved the health conditions of the tested colitis mice, ameliorated the histopathological structure of the colon tissue, down-regulated pro-inflammatory cytokines, and up-regulated anti-inflammatory cytokines. The results of 16S rDNA sequences analysis with the Illumina MiSeq platform showed that IN could modulate the balance of gut microbiota, especially by down-regulating the relative quantity of Turicibacter and up-regulating the relative quantity of Peptococcus. The therapeutic effect of IN may be closely related to the anaerobic gram-positive bacteria of Turicibacter and Peptococcus. The inferred metagenomes from 16S data using PICRUSt demonstrated that decreased metabolic genes, such as through biosynthesis of siderophore group nonribosomal peptides, non-homologous end-joining, and glycosphingolipid biosynthesis of lacto and neolacto series, may maintain microbiota homeostasis during inflammation from IN treatment in DSS-induced colitis.