Nitriles and Hydroxynitriles
Quick Notes
- Nitriles contain a CN functional group
- Can be made by reacting a halogenoalkane with KCN in ethanol, heated.
- Hydroxynitriles contain an OH and CN group bonded to the same carbon
- Can be made by reacting aldehydes or ketones with HCN, using KCN as catalyst and heating.
- Nitriles hydrolyse with dilute acid or alkali (followed by acidification) to form a carboxylic acid.
Full Notes
Nitriles and hydroxynitriles and their reactions have been outlined in more detail
here.
This page is just what you need to know for CIE A-level Chemistry :)
Formation of Nitriles
Nitriles can be made by reacting a halogenoalkane with KCN in ethanol.

Reaction:
Halogenoalkane + KCN → Nitrile + KX
Reagents: Potassium cyanide (KCN) in ethanol
Conditions: Heat under reflux
The cyanide ion (CN−) acts as a nucleophile, replacing the halogen atom in a nucleophilic substitution. This increases the carbon chain by one carbon atom.
Example CH3CH2Br + KCN → CH3CH2CN + KBr

The forming of nitriles from halogenoalkanes is a really useful and important reaction for organic exam questions! This is because it enables the length of carbon chain to be increased. If the carbon chain in a molecule has got larger in a reaction - this should be the first reaction you think of and check.
Formation of Hydroxynitriles
Hydroxynitriles can be made by reacting aldehydes or ketones with HCN.

Reaction:
Aldehyde or ketone + HCN → Hydroxynitrile
Reagents: HCN (generated in situ from KCN and dilute acid)
Conditions: Heat gently
This reaction adds CN− and H+ across the C=O group to give an extra C–C bond. This is a nucleophilic addition reaction.
Notes: HCN is generated in situ by reacting KCN with H2SO4 because pure HCN is too toxic and volatile to handle safely. The KCN supplies CN− ions, while H2SO4 provides H+ ions. This combination produces the same product — a hydroxynitrile — without needing to use HCN directly.
Example CH3CHO + HCN → CH3CH(OH)CN (2-hydroxypropanenitrile)
CH3COCH3 + HCN → CH3C(OH)(CN)CH3
Hydrolysis of Nitriles to Carboxylic Acids
Nitriles can by hydrolysed to form carboxylic acids.

Reaction:
R–CN + 2H2O + HCl → R–COOH + NH4Cl
(or with alkali: R–CN + NaOH + H2O → R–COO− + NH3, then acidify to form R–COOH)
Reagents:
Dilute HCl or NaOH, followed by acidification
Conditions:
Heat under reflux
Summary
- Nitriles (–CN) can be made by nucleophilic substitution of halogenoalkanes with KCN in ethanol, heated under reflux.
- Hydroxynitriles (–OH and –CN on the same carbon) form by nucleophilic addition of HCN to aldehydes or ketones (HCN generated in situ from KCN + acid).
- Nitriles hydrolyse under acidic or alkaline conditions (with subsequent acidification) to give carboxylic acids.
- Both nitrile and hydroxynitrile formation extend the carbon chain, a key synthetic step in organic chemistry.