The lipopolysaccharide O antigen of Shigella flexneri 2a has two preferred chain lengths, a short (S-OAg) composed of an average of 17 repeated units and a very long (VL-OAg) of about 90 repeated units. These chain length distributions are controlled by the chromosomally encoded WzzB and the plasmid-encoded WzzpHS-2 proteins, respectively. In this study, genes wzzB, wzzpHS-2 and wzy (encoding the O-antigen polymerase) were cloned under the control of arabinose- and rhamnose-inducible promoters to investigate the effect of varying their relative expression levels on O antigen polysaccharide chain length distribution. Controlled expression of the chain length regulators wzzB and wzzpHS-2 revealed a dose-dependent production of each modal length. Increase in one mode resulted in a parallel decrease in the other, indicating that chain length regulators compete to control the degree of O antigen polymerization. Also, when expression of the wzy gene is low, S-OAg but not VL-OAg is produced.