The lipopolysaccharide O-antigen structure expressed by the European Helicobacter pylori model strain G27 encompasses a trisaccharide, an intervening glucan-heptan and distal Lewis antigens that promote immune escape. However, several gaps still remain in the corresponding biosynthetic pathway. Here, systematic mutagenesis of glycosyltransferase genes in G27 combined with lipopolysaccharide structural analysis, uncovered HP0102 as the trisaccharide fucosyltransferase, HP1283 as the heptan transferase, and HP1578 as the GlcNAc transferase that initiates the synthesis of Lewis antigens onto the heptan motif. Comparative genomic analysis of G27 lipopolysaccharide biosynthetic genes in strains of different ethnic origin revealed that East-Asian strains lack the HP1283/HP1578 genes but contain an additional copy of HP1105 and JHP0562. Further correlation of different lipopolysaccharide structures with corresponding gene contents led us to propose that the second copy of HP1105 and the JHP0562 may function as the GlcNAc and Gal transferase, respectively, to initiate synthesis of the Lewis antigen onto the Glc-Trio-Core in East-Asian strains lacking the HP1283/HP1578 genes. In view of the high gastric cancer rate in East Asia, the absence of the HP1283/HP1578 genes in East-Asian H. pylori strains warrants future studies addressing the role of the lipopolysaccharide heptan in pathogenesis.