Bacterial virulence factors are attractive targets for the development of therapeutics. Type IV pili, which are associated with a remarkable array of properties including motility, the interaction between bacteria and attachment to biotic and abiotic surfaces, represent particularly appealing virulence factor targets. Type IV pili are present in numerous bacterial species and are critical for their pathogenesis. In this study, we report that trifluoperazine and related phenothiazines block functions associated with Type IV pili in different bacterial pathogens, by affecting piliation within minutes. Using Neisseria meningitidis as a paradigm of Gram-negative bacterial pathogens that require Type IV pili for pathogenesis, we show that piliation is sensitive to altered activity of the Na+ pumping NADH-ubiquinone oxidoreductase (Na+-NQR) complex and that these compounds probably altered the establishment of the sodium gradient. In vivo, these compounds exert a strong protective effect. They reduce meningococcal colonization of the human vessels and prevent subsequent vascular dysfunctions, intravascular coagulation and overwhelming inflammation, the hallmarks of invasive meningococcal infections. Finally, they reduce lethality. This work provides a proof of concept that compounds with activity against bacterial Type IV pili could beneficially participate in the treatment of infections caused by Type IV pilus-expressing bacteria.