Treatment of selected types of 1,3-ketoesters and their corresponding enamines by the WillgerodtKindler (WK) reaction afforded the corresponding 1,n-acyloxy thioamides. Based on the mechanistic study, the chemoselective thioamidation of 1,3-ketoesters occurs in the presence of 1,3-diketones.