Salmonella enterica serovar Typhimurium is a facultative intracellular pathogen that causes inflammation, necrosis, and diarrhea in pigs, as well as being an important source of food-borne diseases in humans. Probiotics and prebiotics are promising alternatives to antibiotics to control and prevent intestinal infections. The present work investigated a recently developed -galactomannan (GM) prebiotic compared to the proven probiotic Saccharomyces cerevisiae var. boulardii on porcine ileum intestinal epithelial cells (IECs) of the IPI-2I line and monocyte-derived dendritic cells (DCs) cocultured in vitro with Salmonella. We observed that both S. cerevisiae var. boulardii and GM inhibited the association of Salmonella with IECs in vitro. Our data indicated that GM has a higher ability than S. cerevisiae var. boulardii to inhibit Salmonella-induced proinflammatory mRNA (cytokines tumor necrosis factor alpha [TNF-␣], interleukin-1␣ [IL-1␣], IL-6, and granulocyte-macrophage colony-stimulating factor [GM-CSF] and chemokines CCL2, CCL20, and CXCL8) and at protein levels (IL-6 and CXCL8). Additionally, GM and S. cerevisiae var. boulardii induced some effects on DCs that were not observed on IECs: GM and S. cerevisiae var. boulardii showed slight upregulation of mRNA for TNF-␣, GM-CSF, and CCR7 receptor on porcine monocyte-derived dendritic cells (DCs). Indeed, the addition of GM or S. cerevisiae var. boulardii on DCs cocultured with Salmonella showed higher gene expression (mRNA) for TNF-␣, GM-CSF, and CXCL8 compared to that of the control with Salmonella. In conclusion, the addition of GM inhibits Salmonella-induced proinflammatory profiles in IECs but may promote DC activation, although associated molecular mechanisms remain to be elucidated.