Like Pfitzner–Moffatt oxidation and Swern oxidation, with DMSO, MsO can oxidize primary and secondary alcohols to aldehydes and ketones, respectively, in HMPA. This method applies to benzylic alcohol. HMPA may be substituted by dichloromethane but may result in more side-products.