Glycans are sequences of carbohydrates that are added to proteins or lipids to modulate their structure and function. Glycans modify proteins required for regulation of immune cells, and alterations have been associated with inflammatory conditions. For example, specific glycans regulate T-cell activation, structures, and functions of immunoglobulins; interactions between microbes and immune and epithelial cells; and malignant transformation in the intestine and liver. We review the effects of protein glycosylation in regulation of gastrointestinal and liver functions, and how alterations in glycosylation serve as diagnostic or prognostic factors, or as targets for therapy