In the title compound, C(13)H(13)N(3)O, the phenyl and pyrrole rings are inclined at 47.45 (8)°. In the crystal, inter-molecular N-H⋯O and C-H⋯O hydrogen bonds form R(2) (1)(6) ring motifs. Mol-ecules connected through these hydrogen bonds are arranged into polymeric chains extending along the c axis.