In the title compound, C18H20N4O3S, the 1,2,4-triazole ring is twisted with respect to the mean plane of quinoline moiety at 65.24 (4)°. In the crystal, mol-ecules are linked by weak C-H⋯O and C-H⋯N hydrogen bonds, forming the three-dimensional supra-molecular packing. π-π stacking between the quinoline ring systems of neighbouring mol-ecules is also observed, the centroid-to-centroid distance being 3.6169 (6) Å. Hirshfeld surface (HS) analyses were performed.
Keywords: 1,2,4-triazole; Hirshfeld surface analysis; crystal structure; hydrogen bonding; π–π stacking.