Neisseria meningitidis PglL belongs to a novel family of bacterial oligosaccharyltransferases (OTases) responsible for O-glycosylation of type IV pilins. Although members of this family are widespread among pathogenic bacteria, there is little known about their mechanism. Understanding the O-glycosylation process may uncover potential targets for therapeutic intervention, and can open new avenues for the exploitation of these pathways for biotechnological purposes. In this work, we demonstrate that PglL is able to transfer virtually any glycan from the undecaprenyl pyrophosphate (UndPP) carrier to pilin in engineered Escherichia coli and Salmonella cells. Surprisingly, PglL was also able to interfere with the peptidoglycan biosynthetic machinery and transfer peptidoglycan subunits to pilin. This represents a previously unknown post-translational modification in bacteria. Given the wide range of glycans transferred by PglL, we reasoned that substrate specificity of PglL lies in the lipid carrier. To test this hypothesis we developed an in vitro glycosylation system that employed purified PglL, pilin, and the lipid farnesyl pyrophosphate (FarPP) carrying a pentasaccharide that had been synthesized by successive chemical and enzymatic steps. Although FarPP has different stereochemistry and a significantly shorter aliphatic chain than the natural lipid substrate, the pentasaccharide was still transferred to pilin in our system. We propose that the primary roles of the lipid carrier during O-glycosylation are the translocation of the glycan into the periplasm, and the positioning of the pyrophosphate linker and glycan adjacent to PglL. The unique characteristics of PglL make this enzyme a promising tool for glycoengineering novel glycan-based vaccines and therapeutics.Bacterial surface components are frequently composed of, or decorated with, carbohydrates. Among these glycosylated components are the type IV pili, hair-like structures protruding from the bacterial surface, mainly formed by a single protein generically named pilin (1). Type IV pili are important for host cell adhesion and virulence. Furthermore, pilins are O-glycosylated in diverse pathogenic bacteria, including Neisseria meningitidis and N. gonorrhoea. The glycan moieties in both species consist of short oligosaccharides, up to three sugar residues in length. Several pilin glycosylation (pgl) genes have been identified in N. meningitidis encoding for glycosyltransferases and sugar-modifying enzymes that are required for the biosynthesis of the oligosaccharides (2). However, how the glycans are transferred to pilin has been just recently described. Power et al. identified in a gene in N. meningitidis containing the Wzy_C PFAM domain (PF04932), a signature of enzymes that participate in O antigen biosynthesis, and which is also present in the PilO oligosaccharyltransferase (OTase) involved in pilin glycosylation in Pseudomonas aeruginosa 1244 (3). Inactivation of this gene, named pglL, resulted in an increase in the electrophoretic mobility of pilin, c...