Flagella are helical, rotating appendages that propel bacteria through liquids, driven by proton gradients across the membrane. Pili (fimbriae) are hair-like structures that mediate adhesion to surfaces and host cells. Type IV pili enable twitching motility. These structures are essential for pathogenesis and environmental survival.
You already know about the basic types of pili and fimbriae and their roles in bacterial biology, and you have a sense of bacterial cell surface architecture. Now we can examine how these appendages actually work as molecular machines and why they matter so much for both free-living survival and pathogenesis.
Bacterial flagella are among the most remarkable molecular machines in biology. Each flagellum consists of three parts: a long helical filament made of thousands of copies of the protein flagellin, a short curved hook that acts as a universal joint, and a basal body embedded in the cell envelope that functions as a rotary motor. The motor is powered by the proton motive force — the same electrochemical gradient across the cytoplasmic membrane that drives ATP synthesis. Protons flowing through the stator proteins (MotA/MotB) drive rotation of the rotor at speeds up to 1,000 revolutions per second in some species. When the motor spins counterclockwise (in *E. coli*), the flagellar filaments bundle together and the cell swims forward in a smooth "run." When one or more motors switch to clockwise rotation, the bundle flies apart and the cell "tumbles," reorienting randomly. This run-and-tumble pattern, modulated by chemotaxis signaling, allows bacteria to navigate chemical gradients — swimming toward nutrients and away from toxins.
Pili (also called fimbriae) serve a fundamentally different purpose: attachment. Common Type I pili, found on many Enterobacteriaceae, are assembled from pilin subunits via the chaperone-usher pathway and tipped with adhesin proteins like FimH, which binds mannose residues on host epithelial cells. This is why uropathogenic *E. coli* can colonize the bladder — FimH locks onto mannose-rich uroplakin proteins lining the bladder wall. Without these pili, the bacteria would be flushed out by urine flow. The clinical relevance is direct: adhesion is typically the first step in infection, and blocking it (with mannose analogs, for example) is an active area of antimicrobial research.
Type IV pili deserve special attention because they do something no other pilus type can: generate movement on solid surfaces. These pili extend from the cell, attach to a surface, and then retract by depolymerizing pilin subunits back into the membrane — physically pulling the cell forward in a jerky motion called twitching motility. The retraction motor (PilT) generates remarkable force, among the strongest known in biology relative to scale. Type IV pili also mediate natural transformation — the uptake of free DNA from the environment — and are major virulence factors in pathogens like *Neisseria gonorrhoeae* and *Pseudomonas aeruginosa*. Together, flagella and pili illustrate a broader principle: bacteria use distinct molecular machines for movement through liquids versus attachment and movement on surfaces, and the presence or absence of these structures directly determines which ecological niches and host tissues a bacterium can colonize.