Background Inflammatory bowel disease (IBD) is a chronic inflammatory disease that associated with complicated interaction between immune, gut microbiota and environmental factors in a genetically vulnerable host. Dysbiosis is often seen in patients with IBD. Our aim is to investigate the fecal microbiota in patients with IBD and compared to healthy controls in Taiwan. Methods In this cross-sectional study, we investigated fecal microbiota in 20 patients with IBD and 48 healthy controls. Fecal samples from both IBD patients and controls were analyzed by next-generation sequencing method and relevant software. Results The IBD group showed lower bacterial richness and diversity compared to the control group. The principal coordinate analysis also revealed significant structural difference between the IBD group and the control group. These findings were consistent whether the analysis was based on operational taxonomic unit or amplicon sequence variant. However, no significant difference was found when comparing the composition of fecal microbiota between ulcerative colitis (UC) and Crohn’s disease (CD). Further analysis showed that Lactobacillus, Enterococcus, Bifidobacterium and Veillonella were dominant in the IBD group, while Faecalibacterium and Subdoligranulum were dominant in the control group at genus level. When comparing UC, CD and control group, Lactobacillus, Bifidobacterium and Enterococcus were identified as dominant genera in the UC group. Fusobacterium and Escherichia_Shigella were dominant in the CD group. Faecalibacterium and Subdoligranulum were dominant in the control group. Conclusions Compared to the healthy control, the IBD group showed dysbiosis with a significant decreased in both richness and diversity of gut microbiota.