In the title mol-ecule, C21H20BrClN6O2, the chloro-substituted benzene ring forms a dihedral angle of 77.84 (7)° with the tetra-zole ring and the bromo-substituted ring forms a dihedral angle of 43.95 (6)° with the imidazole ring. The dihedral angle between the tetra-zole and imidazole rings is 67.42 (8)°. The terminal methyl group of the butyl substituent is disordered over two sets of sites, with refined occupancies 0.67 (3) and 0.33 (3). In the crystal, there is a short Br⋯N contact of 3.183 (2) Å.