Selective synthesis of functionalized trifluoromethylated pyrrolidines, piperidines, and azepanes starting from 1-tosyl-2-(trifluoromethyl)aziridine.