The conformation of the title molecule, C19H19N3O4S·C2H6OS, which crystallized as a DMSO solvate, is partially determined by an intramolecular N—H...O hydrogen bond, forming an S(6) loop. The thienopyridine bicyclic system is almost planar, with an r.m.s. deviation of 0.002 Å. The benzene ring makes a dihedral angle of 65.44 (8)° with the mean plane of the thienopyridine bicyclic system. In the crystal, molecules are linked by pairs of N—H...O hydrogen bonds, forming inversion dimers with an R22(8) ring motif. Within the dimers, which stack along the a-axis direction, there is a weak π–π interaction [centroid-to-centroid distance = 3.5428 (11) Å] involving inversion-related thiophene rings. In addition, N—H...O and C—H...O hydrogen bonds help to consolidate the packing, via the solvent molecules.