High activities of NFκB, TGFβ and JAK-STAT3 pathways prior to treatment were predictive for resistance to anti-TNFα treatment in patients with colon-localized IBD, but not in ileal CD. The gene discussed is STAT3; the disease is inflammatory bowel disease.