Sustained glucose and glutamine transport are essential for activated T lymphocytes to support ATP and macromolecule biosynthesis. We now show that glutamine and glucose also fuel an indispensible dynamic regulation of intracellular protein O-GlcNAcylation at key stages of T cell development, transformation and differentiation. Glucose and glutamine are precursors of UDP-GlcNAc, a substrate for cellular glycosyltransferases. Immune activated T cells contained higher concentrations of UDP-GlcNAc and increased intracellular protein O-GlcNAcylation controlled by the enzyme O-GlcNAc glycosyltransferase as compared to naïve cells. We identified Notch, the T cell antigen receptor and c-Myc as key controllers of T cell protein O-GlcNAcylation, via regulation of glucose and glutamine transport. Loss of O-GlcNAc transferase blocked T cell progenitor renewal, malignant transformation, and peripheral T cell clonal expansion. Nutrient-dependent signaling pathways regulated by O-GlcNAc glycosyltransferase are thus fundamental for T cell biology.