The frequency of Escherichia coli infection has lead to concerns over pathogenic bacteria in our food supply and a demand for therapeutics. Glycolipids on gut cells serve as receptors for the Shiga-like toxin produced by E. coli. Oligosaccharide moiety analogues of these glycolipids can compete with receptors for the toxin, thus acting as antibacterials. An enzymatic synthesis of the P1 trisaccharide (Galalpha1,4Galbeta1,4GlcNAc), one of the oligosaccharide analogues, was assessed in this study. In the proposed synthetic pathway, UDP-glucose was generated from sucrose with an Anabaena sp. sucrose synthase and then converted with an E. coli UDP-glucose 4-epimerase to UDP-galactose. Two molecules of galactose were linked to N-acetylglucosamine subsequently with a Helicobacter pylori beta-l,4-galactosyltransferase and a Neisseria meningitidis alpha-1,4-galactosyltransferase to produce one molecule of P1 trisaccharide. The four enzymes were coexpressed in a single genetically engineered E. coli strain that was then permeabilized and used to catalyze the enzymatic reaction. P1 trisaccharide was accumulated up to 50 mM (5.4 g in a 200-ml reaction volume), with a 67% yield based on the consumption of N-acetylglucosamine. This study provides an efficient approach for the preparative-scale synthesis of P1 trisaccharide with recombinant bacteria.