What Are Pili and What Is Their Function on a Cell?

Pili are thin, hair-like protein filaments that extend from the surface of bacterial (and some archaeal) cells, serving as tools for gripping surfaces, pulling the cell forward, swapping DNA with neighbors, and forming protective communities. A single bacterium can sport dozens of these appendages at once, each one far thinner than a flagellum and typically performing a job that has nothing to do with swimming. The variety of pili types is striking, and the functions they carry out have turned out to be central to how bacteria cause disease, share antibiotic resistance genes, and survive in hostile environments.

How Pili Are Built

Most pili are assembled from repeating protein subunits called pilins that stack together into a long fiber anchored in the cell’s membrane. In gram-negative bacteria, one of the best-understood assembly routes is the chaperone-usher pathway. A dedicated chaperone protein inside the cell grabs each pilin subunit as it is made, prevents it from misfolding, and escorts it to a barrel-shaped channel (the “usher”) sitting in the outer membrane. The usher then threads pilin subunits one at a time into the growing filament on the cell surface.1PubMed Central. Chaperone-usher pathways: diversity and pilus assembly mechanism Structural studies have mapped each step of this process in molecular detail, showing how the usher acts as both a gatekeeper and an assembly platform.2PubMed Central. Structural biology of the chaperone-usher pathway of pilus biogenesis

Type IV pili use a different machine. Instead of threading through an usher, pilin subunits are pushed up through a pore by an ATPase motor sitting inside the cell. That same motor can run in reverse, rapidly retracting the pilus back into the cell. The secretin pore in the outer membrane has to physically open to let the filament pass: in the closed state the channel tapers from about 8 nanometers wide down to 4 nanometers, but when the pilus extends it shifts into an open conformation roughly 7 nanometers across the whole length, a shift of about 30 ångströms in one set of protein domains.3PubMed Central. Structure of a type IV pilus machinery in the open and closed state

Gram-positive bacteria take yet another approach. They lack an outer membrane entirely, so their pili are assembled differently: enzymes called sortases link pilin subunits together with covalent bonds, creating a polymer that is then stitched directly into the thick peptidoglycan cell wall.4PubMed Central. Pilus biogenesis of Gram-positive bacteria: Roles of sortases and implications for assembly The result is a completely covalent chain, structurally distinct from the noncovalent stacking seen in gram-negative pili.5PubMed. Structure and assembly of Gram-positive bacterial pili: unique covalent polymers At least two different classes of sortase enzymes handle the polymerization step, hinting that gram-positive pilus assembly evolved along more than one path.6PubMed. Biogenesis and Functionality of Sortase-Assembled Pili in Gram-Positive Bacteria

Sticking to Surfaces and Host Cells

The most immediately obvious job of many pili is adhesion. Bacteria use pili to latch onto surfaces the way a grappling hook latches onto a wall. In medicine, the best-known example involves uropathogenic Escherichia coli, the leading cause of urinary tract infections. These bacteria deploy type 1 pili to bind to cells lining the bladder and P pili to bind cells deeper in the urinary tract.7Bacterial pili: structure, synthesis and role in disease. Type 1 and P pili of uropathogenic Escherichia coli Type 1 pili are filamentous noncovalent protein complexes that mediate this adhesion with high specificity, targeting sugar molecules on the surface of host tissue.8PubMed. Quality control of disulfide bond formation in pilus subunits by the chaperone FimC

Without pili, many pathogenic bacteria simply cannot establish an infection. They get flushed away by urine flow, swept out by mucus, or fail to reach the cell surface receptors they need. Pili solve this by acting as long-range tethers: because a pilus extends well beyond the cell body, it can make initial contact with a host cell from a distance, pulling the bacterium in close enough for shorter-range adhesion molecules to lock on.

Type 1 pili also have a clever mechanical trick. Under fluid flow, which constantly tries to wash bacteria away, the coiled quaternary structure of the pilus shaft can unwind like a spring, absorbing drag forces and keeping the bacterium attached rather than ripping it loose.9PubMed Central. Observation of bacterial type I pili extension and contraction under fluid flow This spring-like behavior gives pilus-bearing bacteria an advantage in environments where liquid is constantly moving past, like the inside of a urinary tract or a blood vessel wall.

Twitching Motility and the Power of Retraction

Type IV pili do something that most other pili cannot: they retract. A bacterium extends a type IV pilus, the tip sticks to a surface or another cell, and then the pilus is rapidly pulled back into the cell body, dragging the bacterium forward. This cycle of extend-attach-retract produces a jerky crawling motion called twitching motility.

The forces involved are surprisingly large for a single-molecule machine. Laser-tweezer experiments on Neisseria gonorrhoeae showed that a single retracting type IV pilus can generate forces exceeding 80 piconewtons, pulling at speeds of about one micrometer per second.10PubMed. Pilus retraction powers bacterial twitching motility Retraction depends on PilT, an ATPase motor protein that essentially runs the assembly machine in reverse.11PubMed Central. A force-dependent switch reverses type IV pilus retraction

When multiple pili work together, the forces scale dramatically. Bundled filaments containing eight to ten individual pili retract cooperatively, generating forces in the nanonewton range, roughly ten times what a single filament produces. Bundled pili also sustain those forces over longer periods, whereas a single filament’s pull is transient.12PubMed Central. Cooperative retraction of bundled type IV pili enables nanonewton force generation For context, a nanonewton may sound tiny, but for a cell weighing a trillionth of a gram, these are enormous forces relative to body size.

Swapping DNA Between Cells

Pili are involved in two fundamentally different ways of moving genetic material between bacteria: natural transformation and conjugation.

In natural transformation, a bacterium picks up free-floating DNA from the environment, often left behind by dead cells. Type IV competence pili handle this by binding to double-stranded DNA at their tip and then retracting, physically pulling the DNA strand to the cell surface where it is threaded inside.13PubMed Central. Retraction of DNA-bound type IV competence pili initiates DNA uptake during natural transformation in Vibrio cholerae Experiments in Vibrio cholerae showed that blocking pilus retraction prevents DNA uptake entirely. A minor pilin subunit called FimT appears to be responsible for the actual DNA-binding event at the pilus tip.14Nucleic Acids Research. Improved DNA binding to a type IV minor pilin increases natural transformation

Conjugation is more deliberate. Here, a donor bacterium extends a specialized pilus (the F pilus, in the classic system) to physically bridge itself to a recipient cell and transfer a plasmid, a small circular piece of DNA that often carries antibiotic resistance genes. The F pilus is part of a type IV secretion system, a molecular machine that builds the pilus, establishes stable cell-to-cell contact, and then pumps DNA through a dedicated channel.15PubMed Central. Structural bases for F plasmid conjugation and F pilus biogenesis in Escherichia coli Pilus retraction and mating-pair stabilization help draw the two cells close enough together for the transfer channel to function.16PubMed. F factor conjugation is a true type IV secretion system Conjugation is one of the primary routes by which antibiotic resistance spreads among bacteria in hospitals and the environment, which is why the molecular details of the F pilus system attract so much research attention.

Biofilm Formation and Surface Sensing

Before bacteria commit to forming a biofilm, the structured community of cells embedded in a slimy matrix that makes infections so hard to treat, they first have to sense that they are on a surface. Type IV pili play a starring role in that decision. In Pseudomonas aeruginosa, an opportunistic pathogen responsible for severe lung infections in people with cystic fibrosis, type IV pili mechanically detect surface contact. A protein called PilY1, associated with the pilus machinery, undergoes force-dependent conformational changes upon surface contact, triggering the production of signaling molecules that switch the bacterium from a free-swimming lifestyle into biofilm mode.17PubMed Central. Force-Induced Changes of PilY1 Drive Surface Sensing by Pseudomonas aeruginosa

Pili also contribute directly to the architecture of the biofilm itself. The initial attachment step, the clustering of cells into microcolonies, and the maturation of the biofilm all involve pilus-mediated adhesion. In the urinary tract, type 1 pilus-mediated biofilm formation helps bacteria cling to catheters and bladder walls, creating reservoirs of infection that are difficult to clear with antibiotics.

Dodging the Immune System

Because pili stick out from the cell surface, they are obvious targets for the immune system. Antibodies can bind to pili and neutralize them, blocking adhesion or flagging the bacterium for destruction. Some bacteria fight back by constantly changing the molecular appearance of their pili through a process called antigenic variation.

Neisseria gonorrhoeae, the bacterium responsible for gonorrhea, is the textbook example. It uses a recombination-based system to shuffle DNA segments into the gene encoding its major pilin subunit, PilE, producing a stream of structurally different pilus variants.18PubMed Central. Pilin gene variation in Neisseria gonorrhoeae: reassessing the old paradigms Each variant still makes a functional pilus, but its surface looks different enough that antibodies raised against the previous version no longer recognize it. This diversity-generating system relies on gene conversion and requires the bacterium’s own restriction-modification machinery to function.19PubMed Central. Restriction-modification systems are required for Neisseria gonorrhoeae pilin antigenic variation The result is a moving target that the immune system struggles to pin down, which helps explain why people can be reinfected with gonorrhea repeatedly.

Pili as Entry Points for Viruses

The same pili that help bacteria attach to surfaces also serve as unwitting landing pads for bacteriophages, the viruses that prey on bacteria. Certain phages have evolved to recognize and bind to pili as their primary receptor, using the pilus fiber as an entry route into the cell.

This has been documented across diverse bacteria. The broad-host-range phages DLP1 and DLP2 use type IV pili to infect Stenotrophomonas maltophilia and Pseudomonas aeruginosa. Deleting the gene for the major pilin subunit in either host prevents phage binding and killing, and restoring the gene restores infection. Electron microscopy shows the phages physically attached to the pili.20PubMed Central. Identification and Characterization of Type IV Pili as the Cellular Receptor of Broad Host Range Stenotrophomonas maltophilia Bacteriophages DLP1 and DLP2 This pattern has been known for decades: the pilus-specific phage F116 for P. aeruginosa was described in the early 1970s.21PubMed. F116: a DNA bacteriophage specific for the pili of Pseudomonas aeruginosa strain PAO

From a practical standpoint, the fact that phages exploit pili creates an evolutionary tension. Bacteria that lose their pili to escape phage attack also lose the ability to adhere, form biofilms, and take up DNA. This trade-off is now being explored as a strategy in phage therapy: targeting pilus-dependent phages against infections forces the bacterium into a lose-lose situation where escaping the phage means giving up virulence.

Pili in Archaea

Pili are not exclusive to bacteria. Archaea, the other major domain of single-celled life, produce their own type IV pili that share the same basic structural fold: a long helical segment at one end and a globular domain at the other.22Nature Communications. Two distinct archaeal type IV pili structures formed by proteins with identical sequence Like their bacterial counterparts, archaeal pili mediate surface adhesion and are involved in biofilm formation. In some species, they serve additional roles. The Ups pili of Sulfolobus acidocaldarius, for instance, are induced by UV light exposure and promote cell aggregation and conjugation, likely facilitating DNA repair by bringing damaged cells into contact with intact ones.23PubMed Central. Archaeal type IV pili and their involvement in biofilm formation

The deep evolutionary connection between bacterial and archaeal pili systems is one of the more fascinating findings in microbiology. Phylogenetic analyses suggest the type IV filament superfamily, which includes pili, type II secretion systems, and archaeal flagella, may trace back to the last universal common ancestor of all cellular life.24PubMed Central. Diversification of the type IV filament superfamily into machines for adhesion, protein secretion, DNA uptake, and motility From that ancient starting point, the machinery diversified independently in bacteria and archaea through gene duplications, deletions, and the addition of new components. Even where sequence similarity between these systems has eroded to nearly undetectable levels, structural comparisons still reveal the shared blueprint.25PubMed Central. Structure of an essential type IV pilus biogenesis protein provides insights into pilus and type II secretion systems

The Nanowire Debate

For years, filaments extending from the soil bacterium Geobacter sulfurreducens were called “microbial nanowires” and assumed to be electrically conductive type IV pili. The idea was electrifying in both senses: a protein fiber that could shuttle electrons over micrometer-scale distances opened the door to bio-based electronics. Early low-resolution imaging supported the pilus interpretation, and theoretical work explored how aromatic amino acid residues spaced a few Ã¥ngströms apart inside the pilus could create a hopping pathway for electrons.26PubMed Central. Assessing Possible Mechanisms of Micrometer-Scale Electron Transfer in Heme-Free Geobacter sulfurreducens Pili

High-resolution cryo-electron microscopy has complicated this picture considerably. When the atomic structure of G. sulfurreducens type IV pili was finally solved, it turned out that the alpha-helix in the pilin subunit partially unfolds, shifting the aromatic residues into positions that are incompatible with the conductivity models. The truly conductive filaments, it now appears, are not pili at all but rather polymerized cytochrome proteins, whose stacked heme groups form a continuous conductive wire.27PubMed Central. Microbial nanowires: type IV pili or cytochrome filaments? This does not mean pili play no role in electron transfer, and Geobacter pili along with the cytochrome-based filaments (called OmcS filaments) remain of interest for developing sustainable, protein-based electronic materials.28PubMed Central. Geobacter Protein Nanowires But the lesson for the field was a humbling one about jumping to conclusions from low-resolution data.

Targeting Pili to Fight Infections

Because pili are so important for the early steps of infection, they represent an attractive target for a new class of drugs. The idea behind “anti-virulence” therapy is to disarm bacteria rather than kill them outright. If you prevent bacteria from assembling their pili, they cannot attach to host cells, and the immune system can clear them before an infection takes hold. Unlike traditional antibiotics, this approach does not directly threaten the bacterium’s survival, which in theory puts less evolutionary pressure on the bacterium to develop resistance.

The most advanced example involves small molecules called pilicides. These compounds were designed to block the chaperone-usher pathway that assembles type 1 and P pili in uropathogenic E. coli. A family of bicyclic 2-pyridone pilicides reduced adhesion to bladder cells and biofilm formation by roughly 90 percent in both laboratory and clinical strains.29PubMed Central. Rationally designed small compounds inhibit pilus biogenesis in uropathogenic bacteria Later work showed that a specific pilicide, ec240, disrupts broader virulence circuits beyond pilus assembly alone.30PubMed Central. Pilicide ec240 disrupts virulence circuits in uropathogenic Escherichia coli Pilicides remain in the preclinical stage, but they represent a promising proof of concept for drugs that target bacterial accessories rather than essential growth pathways.31PubMed. Pilicides-small molecules targeting bacterial virulence

Pili-based vaccines are another avenue. If you can train the immune system to recognize pilin proteins, antibodies can block adhesion before infection begins. The challenge, as the gonorrhea example illustrates, is that some pathogens change their pilin sequence so rapidly that a vaccine targeting one variant may miss the next. Researchers working on pilus-targeted vaccines typically look for conserved regions of the pilin protein that the bacterium cannot easily change without losing pilus function.

Why Pili Keep Showing Up in Unrelated Research

One of the striking things about pili is how often they turn up in fields that seem far removed from microbiology. Materials scientists study pilus fibers because their ability to self-assemble into strong, flexible filaments at room temperature, in water, with no toxic reagents, makes them appealing templates for nanotechnology. Environmental scientists care about pili because the extracellular electron transfer they facilitate (whether via true pili or cytochrome filaments) drives important geochemical cycles, including the reduction of metals in anoxic soils. Evolutionary biologists study pili because the type IV filament superfamily is one of the oldest and most versatile molecular systems on the planet, showing up in everything from archaeal motility to bacterial protein secretion.32PubMed. Type II protein secretion and its relationship to bacterial type IV pili and archaeal flagella Even the distinction between pili and archaeal flagella (archaella) has been clarified by structural work showing that while both use related assembly machinery, the resulting filaments have distinct architectures: archaella lack the central pore found in type IV pili and rely on different patterns of subunit interaction.33PubMed Central. CryoEM structure of the Methanospirillum hungatei archaellum reveals structural features distinct from the bacterial flagellum and type IV pilus

The breadth of pilus biology reflects a general principle of microbial life: bacteria reuse and repurpose a small number of molecular toolkits to solve a wide array of problems. The same basic pilus architecture, with variations in pilin sequence, motor components, and accessory proteins, gets adapted for adhesion in one species, motility in another, DNA uptake in a third, and surface sensing in a fourth. Understanding pili is not just an academic exercise; it is central to understanding how bacteria interact with each other, with their hosts, and with the physical world around them.