A novel and efficient method has been developed for the one-pot synthesis of bifunctional diazepine-tetrazole containing compounds. 1H-Tetrazolyl-1H-1,4-diazepine-2, 3-dicarbonitrile and 1H-tetrazolyl-benzo[b][1,4]diazepine derivatives were synthesized in good yields using 2,3-diaminomaleonitrile or an aromatic diamine, ketones, trimethylsilyl azide, and an isocyanide in the presence of p-toluenesulfonic acid as a catalyst in methanol at room temperature.