An efficient acid-catalyzed sulfetherification of various unsaturated alcohols with sulfenamides to form tetrahydrofurans and tetrahydropyrans regioselectively is described. Mechanistic studies have shown that the tetrahydrofurans can stereoselectively rearrange to the corresponding tetrahydropyrans.