e Escherichia coli adapts its lifestyle to the variations of environmental growth conditions, swapping between swimming motility or biofilm formation. The stationary-phase sigma factor RpoS is an important regulator of this switch, since it stimulates adhesion and represses flagellar biosynthesis. By measuring the dynamics of gene expression, we show that RpoS inhibits the transcription of the flagellar sigma factor, FliA, in exponential growth phase. RpoS also partially controls the expression of CsgD and CpxR, two transcription factors important for bacterial adhesion. We demonstrate that these two regulators repress the transcription of fliA, flgM, and tar and that this regulation is dependent on the growth medium. CsgD binds to the flgM and fliA promoters around their ؊10 promoter element, strongly suggesting direct repression. We show that CsgD and CpxR also affect the expression of other known modulators of cell motility. We propose an updated structure of the regulatory network controlling the choice between adhesion and motility.M icroorganisms adapt to changes in their environment in many different ways. Among others, they adjust gene expression, modify their metabolism, and change their surface properties by displaying particular surface proteins. The latter phenomenon is directly linked to the choice of a particular "lifestyle," adhesion (biofilm formation) or motility (planktonic growth). In Escherichia coli, expression of flagella at the cell surface predestines the cell for motility. More than 50 genes are involved in the synthesis of flagella. These genes are classified into three groups according to their temporal expression sequence. The master regulator of flagellar synthesis, FlhDC, is expressed first, and the corresponding genes constitute the class 1 flagellar operon. FlhDC activates the expression of class 2 genes, encoding the inner part of the flagellum as well as the flagellar sigma factor FliA ( 28 or F ) and the FlgM protein (anti-28 ). The class 3 genes are transcribed by 28 -RNA polymerase (RNAP) and encode the outer components of the flagellum as well as chemotaxis proteins (for a review, see reference 1).Flagellar synthesis is tightly controlled by several environmental conditions, including osmolarity (2) and temperature (3). Many of these environmental influences affect the transcription of flagellar genes and control in particular the expression of the master regulator, FlhDC. The regulators of the flhDC operon include cyclic AMP (cAMP)-cAMP receptor protein (CRP), H-NS (4), OmpR (2), LrhA (5), integration host factor (IHF) (2, 6), RpoN (7), and Fur (8). Other regulators affect cell motility by controlling fliA expression. These factors include NsrR (9), signaling molecules such as cyclic diguanylic acid (c-di-GMP) (reviewed in reference 10), the alarmone polyphosphate guanosine [(p)ppGpp] (11), and quorum-sensing molecules such as autoinducer-2 (AI-2) (12)(13)(14).Transcriptomic data show that the stationary sigma factor RpoS ( 38 ) represses the transcription of flagellar gene...