Abstract The reactions of 1, 3-dibromoacetone with 2-aminoazines and 2-aminoazoles has been carried out for the first time and the pure intermediate quaternary salts have been isolated. They undergo cyclization to the corresponding imidazoazines and imidazoazoles containing a bromomethyl group. Similar condensations were carried out with 1, 3- dichloroacetone.