Two intracellular enzymes, UDP-N-acetylglucosamine-polypeptide β-N-acetylglucosaminyl transferase (OGT) and O-GlcNAc-selective N-acetyl-β-D-glucosaminidase (OGA), mediate addition and removal, respectively, of N-acetylglucosamine (GlcNAc) from intracellular protein substrates.