Skip to content
qorganica.es qorganica.comOrganic Chemistry made transparent Course map Español

Preparation

The ester function formally results from the condensation of a carboxylic acid and an alcohol. Esters are thus usually prepared by the reaction of carboxylic acids, or their derivatives, and alcohols. Yet, there are more methods...

Fischer esterification

One of the simplest ways to get an ester is the boiling of a carboxylic acid dissolved in an alcohol with a catalytic amount of a mineral acid. Please, watch the whole procedure in the video.

Thumbnail of the video on the laboratory synthesis of isoamyl acetate▶ Watch the video on YouTube

The reaction proceeds by the typical addition-elimination mechanism, the C=O group being activated by its initial protonation by the mineral acid.

Mechanism of Fischer esterification: protonation of the carbonyl, addition of the alcohol, proton transfer, loss of water and deprotonation

When the ester function is enclosed into a ring, its name changes to lactone. Lactones are cyclic esters that are obtained by intramolecular reaction.

Equilibrium between hydroxy acids and lactones in acid: 3-hydroxypropanoic acid gives no β-lactone, 4-hydroxybutanoic acid gives 73 % γ-lactone, 5-hydroxypentanoic acid 91 % δ-lactone and 6-hydroxyhexanoic acid no ε-lactone

If one does nothing to get rid of the water by-product, hydroxyacids are in equilibrium with their respective lactones. The lactone ratio depends on the stability of the ring.

Click here to recall the reasons why rings are more or less stable depending on their size.

Hydroxyacids react intermolecularly at high concentrations leading to polyesters used as synthetic fibers in the textile industry.

7-Hydroxyheptanoic acid gives the lactone at high dilution and a polyester at high concentration

Transesterification

Any ester can be turned into a different one by dissolving it into an alcohol in acidic medium. Here are some examples:

Transesterification: methyl benzoate gives ethyl benzoate with excess ethanol and acid, and the δ-lactone gives ethyl 5-hydroxypentanoate

Acyl halides or anhydrides and hindered alcohols

Acyl halides and anhydrides are so reactive that the acidic medium is not needed. In the case of anhydrides, only one of the two C=O groups reacts.

Esters from acid chlorides and anhydrides: malonyl chloride with tert-butanol gives di-tert-butyl malonate, and phthalic anhydride with phenol gives monophenyl phthalate

Nucleophilic substitution with carboxylates

Acetate displaces chloride from benzyl chloride to give benzyl acetate in 93 % yield

Click here to view this reaction within a different context: alcohol synthesis.

Carboxylic acids and diazomethane

Diazomethane, CH2N2, is the simplest diazocompound discovered by the German chemist Hans von Pechmann in 1894. It is a yellow gas at room temperature when pure that nastily explodes. It is therefore used in ethyl ether solution as a useful methylating agent at laboratory (not industrial!) scale.

Methylation of cyclohexanecarboxylic acid with diazomethane, resonance forms of diazomethane and its preparation from N-methyl-N-nitroso-p-toluenesulfonamide or N-methyl-N′-nitro-N-nitrosoguanidine with base