In the title compound, C(21)H(21)N(3)O(2), an intra-molecular N-H⋯O inter-action generates an S(6) ring, which stablizes the enamine-keto tautomer. The S(6) ring makes dihedral angles of 33.07 (7), 56.50 (8) and 38.59 (8)°, respectively, with the benzoyl-acetone benzene ring and the anti-pyrine pyrazole and benzene rings.