In the studies presented herein, we show that BAs play a crucial role in formation of the mucus layer in experimental NEC as reduction of ileal BAs significantly increases Muc2 positive cells in rats subjected to the NEC protocol. This evidence concerns the gene MUC2 and necrotizing enterocolitis.