Escherichia coli O157:H7 causes hemorrhagic colitis and the life-threatening hemolytic-uremic syndrome in humans and transiently colonizes healthy cattle at the terminal rectal mucosa. To investigate the role of the O antigen in persistence and colonization in the animal host, we generated an E. coli O157:H7 mutant defective in the synthesis of the lipopolysaccharide side chain (O antigen) by deletion of a putative perosamine synthetase gene (per) in the rfb cluster. The lack of O antigen was confirmed by using sodium dodecyl sulfate-polyacrylamide gel electrophoresis and anti-O157 antibody. The growth rate and cell membrane permeability of the Deltaper mutant were similar to the growth rate and cell membrane permeability of the wild type. Changes in membrane and secreted proteins were observed, but the expression of intimin, EspA, and EspB, implicated in bacterial intestinal colonization, was not altered, as determined by immunoblotting and reverse transcription-PCR. Similar to other O-antigen deletion mutants, the Deltaper mutant was pleiotropic for autoaggregation and motility (it was FliC negative as determined by immunoblotting and flagellum negative as determined by electron microscopy). The abilities of the mutant and the wild type to persist in the murine intestine and to colonize the bovine terminal rectal mucosa were compared. Mice fed the Deltaper mutant shed lower numbers of bacteria (P < 0.05) over a shorter time than mice fed the wild-type or complemented strain. After rectal application in steers, lower numbers of the Deltaper mutant than of the wild type colonized the rectoanal junction mucosa, and the duration of the colonization was shorter (P < 0.05). Our previous work showed that flagella do not influence E. coli O157:H7 colonization at the bovine terminal rectal mucosa, so the current findings suggest that the O antigen contributes to efficient bovine colonization.