XBP1 splicing, ER stress and the UPR in NEC are associated with increased IL6 and IL8 expression levels, altered T cell differentiation and severe epithelial injury. This evidence concerns the gene XBP1 and necrotizing enterocolitis.