A novel condensation reaction of carboxylic acids with various non-nucleophilic N-heterocycles and anilides was developed. The reaction proceeds in the presence of di-tert-butyl dicarbonate (BocO), catalytic 4-(dimethylamino)pyridine (DMAP), and 2,6-lutidine and is applicable to the acylation of a wide range of non-nucleophilic nitrogen compounds, including indoles, pyrroles, pyrazole, carbazole, lactams, oxazolidinones, and anilides with high functional group compatibility. The scope of indoles, carboxylic acids, and anilides was also studied.