In the title compound, C(22)H(19)N(3)O(2), the phenol ring forms dihedral angles of 88.93 (10) and 87.95 (12)° with the benzimidazole system and the quinazoline benzene ring, respectively. In the crystal, mol-ecules are linked via O-H⋯N hydrogen bonds into infinite chains along [100]. An intra-molecular N-H⋯O hydrogen bond generates an S(6) ring.