The imidazolium compounds of the formula ##STR1## wherein the various substituents are defined hereinbelow and their pharmaceutically acceptable acid addition salts, which possess valuable pharmacological properties are described. In particular, they possess antibacterial, antimycotic, protozoacidal and/or anthelmintic properties and are especially active against parasitic protozoa and worms. The compounds of formula I can be prepared according to known methods.