Substituted nitrogen heterocycles are structural key units in many important pharmaceuticals. A new synthetic approach towards heterocyclic compounds displaying antibacterial activity against Staphylococcus aureus or cytotoxic activity has been developed. The selective synthesis of a series of 64 new N-heterocycles from the three nitrobutadienes 2-nitroperchloro-1,3-butadiene, 4-bromotetrachloro-2-nitro-1,3-butadiene and (Z)-1,1,4-trichloro-2,4-dinitrobuta-1,3-diene proved feasible. Their reactions with N-, O- and S-nucleophiles provide rapid access to push-pull substituted benzoxazolines, benzimidazolines, imidazolidines, thiazolidinones, pyrazoles, pyrimidines, pyridopyrimidines, benzoquinolines, isothiazoles, dihydroisoxazoles, and thiophenes with unique substitution patterns. Antibacterial activities of 64 synthesized compounds were examined. Additionally, seven compounds (thiazolidinone, nitropyrimidine, indole, pyridopyrimidine, and thiophene derivatives) exhibited a significant cytotoxicity with IC50-values from 1.05 to 20.1 µM. In conclusion, it was demonstrated that polyhalonitrobutadienes have an interesting potential as structural backbones for a variety of highly functionalized, pharmaceutically active heterocycles.