Cyanoacetic acid is prepared by treatment of
chloroacetate salts with
sodium cyanide followed by acidification.
Electrosynthesis by cathodic reduction of
carbon dioxide and anodic oxidation of
acetonitrile also affords cyanoacetic acid. Cyanoacetic acid is used to do cyanoacetylation, first convenient method described by J. Slätt. It is about 1000× more acidic than acetic acid, with a pKa of 2.5. Upon heating at 160 °C, it undergoes
decarboxylation to give acetonitrile: : ==Applications==