β-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, TLR4 is linked to necrotizing enterocolitis.