The structure of the O-polysaccharide of the lipopolysaccharide of Proteus mirabilis 2002 was elucidated by chemical methods and 1H and 13C NMR spectroscopy.