The palladium-catalyzed reaction of aryl and vinyl iodides and triflates with carbon monoxide in the presence of hexamethyldisilazane followed by hydrolytic work-up affords aromatic and α, β-unsaturated primary amides in good to high yields under relatively mild conditions.