In the present study, we analysed the effects of the IBD-associated variants within the gene loci encoding PTPN2 and PTPN22 on intestinal microbiota composition. Here, PTPN2 is linked to irritable bowel syndrome.