In the title compound, C(21)H(24)N(4)O(2), inversion-related mol-ecules are linked into dimers through pairs of N-H⋯O hydrogen bonds, which generate R(2) (2)(8) motifs. As well as dimer formation, an additional N-H⋯O hydrogen bond and two C-H⋯π contacts, involving H atoms from the phenyl ring and the pyrrole and benzene rings of the indole system, generate a three-dimensional network.