In the title compound, C18H16ClN3O2S, the dihedral angle between the aromatic rings is 4.81 (2)° and the alkyl chain takes on an extended conformation [N—C—C—C = 179.2 (4)°]. The conformation of the thiazine ring is an envelope, with the S atom displaced by −0.805 (3) Å from the mean plane of the other five atoms (r.m.s. deviation = 0.046 Å). The Cl atom is an axial conformation and is displaced by 1.761 (4) Å from the thiazine ring plane. In the crystal, inversion dimers linked by pairs of C—H⋯O interactions generate R
2
2(20) loops and further C—H⋯O hydrogen bonds link the dimers into (001) sheets. Weak aromatic π–π stacking interactions [centroid–centroid separations = 3.870 (3) and 3.883 (3) Å] are also observed.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.