Recent studies have shown that the synthesis of various polysaccharides by bacteria can induce immune responses that are beneficial to the bacterium, the host, or both. Here, we discuss the diverse interactions between bacterial glycans and the host immune system.