There are two independent mol-ecules in the asymmetric unit of the title compound, C(22)H(21)N(3)O(4)S. The central benzene ring makes dihedral angles of 74.28 (6) and 68.84 (6)° with the pyridine and 3,5-dimeth-oxy-phenyl rings, respectively, in one molecule [86.66 (6) and 81.14 (6)° respectively, in the other]. Each of the mol-ecules forms a centrosymmetric dimer with another mol-ecule via pairs of inter-molecular N-H⋯O hydrogen bonds. These hydrogen bonds connect the N-H groups and the O atoms of the carbonyl groups next to the 3,5-dimeth-oxy-phenyl rings. Additional inter-molecular N-H⋯O inter-actions link the dimers in the crystal structure.