<b><i>Background:</i></b> Most studies on gut microbiome of irritable bowel syndrome (IBS) have focused on fecal microbiota, instead of mucosa-associated microbiota (MAM). <b><i>Aims:</i></b> The aim of this study wasto investigate the MAM in IBS patients including the difference in subtypes of IBS, namely, diarrhea-predominant IBS (IBS-D) and constipation-predominant IBS (IBS-C). <b><i>Methods:</i></b> Endoscopic brush samples were taken from terminal ileum and sigmoid colon of patients with IBS (17 IBS-D patients and 7 IBS-C patients) and 10 healthy controls. The MAM of samples was profiled by 16S rRNA gene amplicon sequencing. Potential changes in the MAM at the functional level were evaluated using PICRUSt software and the KEGG database. <b><i>Results:</i></b> There were no differences <i>in MAM composition between terminal</i> ileum and sigmoid colon according to β-diversity based on the UniFrac distance. In view of α-diversity, Shannon (evenness) but not Chao1 (richness) or observed operational taxonomic units tended to be lower in sigmoid colon MAM of IBS-C and IBS-D than the control group. The abundance of 4 genera in the sigmoid colon and 7 genera in the terminal ileum was significantly different among the 3 groups. Linear discriminant analysis effect size (LEfSe) showed that the genera of <i>Ruminococcus</i>, <i>Akkermansia</i>, <i>Butyrivibrio</i>, <i>Methylobacterium</i>, and <i>Microbacterium</i> and the family Erysipelotrichaceae were significantly higher in the IBS-C group, and the abundance of the genera <i>Streptococcus</i>, <i>Acidaminococcus</i>, <i>Butyricicoccus</i>, and <i>Parvimonas</i> was significantly higher in the IBS-D group. In addition, the proportion of genes responsible for the secretion system and LPS biosynthesis was significantly higher and that for methane metabolism, lysine biosynthesis, and enzyme families was significantly lower in the IBS-D group than in the IBS-C group. <b><i>Conclusion:</i></b> Dysbiosis pattern and the function of the microbiome seem to be different among subtypes of IBS, and MAM may play a crucial role in IBS symptom generation.