Skip to content
qorganica.es qorganica.comOrganic Chemistry made transparent Course map Español

Preparation

The nitrile function can easily be introduced by reaction of cyanide, either by substitution or addition.

Nucleophilic substitution

The substitution of a good leaving group by cyanide is a simple and general reaction to get nitriles.

Click here to remember the competition between substitution and elimination.

Table of reactivity of cyanide, a strong nucleophile and weak base, according to the carbon bearing the leaving group: SN2 with methyl, unhindered primary and secondary, slow SN2 with branched primary and SN1 or E1 with tertiary▶ Watch the video on YouTube

Displacement of diazonium salts

Diazonium salts are prepared by the action of nitrous acid on anilines.

With copper(I) cyanide, the diazonium group is replaced by CN: this is the Sandmeyer reaction.

Click here to recall the versatility of diazonium salts.

Reactivity of diazonium salts: aniline with NaNO₂/HCl gives the arenediazonium salt, which with H₂O, HI, CuX, CuCN, HBF₄, H₃PO₂ or an arene gives phenols, iodoarenes, haloarenes, benzonitriles (highlighted), fluoroarenes, arenes and azo compounds

Cyanide addition to aldehydes and ketones

The perhaps simplest carbon nucleophile, cyanide, adds to aldehydes and ketones to render cyanohydrins.

Click here to remember cyanohydrins in their context.

Formation of a cyanohydrin: cyanide adds to the carbonyl and the alkoxide is protonated

Conjugate addition to α,β-Unsaturated compounds

Cyanide adds to α,β-unsaturated aldehydes, ketones, esters, amides, etc in a totally conjugated manner (Michael addition).

Click here to review the reaction in its context.

Conjugate (1,4) addition of KCN in acetic acid to chalcone: enolate intermediate, enol and 1,4-addition product

Aldoxime dehydration

Aldoximes are obtained by reaction of hydroxylamine with aldehydes. Their dehydration with a dehydrating agent such as an anhydride leads to a nitrile.

Click here to remember what an oxime is.

Dehydration of an aldoxime: phenylacetaldehyde gives the oxime with hydroxylamine and acetic anhydride converts it into phenylacetonitrile

Amide dehydration

Primary amides can be dehydrated with strong dehydrating agents like phosphorus pentoxide yielding nitriles.

Click here to recall what an amide is.

Dehydration of phenylacetamide with P₂O₅ to give phenylacetonitrile