β-glucan intervention prevents against NEC in neonatal mice, possibly by suppressing the TLR4-NF-κB signaling pathway, improving intestinal barrier function, and partially regulating intestinal microbiota. Here, NFKB1 is linked to necrotizing enterocolitis.