In this study, heterocyclic compounds with two nitrogen atoms are prepared by reaction of 2-aminobenzimidazole with formic acid to get amide derivatives (A), reacts with phenylhydrazine to get phenyl hydrazone derivatives (B), reacts with ethyl chloroacetate to obtain ethyl acetate derivatives (C). The derivative (D) obtains on heating in a basic medium. The (B) reacts with 2-chloroacetyl chloride to give derivatives (E). A number of Schiff bases are prepared (F, I) from reacting 2-aminobenzimidazole with benzaldehyde derivatives. The(F) reacts with propargyl bromide to give propargyl bromide derivatives (G). The cyclization with 4-nitrophenyl azide leads to obtain triazole compound (H). The compound (I) reacts with ethyl chloroacetate to give ethyl acetate derivatives (J), reacts with hydrazine to give N-amide hydrazine derivatives (K). The cyclization give rises to 1,3,4-oxadiazole derivatives (L). The compound (I) reacts with sodium azide to obtain tetrazole derivatives (M). Synthesizing of Triazine, Oxadiazole, Triazole, Tetrazole via cyclization of the Schiff base derivatives with ethyl chloroacetate and chloro acetyl chloride, benzoic acid, 4-nitrophenyl azide, sodium azide and phenyl azide are possible respectively. The FT-IR, 13C-NMR and 1H-NMR spectral data give good evidence for the formation of the compounds. Some prepared compounds exhibit antibacterial properties.