In the title compound, C(21)H(19)N(3)O(4), the central benzene ring makes dihedral angles of 78.54 (6) and 75.30 (6)° with the pyridine and 3-methoxy-phenyl rings, respectively. An intra-molecular N-H⋯N interaction occurs, generating an S(?). The crystal packing shows inter-molecular N-H⋯O hydrogen-bonding inter-actions between the N-H groups and the O atoms of the 3-methoxy-phenyl ring and the carbonyl groups of the amide functions. Inter-molecular C-H⋯O inter-actions are also present.