In the title compound, C 22 H 19 NO 5 S·C 2 D 6 OS, the central six-membered ring has a slightly distorted boat conformation, while the fused pyrrolidine ring adopts an envelope conformation. These conformations are stabilized by O-H⋯O hydrogen bonds between the main compound and solvent mol-ecules. In addition, intra-molecular C-H⋯O hydrogen bonds in the main mol-ecule form two S (6) rings. Mol-ecules are connected by pairs of inter-molecular C-H⋯O hydrogen bonds, forming dimers with a R 2 2 (8) motif. These dimers form a three-dimensional network through O-H⋯O, O-H⋯S and C-H⋯O hydrogen bonds with each other directly and through solvent mol-ecules. In addition, weak π-π stacking inter-actions [centroid-to-centroid distances = 3.9937 (10) and 3.9936 (10) Å, slippages of 2.034 and 1.681 Å] are observed. The inter-molecular contacts were qu-anti-fied using Hirshfeld surface analysis and two-dimensional fingerprint plots, revealing the relative contributions of the contacts to the crystal packing to be H⋯H 41.7%, O⋯H/H⋯O 27.7%, C⋯H/H⋯C 17.0%, and S⋯H/H⋯S 7.5%., (© Mammadova et al. 2023.)