We report the cobalt-catalyzed aminocyclization of unsaturated N-acyl sulfonamides in the presence of oxygen to provide γ- and δ-lactam aldehydes. Use of an optically active cobalt catalyst resulted in the formation of enantiomerically enriched γ-and δ-lactam alcohols. The γ-lactam aldehydes and alcohols obtained were elaborated into useful building blocks.