N-heterocycles are valuable motifs in pharmaceuticals and materials, but divergent synthetic strategies are lacking. Now, bifunctional sulfilimines have been shown to form nitrogen-centred radicals under photocatalytic conditions, and subsequent coupling with olefins enables the synthesis of diverse N-heterocycles.