A three-stage method was proposed for the synthesis of new 4-[4-(2-azolylethyl)piperazine-1-yl]- N -aryl-5 H -1,2,3-dithiazole-5-imines. This approach includes the reaction of Appel salt with anilines to produce 1,2,3-dithiazole-5-imines, which were converted into 4-[(4-chloroethyl)piperazine-1-yl]-5 H -1,2,3-dithiazole-5-imines, alkylating azoles at the final stage. The high fungicidal activity of target compounds and intermediate 4-chloro- N -aryl-1,2,3-dithiazole-5-imines was shown in vitro tests versus six species of phytopathogenic fungi.