A series of porphyrin based compounds without (nMP) or with (MP) metals were found to have potent bactericidal action in vitro against the sexually transmitted pathogens Neisseria gonorrhoeae and Haemophilus ducreyi. nMP and MP did not show bactericidal activity against five species of lactobacilli. An MP containing gallium had the capacity to block a gonococcal infection in a murine vaginal model, indicating that its development as a topical microbicide to block sexually transmitted bacterial infections is warranted. In contrast to other bacterial species, loss of the gonococcal haemoglobin uptake system encoded by hpuB or energy supplied through the TonB-ExbB-ExbD system did not significantly affect levels of MP-susceptibility in gonococci. In contrast, mutations in gonococci that inactivate the mtrCDE-encoded efflux pump were found to enhance gonococcal susceptibility to nMPs and MPs while over-production of this efflux pump decreased levels of gonococcal susceptibility to these compounds.