Pectins are dietary fibers with different structural characteristics. Specific pectin structures can influence the gastrointestinal immune barrier by directly interacting with immune cells or by impacting the intestinal microbiota. The impact of pectin strongly depends on the specific structural characteristics of pectin; for example, the degree of methyl-esterification, acetylation and rhamnogalacturonan I or rhamnogalacturonan II neutral side chains. Here, we review the interactions of specific pectin structures with the gastrointestinal immune barrier. The effects of pectin include strengthening the mucus layer, enhancing epithelial integrity, and activating or inhibiting dendritic cell and macrophage responses. The direct interaction of...