Our findings also reveal a basis for the indispensable role of T cells in protection of the intestinal barrier: T cells activated locally via non-classical antigen presentation by the intestinal epithelium are required to sustain high amplitude IL-22 signalling to IECs as they undergo developmental shifts in response to infection. This evidence concerns the gene IL22 and infection.