Abstract The reaction of primary and secondary amides with tetrafluorophthalic or tetrachlorophthalic anhydride gives carboxylic acids in good yield. The reaction is chemoselective in that the amide functionality can be hydrolyzed in the presence of ester groups.