The flgH, flgI, and fliF genes of Salmonella typhimurium encode the major proteins for the L, P, and M rings of the flagellar basal body. We have determined the sequences of these genes and the flgJ gene and examined the deduced amino acid sequences of their products. FlgH and FlgI, which are exported across the cell membrane to their destinations in the outer membrane and periplasmic space, respectively, both had typical N-terminal cleaved signal-peptide sequences. FlgH is predicted to have a considerable amount of beta-sheet structure, as has been noted for other outer membrane proteins. FlgI is predicted to have an even greater amount of beta-structure. FliF, as is usual for a cytoplasmic membrane protein of a procaryote, lacked a signal peptide; it is predicted to have considerable alpha-helical structure, including an N-terminal sequence that is likely to be membrane-spanning. However, it had overall a quite hydrophilic sequence with a high charge density, especially towards its C terminus. The flgJ gene, immediately adjacent to flgI and the last gene of the flgB operon, encodes a flagellar protein of unknown function whose deduced sequence was hydrophilic and may correspond to a cytoplasmic protein. Several aspects of the DNA sequence of these genes and their surrounds suggest complex regulation of the flagellar gene system. A notable example occurs within the flgB operon, where between the end of flgG (encoding the distal rod protein of the basal body) and the start of flgH (encoding the L-ring protein) there was an unusually long noncoding region containing a potential stem-loop sequence, which could attenuate termination of transcription or stabilize part of the transcript against degradation. Another example is the interface between the flgB and flgK operons, where transcription termination of the former may occur within the coding region of the latter.