Described is the synthesis of 8-azidooctyl glycoside derivatives of the Escherichia coli serotype O9a O-chain tetrasaccharide repeating unit and the terminal tetrasaccharide motif in this polysaccharide, which contains a methyl group on O-3 of the distal mannopyranose residue. The assembly of these compounds involved the sequential addition of monosaccharide residues from the reducing to the nonreducing end of the molecule using glycosyl trichloroacetimidate donors. Both compounds were initially prepared as p-methoxyphenyl glycosides, which were converted to the corresponding 8-azidooctyl derivatives at a late stage in the synthesis.