In the molecule of the title compound, C26H28N2O2S, the pyrrolidine ring adopts an envelope conformation and the tetrahydropyridine ring is in a half-chair conformation; these two rings are trans-fused. The dihedral angle between the pyridine- and sulfonyl-bound benzene rings is 36.15 (5)°. In the crystalline state, the molecules are linked into a two-dimensional network parallel to the ab plane by C—H⋯O and C—H⋯π interactions