In the mol-ecule of the title compound, C(12)H(10)N(4), the two imidazole substituents are related by inversion symmetry and each forms a dihedral angle of 25.02 (8)° with the benzene ring. In the crystal, mol-ecules are linked through N-H⋯N hydrogen bonds, forming cyclic units [graph-set R(4) (4)(28)], which generate a layered structure extending across (011).