O-GlcNAcylation - the attachment of O-linked N-acetylglucosamine (O-GlcNAc) moieties to cytoplasmic, nuclear and mitochondrial proteins - is a post-translational modification that regulates fundamental cellular processes in metazoans. A single pair of enzymes - O-GlcNAc transferase (OGT) and O-GlcNAcase (OGA) - controls the dynamic cycling of this protein modification in a nutrient- and stress-responsive manner. Recent years have seen remarkable advances in our understanding of O-GlcNAcylation at levels that range from structural and molecular biology to cell signalling and gene regulation to physiology and disease. New mechanisms and functions of O-GlcNAcylation that are emerging from these recent developments enable us to begin constructing a unified conceptual framework through which the significance of this modification in cellular and organismal physiology can be understood.