Abstract (Chloromethylene) dimethylammonium chloride (Vilsmeier reagent) works as an efficient condensation reagent in the formation of carboxylic esters from carboxylic acids and alcohols under mild conditions in a one-pot procedure. Secondary alcohols are converted successively into the corresponding esters in moderate to high yields with inversion of configurations.