
The reaction mechanism occurs in two stages:
Stage 1. The cyanide ions act as nucleophiles, attacking the carbonyl carbon.

Hydrocyanic acid is too weak to generate significant amounts of cyanide, therefore sodium or potassium cyanide is added to the medium, guaranteeing a sufficient amount of cyanide for the reaction to proceed in good yield. Stage 2. In this step, the alkoxide ion [4] is protonated, removing hydrogens from hydrocyanic acid.
