Amides are transformed into amines with one less carbon, when treated with bromine in basic solution.

 
transposicion-hofmann
 
Acetamide [1] reacts with bromine in a basic medium, transforming into methylamine [2] with the loss of carbon dioxide.
 
 
The Hofmann rearrangement only occurs with amides having two hydrogens on the amino group (amines not substituted on the nitrogen).
 
transposicion-hofmann
 
The amide, N-substituted, forms an N-bromo amide on reaction with bromine in a basic medium, but does not give the Hofmann rearrangement.
 
The Hofmann rearrangement mechanism occurs in the following stages:
 
Stage 1 . Amidate formation
 
transposicion-hofmann
 
Stage 2. Reaction of amidate with bromine to form N-bromo amide.
 
transposicion-hofmann
 
Stage 3. Formation of a new amidate, by deprotonation of nitrogen.
 
transposicion-hofmann
 
Stage 4. Bromine removal
 
transposicion-hofmann
 
Stage 5. Transposition
 
transposicion-hofmann
 
Stage 6. Attack of water on N-methylisocyanate to form carbamic acid
 
transposicion-hofmann
 
Stage 7. Decomposition of carbamic acid (unstable) to form the final amine and carbon dioxide.
 
transposicion-hofmann