N,N-dimethylchloromethaniminium chloride formed from dimethylformamide and oxalyl dichloride is an efficient reagent for the synthesis of N-substituted hydroxamic acids from carboxylic acids and N-substituted hydroxylamines in the presence of a base.