An efficient protocol for the aza-Diels–Alder reaction of electron-deficient 1,3-dienes with unactivated imines in the presence of a cationic cobalt(III) porphyrin complex was developed. The transformation proceeded smoothly to afford the desired piperidine scaffold within 2 h at ambient temperature. Highly chemoselective cycloaddition of imines with dienes in the presence of a variety of carbonyl compounds was also demonstrated.