Intermediate filaments (IF) are a major component of the metazoan cytoskeleton and are essential for normal cell morphology, motility, and signal transduction. Dysregulation of IFs causes a wide range of human diseases, including skin disorders, cardiomyopathies, lipodystrophy, and neuropathy. Despite this pathophysiological significance, how cells regulate IF structure, dynamics, and function remains poorly understood. Here, we show that site-specific modification of the prototypical IF protein vimentin with O-linked β-N-acetylglucosamine (O-GlcNAc) mediates its homotypic protein-protein interactions and is required in human cells for IF morphology and cell migration. In addition, we show that the intracellular pathogen Chlamydia trachomatis, which remodels the host IF cytoskeleton during infection, requires specific vimentin glycosylation sites and O-GlcNAc transferase activity to maintain its replicative niche. Our results provide new insight into the biochemical and cell biological functions of vimentin O-GlcNAcylation, and may have broad implications for our understanding of the regulation of IF proteins in general.