Comparison of patients whose anti-TNF treatment failed with those whose therapy did not reveal statistically significant differences between both populations for type of IBD and line of biological treatment (p value 0.012 and 0.001, respectively). This evidence concerns the gene TNF and inflammatory bowel disease.