Natural transformation is the process by which bacteria take up genetic material from their environment and integrate it into their genome by homologous recombination. It represents one mode of horizontal gene transfer and contributes to the spread of traits like antibiotic resistance. In Vibrio cholerae, the Type IV competence pilus is thought to facilitate natural transformation by extending from the cell surface, binding to exogenous DNA, and retracting to thread this DNA through the outer membrane secretin, PilQ. A lack of structural information has hindered our understanding of this process, however. Here, we solved the first ever high-resolution structure of a Type IV competence pilus secretin. A functional tagged allele of VcPilQ purified from native V. cholerae cells was used to determine the cryoEM structure of the PilQ secretin in amphipol to ~2.7 Å. This structure highlights for the first time key differences in the architecture of the Type IV competence pilus secretin from the Type II and Type III Secretin System secretins. Based on our cryoEM structure, we designed a series of mutants to interrogate the mechanism of PilQ. These experiments provide insight into the channel that DNA likely traverses to promote the spread of antibiotic resistance via horizontal gene transfer by natural transformation. We prove that it is possible to reduce pilus biogenesis and natural transformation by sealing the gate, suggesting VcPilQ as a new drug target