In contrast to FOS, while 2′-FL and 3′-FL effectively mitigated barrier dysfunction caused by IL-6 and symptoms of DSS-induced colitis, they bolstered the expression of tight junction proteins (ZO-1 and Claudin-1) to enhance intestinal barrier function. Here, IL6 is linked to colitis.