Conversion of Esters to Amides (Aminolysis of Esters)

Conversion of Esters to Amides (Aminolysis of Esters): An ester reacts with ammonia or an amine to form an amide, by nucleophilic acyl substitution.

What happens

An ester reacts with ammonia or an amine to form an amide, by nucleophilic acyl substitution. NH₃ gives a primary amide (–CONH₂), RNH₂ an N-substituted amide (–CONHR) and R₂NH an N,N-disubstituted amide (–CONR₂). The second product is the alcohol derived from the ester's alkoxy group (–OR′ → R′OH). Often an excess of the amine/ammonia and sometimes heat are used.

Reaction summary

Ester + NH₃ (or RNH₂, R₂NH) → amide + alcohol (COOR → CONR₂)

Reagents and conditions

Mechanism

  1. Nitrogen Attacks: The nitrogen of NH₃ / RNH₂ / R₂NH has a lone pair. It attacks the electrophilic carbonyl carbon, the C=O opens, and a tetrahedral intermediate forms.
  2. Proton Transfers: Protons are transferred between the nitrogen and oxygen groups. This prepares the intermediate for elimination.
  3. Carbonyl Reforms: The oxygen reforms the C=O and the ester's –OR′ group is expelled. After the necessary proton transfers, that portion becomes R′OH.
  4. Amide Forms: The final product is R–CONH₂, or R–CONHR / R–CONR₂, depending on the nitrogen nucleophile. The other product is the alcohol R′OH.

Common mistakes

Memory trick

Amine attacks → Amide appears. ESTER + AMINE → AMIDE.

Browse all in ReactionDex