The present invention pertains to a composition for inducing a pattern of gut barrier maturation similar to that observed with breast-feeding and able to improve gut barrier maturation, e.g. during neonatal stress. In particular, the present invention relates to an infant formula containing a combination of specific ingredients designed to provide a synergistic effect all along gastrointestinal tract and barrier function.