Secretins are versatile outer membrane pores used by many bacteria to secrete proteins, toxins, or filamentous phages; extrude type IV pili (T4P); or take up DNA. Extrusion of T4P and natural transformation of DNA in the thermophilic bacterium Thermus thermophilus requires a unique secretin complex comprising six stacked rings, a membrane-embedded cone structure, and two gates that open and close a central channel. To investigate the role of distinct domains in ring and gate formation, we examined a set of deletion derivatives by cryomicroscopy techniques. Here we report that maintaining the N0 ring in the deletion derivatives led to stable PilQ complexes. Analyses of the variants unraveled that an N-terminal domain comprising a unique ␣ fold is essential for the formation of gate 2. Furthermore, we identified four ␣␣ domains essential for the formation of the N2 to N5 rings. Mutant studies revealed that deletion of individual ring domains significantly reduces piliation. The N1, N2, N4, and N5 deletion mutants were significantly impaired in T4P-mediated twitching motility, whereas the motility of the N3 mutant was comparable with that of wildtype cells. This indicates that the deletion of the N3 ring leads to increased pilus dynamics, thereby compensating for the reduced number of pili of the N3 mutant. All mutants exhibit a wild-type natural transformation phenotype, leading to the conclusion that DNA uptake is independent of functional T4P.