The Demjanov rearrangement is the chemical reaction of primary amines with nitrous acid to give rearranged alcohols. It involves substitution by a hydroxyl group with a possible ring expansion. It is named after the Russian chemist Nikolai Jakovlevich Demjanov (Dem'anov, Demianov) (1861–1938).
The reaction process begins with diazotization of the amine by nitrous acid. The diazonium group is a good leaving group, forming nitrogen gas when displaced from the organic structure. This displacement can occur via a rearrangement (path A), in which one of the sigma bonds adjacent to the diazo group migrates. This migration results in an expansion of the ring. The resulting carbocation is then attacked by a molecule of water. Alternately, the diazo group can be displaced directly by a molecule of water in an SN2 reaction (path B). Both routes lead to formation of an alcohol.
The Demjanov rearrangement is a method to produce a 1-carbon ring enlargement in four, five or six membered rings. The resulting five, six, and seven-membered rings can then be used in further synthetic reactions.
It has been shown that the Demjanov reaction is susceptible to regioselectivity. One example of this is a study conducted by D. Fattori looking at the regioselectivity of the Demjanov rearrangement in one-carbon enlargements of naked sugars. It showed that when an exo methylamine underwent Demjanov nitrous acid deamination, ring enlargement was not produced.
However, when the endo methylamine underwent the same conditions, a mixture of rearranged alcohols were produced.
This rearrangement also leads to a substituted, but not expanded, byproduct. Thus it can be difficult to isolate the two products and acquire the desired yield. Also, stereoisomers are produced depending on the direction of addition of the water molecule and other molecules may be produced depending on rearrangements.