A series of 4-diazopyrazole-5-carboxamides 1 d-n has been synthesized and their antibacterial activity against a number of Gram-negative and Gram-positive strains has been tested. Some of the compounds resulted quite active and the whole set allowed to further study the SAR of the class. Substituents in position 5 affect Gram-negative and Gram-positive activities via bulk and electronic properties respectively; position 3 mostly affects the Gram-negative activity, while the presence of the charged diazo group in position 4 is crucial for both antibacterial activities