Flagella-mediated motility is recognized to be one of the major factors contributing to virulence in Campylobacter jejuni. Motility of this bacterium is known to be phase variable, although the mechanism of such variation remains unknown. C. jejuni genome sequencing revealed a number of genes prone to phase variation via a slipped-strand mispairing mechanism. Many of these genes are hypothetical and are clustered in the regions involved in formation of three major cell surface structures: capsular polysaccharide, lipooligosaccharide and flagella. Among the genes of unknown function, the flagellar biosynthesis and modification region contains seven hypothetical paralogous genes designated as the motility accessory factor (maf) family. Remarkably, two of these genes (maf1 and maf4) were found to be identical and both contain homopolymeric G tracts. Using insertional mutagenesis it was demonstrated that one of the genes, maf5, is involved in formation of flagella. Phase variation of the maf1 gene via slipped-strand mispairing partially restored motility of the maf5 mutant. The maf family represents a new class of bacterial genes related to flagellar biosynthesis and phase variation. Reversible expression of flagella may be advantageous for the adaptation of C. jejunito the varied in vivo and ex vivo environments encountered during its life cycle, as well in evasion of the host immune response.