The synthesis of unprecedented fused azaheterocyclic ring systems is described. Tricycles with either a central pyrazole or a triazole ring were obtained via a nitrene-mediated reaction of nitro bis(hetaryl) derivatives in the presence of triethylphosphite. The cyclization proceeded with complete chemoselectivity for the desired N–N bond formation and was completed within minutes under microwave activation