The aim of this study was to determine the role of the ATG16L1 (rs2241880) and IRGM (rs13361189 and rs4958847) genes polymorphism in Crohn's disease (CD) and ulcerative colitis (UC). Our study included 557 CD and 425 UC patients and 672 ethnically matched Spanish controls and a meta-analysis with the data published to date. The polymorphisms were genotyped using predesigned TaqMan single nucleotide polymorphism genotyping assays. There was a statistically significant difference in the distribution of the ATG16L1 rs2241880 G allele between CD patients and controls in the Spanish population: P ¼ 6.5 Â 10 À9 , odds ratio (OR) ¼ 1.62. Although no differences were observed between UC patients and controls in the Spanish cohort, a meta-analysis demonstrated that the ATG16L1 G allele increase significantly risk for UC (P ¼ 0.0003, pooled OR ¼ 1.08). In addition, our meta-analysis data showed that IRGM rs13361189 and rs4958847 polymorphisms were associated with CD (rs13361189 C allele P ¼ 1.07 Â 10 À19 , pooled OR ¼ 1.34; rs4958847 A allele P ¼ 2.78 Â 10 À17 , pooled OR ¼ 1.31) and UC (rs13361189 P ¼ 0.0069, pooled OR ¼ 1.16; rs4958847 P ¼ 0.014, pooled OR ¼ 1.13). In conclusion, our results confirm the ATG16L1 rs2241880 and IRGM rs13361189 and rs4958847 polymorphisms as important markers for CD susceptibility and indicate that these variants are also associated with UC.