Type IV pili (Tfp), which are key virulence factors in many bacterial pathogens, define a large group of multipurpose filamentous nanomachines widespread in Bacteria and Archaea. Tfp biogenesis is a complex multistep process, which relies on macromolecular assemblies composed of 15 conserved proteins in model gramnegative species. To improve our limited understanding of the molecular mechanisms of filament assembly, we have used a synthetic biology approach to reconstitute, in a nonnative heterologous host, a minimal machinery capable of building Tfp. Here we show that eight synthetic genes are sufficient to promote filament assembly and that the corresponding proteins form a macromolecular complex at the cytoplasmic membrane, which we have purified and characterized biochemically. Our results contribute to a better mechanistic understanding of the assembly of remarkable dynamic filaments nearly ubiquitous in prokaryotes.type IV pili | type IV filamentous nanomachines | filament assembly | synthetic biology E volution has provided prokaryotes with sophisticated surface nanomachines that endow them with many functions instrumental to their ability to colonize most niches on Earth. Among these engineering marvels, type IV filamentous (Tff) nanomachines (1), of which type IV pili (Tfp) are the paradigm, are unique for two reasons. They are exceptionally (i) widespread, with genes encoding distinctive proteins found in virtually every prokaryotic genome, and (ii) multipurpose, associated with functions as diverse as adhesion, motility, protein secretion, DNA uptake, electric conductance, and so forth (1). Much of this broad distribution and multifunctionality is due to Tfp (1).All Tff nanomachines share multiple components and are thought to use common basic operating principles. They have at their core a filament, which can be long or short and is a polymeric assembly of a protein named pilin, PilE in our model Tfp-expressing species Neisseria meningitidis (meningococcal nomenclature will be used here). Type IV pilins are produced as prepilins with a distinctive N-terminal class III signal peptide (2), consisting of a short hydrophilic leader peptide followed by a stretch of 21 hydrophobic residues, always forming an extended α-helix (3). This signal peptide is first recognized by the Sec machinery (4, 5), which translocates prepilins across the cytoplasmic membrane, where they remain embedded as bitopic proteins. The leader peptide is then cleaved by an integral membrane aspartic protease (6, 7), the prepilin peptidase PilD. This processing, which does not require other Pil proteins (8), is a prerequisite for polymerization of pilins into filaments. Filaments are helical polymers in which the pilins' extended N-terminal α-helices are buried within the filament core, almost parallel to its long axis (9). Finally, in gram-negative Tfp-expressing bacteria, filaments cross the outer membrane through a pore formed by the secretin PilQ (10).The molecular mechanisms of filament assembly remain poorly understood. However,...