Er(OTf)(3) is a useful catalyst for the Ferrier rearrangement furnishing high yields of O- and S-glycosides. The transformation has wide applicability, cleaner reaction profiles, mild reaction conditions, and high stereoselectivity and the catalyst, which is also commercially available, can be recovered and reused.