Many bacterial pathogens use their type IV pili (T4P) to facilitate and maintain infection of a human host. Small chemical compounds that inhibit the production or assembly of T4P have promise in the treatment and prevention of infections, especially in the era of increasing threats from antibiotic-resistant bacteria.