Pili are hair-like protein fibers that extend from the surface of prokaryotic cells and perform a surprisingly wide range of jobs, from anchoring bacteria to human tissue to pulling entire cells across surfaces to shuttling DNA between neighbors. Far from being a single-purpose structure, pili come in several distinct types, each adapted for different tasks. Type IV pili alone have been described as retractable multifunctional nanofibers found on the surface of numerous bacterial and archaeal species, and they represent just one branch of a diverse family of surface appendages that shape how prokaryotes interact with their environment, their hosts, and each other.
Sticking to Surfaces and Host Cells
The most widely recognized role of pili is adhesion. Many disease-causing bacteria use pili to latch onto the cells lining your urinary tract, gut, lungs, or other tissues. Without that initial grip, the bacteria would simply be flushed away by bodily fluids. A major class of adhesive pili in Gram-negative bacteria is assembled through the chaperone-usher pathway, which is the most widespread of the five known pathways that build adhesive pili on the bacterial surface.1PubMed Central. Structural biology of the chaperone-usher pathway of pilus biogenesis These surface structures play essential roles in targeting bacterial pathogens to the host.2PubMed Central. Chaperone-usher pathways: diversity and pilus assembly mechanism
The adhesion itself is remarkably specific. At the tip of a pilus (or embedded in it) sits an adhesin protein with a domain that recognizes particular sugar molecules on the surface of host cells. In uropathogenic E. coli, for example, the adhesin proteins PapG and FimH each contain a carbohydrate-binding lectin domain that lets them lock onto specific receptors.3Cell Host & Microbe. Adhesins in the Context of Bacterial Figuring Out Biology–Microbial Mechanisms of Host Contact – Section: Chaperone-Usher Pili In Neisseria gonorrhoeae, the bacterium responsible for gonorrhea, a tip-located protein called PilC mediates specific interaction with human epithelial cells, helping explain the cell and species preferences of neisserial infections.4PubMed. Neisseria PilC protein identified as type-4 pilus tip-located adhesin This specificity is a big part of why certain bacteria only infect certain tissues or certain hosts.
Conjugation and Sharing DNA
Pili also serve as the physical bridge for bacterial conjugation, sometimes called bacterial sex. During conjugation, a donor bacterium extends a specialized pilus (the F pilus, in the classic example) to make contact with a recipient cell, then transfers a copy of a plasmid, a small circle of DNA that can carry genes for antibiotic resistance or other useful traits. This is a major mechanism of horizontal gene transfer, meaning DNA passes sideways between cells rather than from parent to offspring.5PubMed Central. Plasmid Transfer by Conjugation in Gram-Negative Bacteria: From the Cellular to the Community Level
For decades, the working assumption was that the pilus simply reeled in the recipient cell until the two bacteria were touching, and DNA transfer happened only through direct cell-to-cell contact. Recent work has complicated that picture. Using microfluidic chambers and time-lapse imaging, researchers showed that the F pilus can act as a conduit for single-stranded DNA even when donor and recipient cells are physically separated, connected only by the extended pilus. These distant transfer events accounted for roughly 6% of all observed transfers in the experiment.6PubMed Central. The F pilus serves as a conduit for the DNA during conjugation between physically distant bacteria That finding matters because it means pili are not just grappling hooks that pull cells together; they can also function as tiny tunnels for genetic material.
The conjugation machinery belongs to the type IV secretion system superfamily, a large family of molecular machines that bacteria use to move proteins and DNA across their membranes. The F plasmid-encoded transfer system was first reported in the 1940s, yet researchers are still working out the precise architecture of the transfer channel and how it relates physically to the pilus itself.7PubMed Central. Structural bases for F plasmid conjugation and F pilus biogenesis in Escherichia coli
Twitching Motility
When people think of bacterial movement, they usually picture spinning flagella propelling cells through liquid. But many bacteria also crawl across moist surfaces using type IV pili in a process called twitching motility. The mechanism works like a grappling hook: the pilus extends outward, attaches to the surface, and then retracts, dragging the cell forward.8PubMed. Type IV pili and twitching motility This is completely independent of flagella and allows bacteria to navigate along surfaces in ways flagella cannot.
The retraction force is impressive. Measurements using laser tweezers found that type IV pili generate forces exceeding 100 piconewtons, making them the strongest linear molecular motors characterized at the time of that measurement.9PubMed. Using laser tweezers to measure twitching motility in Neisseria To put that in context, 100 piconewtons is an enormous force for a single molecular machine. And the pilus retraction motor is not just an on-off switch; it responds to load. When the pulling force against a retracting pilus exceeds a threshold, the motor can reverse direction and switch back to extension, suggesting a built-in force-sensing feedback loop.10PubMed Central. A force-dependent switch reverses type IV pilus retraction
This retraction-extension cycle is powered by an ATPase motor called PilB, which forms a ring-shaped complex of six subunits and hydrolyzes ATP to drive pilus assembly. The motor shows complex behavior: its activity changes across a physiologically relevant range of ATP concentrations, including a decline at high concentrations that indicates substrate inhibition.11Portland Press (Biochemical Journal). The type IV pilus assembly motor PilB is a robust hexameric ATPase with complex kinetics A matched disassembly ATPase, PilT, drives retraction on the other end of the cycle. Together, these motors give the pilus its grappling-hook dynamics.
Grabbing Free DNA From the Environment
Type IV pili have another trick related to DNA acquisition that is distinct from conjugation. During a process called natural transformation, some bacteria actively take up free-floating DNA from their surroundings and incorporate it into their own genome. Most competent bacterial species use type IV pili for the initial DNA uptake step.12PubMed Central. The molecular basis of FimT-mediated DNA uptake during bacterial natural transformation
Work in Vibrio cholerae showed exactly how this works. The type IV competence pilus binds to extracellular double-stranded DNA at its tip, and pilus retraction then pulls that DNA toward the cell surface. Retraction is directly coupled to DNA internalization: when retraction was physically blocked, DNA uptake stopped entirely.13PubMed Central. Retraction of DNA-bound type IV competence pili initiates DNA uptake during natural transformation in Vibrio cholerae The pilus, in other words, is not merely a passive bystander during transformation; it is the fishing line that reels the DNA in.
Building and Shaping Biofilms
Biofilms, the structured communities of bacteria encased in a slimy matrix, depend heavily on pili at several stages. During the earliest phase of biofilm development, surface structures including type IV pili aid cells in aggregating and forming microcolonies. While flagella help bring cells to a surface in the first place, the twitching motility of type IV pili lets bacteria cluster together once they arrive.14BBA Advances. Capturing the micro-communities: Insights into biogenesis and architecture of bacterial biofilms – Section: 2.1. Initiation
Beyond type IV pili, another class of surface fibers called curli plays a major structural role in mature biofilms. Curli are functional amyloid fibers, meaning they adopt the same cross-beta sheet architecture associated with amyloid diseases in humans, but here they serve a deliberate purpose. A large fraction of the extracellular matrix holding Gram-negative cells within a biofilm is composed of these curli fibers.15PubMed Central. Structural analysis and architectural principles of the bacterial amyloid curli Curli biogenesis is a distinct process from type IV pilus assembly, involving a dedicated secretion system that exports subunits to the cell surface where they polymerize into the tough, adhesive fibers that reinforce the biofilm scaffold.16PubMed Central. Bacterial amyloid formation: structural insights into curli biogensis
Sensing Surfaces and Triggering Virulence
One of the more recently appreciated roles of pili is as sensory organs. Pseudomonas aeruginosa, a notorious opportunistic pathogen, uses its type IV pili to detect contact with surfaces within seconds. The mechanism is mechanical: when a pilus attaches to a solid surface and then retracts, the tension on the stretched pilus triggers a conformational change that feeds into a signaling cascade. That cascade, operating through a chemotaxis-like sensory system, regulates cAMP production and the expression of hundreds of genes, including key virulence factors.17PubMed Central. Type IV pili mechanochemically regulate virulence factors in Pseudomonas aeruginosa
This means pili are not just tools for sticking and moving. They also function as mechanosensors that tell the bacterium it has arrived at a surface, which in turn flips a switch toward a more virulent lifestyle. The discovery reframes pili as active participants in the decision-making circuitry of pathogenic bacteria.
Evading the Immune System
Many bacteria that depend on pili for host attachment face a problem: the immune system can learn to recognize pilin proteins (the building blocks of the pilus) and mount a targeted antibody response. Some species have evolved an elegant workaround called antigenic variation. Neisseria gonorrhoeae, for instance, uses a gene conversion mechanism to constantly shuffle the sequence of its major pilin gene, producing numerous protein variants. This allows the bacteria to escape immune surveillance by expressing a variant but functional pilus, and can also alter overall pilus expression levels.18PubMed Central. Restriction-modification systems are required for Neisseria gonorrhoeae pilin antigenic variation
Antigenic variation has long been considered a key strategy by which virulent bacteria dodge immune defenses.19PubMed. Antigenic variation of pilin regulates adhesion of Neisseria meningitidis to human epithelial cells The result is a moving target: even if you develop antibodies against one version of the pilin protein, the bacterium quickly presents a different version. This constant shuffling is one reason gonorrhea has been so difficult to develop a vaccine against.
Electrically Conductive Pili
Not all pili stick to the familiar playbook of adhesion and motility. Geobacter species, soil bacteria that thrive in environments without oxygen, produce electrically conductive pili (sometimes called e-pili or microbial nanowires) that can transfer electrons over remarkably long distances. These conductive pili facilitate electron transfer to insoluble iron oxides in sediment, to other microbial species in mixed communities, and through electrically conductive biofilms that Geobacter builds.20PubMed Central. The electrically conductive pili of Geobacter species are a recently evolved feature for extracellular electron transfer
This is a genuinely unusual capability. Most organisms transfer electrons only across very short distances within their own cells. Geobacter’s e-pili extend that range to micrometers and beyond, enabling the bacterium to “breathe” minerals the way we breathe oxygen. The practical implications have attracted interest in bioelectronics and microbial fuel cells, where harnessing this natural wiring could generate electricity from organic waste.
An Unintended Vulnerability to Viruses
Pili are so prominent on bacterial surfaces that some bacteriophages (viruses that infect bacteria) have evolved to use them as landing pads. Several phages that infect Pseudomonas aeruginosa require type IV pili for infection; mutations that eliminate pili synthesis make the bacteria resistant to these phages, while restoring pilus production restores phage sensitivity.21PubMed Central. Characterization of Pseudomonas aeruginosa Bacteriophage L5 Which Requires Type IV Pili for Infection The same pattern holds for phages of Stenotrophomonas maltophilia, where the type IV pilus has been identified as the primary receptor for attachment.22PubMed Central. Identification and Characterization of Type IV Pili as the Cellular Receptor of Broad Host Range Stenotrophomonas maltophilia Bacteriophages DLP1 and DLP2
This creates an evolutionary tension. Bacteria need pili for adhesion, motility, and gene transfer, but displaying them also opens the door to viral attack. Losing pili confers phage resistance but sacrifices the advantages pili provide. In some environments, this trade-off drives cycles of pilus expression and loss, a dynamic arms race between bacteria and their viral predators.
Pili in Gram-Positive Bacteria and Archaea
Most textbook discussions of pili focus on Gram-negative bacteria, but Gram-positive species build their own versions through an entirely different construction method. Rather than the chaperone-usher pathway or the type IV system used by Gram-negatives, Gram-positive pilus assembly is a two-step process that relies on enzymes called pilus-specific sortases to link subunits together covalently, followed by a housekeeping sortase that anchors the finished pilus to the cell wall.23PubMed Central. Pilus biogenesis of Gram-positive bacteria: Roles of sortases and implications for assembly The resulting structures are made of covalently bonded protein subunits, making them exceptionally stable.24PubMed. Biogenesis and Functionality of Sortase-Assembled Pili in Gram-Positive Bacteria These sortase-assembled pili serve many of the same adhesion functions seen in Gram-negative organisms but achieve them through a fundamentally different engineering solution.
Archaea, the other major domain of prokaryotes, also produce pilus-like surface structures. Despite sharing functions with their bacterial counterparts, including adhesion and motility, many archaeal surface structures assemble through a mechanism more closely related to the bacterial type IV pilus system than to any other pathway.25PubMed. Diversity, assembly and regulation of archaeal type IV pili-like and non-type-IV pili-like surface structures Some archaeal pili are built to survive extreme conditions. In the hyperthermophile Ignicoccus hospitalis, which lives near hydrothermal vents, an extensively glycosylated pilus incorporates a core structure homologous to the bacterial type IV pilus domain, wrapped in sugar decorations that likely protect it from the extreme heat.26PubMed Central. An extensively glycosylated archaeal pilus survives extreme conditions
Pili in Beneficial Relationships With Plants
Pili are not exclusively tools of pathogens. The nitrogen-fixing endophyte Azoarcus sp. strain BH72 uses type IV pili to colonize rice roots in a relationship that benefits the plant. Studies in germ-free rice cultures showed that deleting the main pilin gene strongly reduced the ability of Azoarcus to form microcolonies on root surfaces. A mutant that still had pili but lacked the retraction motor PilT could colonize the root surface at about half the normal level but was almost completely unable to invade and establish itself inside the plant tissue.27PubMed. Twitching motility is essential for endophytic rice colonization by the N2-fixing endophyte Azoarcus sp. strain BH72 Twitching motility, in other words, is not just for navigating host tissue during infection; it is also the mechanism by which beneficial microbes penetrate plant roots to set up symbiotic shop.
The attachment step itself is mediated by type IV pili in Azoarcus, paralleling the way pathogenic bacteria attach to animal cells.28FEMS Microbiology Reviews. Azospirillum, a free-living nitrogen-fixing bacterium closely associated with grasses: genetic, biochemical and ecological aspects The molecular toolbox is strikingly similar across harmful and helpful bacteria; the difference lies in what happens after attachment, not in the attachment machinery itself.
Pili as Drug Targets
Because pili are so central to the ability of bacteria to cause infections, they represent attractive targets for new therapies. A number of strategies have been explored, including vaccines against pilin proteins, small molecules that competitively block pilus-mediated adhesion, and compounds that disrupt the machinery of pilus assembly.29PubMed Central. Therapeutic Approaches Targeting the Assembly and Function of Chaperone-Usher Pili
One of the most developed approaches involves a class of small molecules called pilicides. These were rationally designed to interfere with the chaperone-usher pathway used to assemble pili in uropathogenic E. coli.30Organic & Biomolecular Chemistry. Pilicides—small molecules targeting bacterial virulence One compound, pilicide ec240, was shown to decrease the levels of multiple pilus types (type 1, P, and S pili) and also reduce motility, effectively disarming several virulence circuits at once.31PubMed Central. Pilicide ec240 disrupts virulence circuits in uropathogenic Escherichia coli
The appeal of targeting pili is that these therapies do not kill bacteria outright the way traditional antibiotics do. Instead, they disarm the pathogen, stripping away its ability to attach and invade. In theory, this creates less evolutionary pressure for resistance, since bacteria that survive are not being subjected to a lethal selective force. Whether that theoretical advantage holds up in practice remains an open question, but the approach is a promising alternative in an era of growing antibiotic resistance.