Preparation of Esters
This page describes ways of making esters in the lab from alcohols and phenols using carboxylic acids, acyl chlorides (acid chlorides) or acid anhydrides as appropriate.
Making Esters Using Carboxylic Acids
This method can be used for converting alcohols into esters, but it doesn't work with phenols – compounds where the -OH group is attached directly to a benzene ring. Phenols react with carboxylic acids so slowly that the reaction is unusable for preparation purposes.
The chemistry of the reaction
Esters are produced when carboxylic acids are heated with alcohols in the presence of an acid catalyst. The catalyst is usually concentrated sulfuric acid. Dry hydrogen chloride gas is used in some cases, but these tend to involve aromatic esters (ones where the carboxylic acid contains a benzene ring). If you are a UK A-level student you won't have to worry about these.
The esterification reaction is both slow and reversible. The equation for the reaction between an acid RCOOH and an alcohol R'OH (where R and R' can be the same or different) is:
So, for example, if you were making ethyl ethanoate from ethanoic acid and ethanol, the equation would be:
Note: The mechanism for the esterification reaction is covered in the catalysis section of this site. It is not required for any UK A-level (or equivalent) chemistry syllabus.
Doing the Reactions
On a test tube scale
Carboxylic acids and alcohols are often warmed together in the presence of a few drops of concentrated sulfuric acid in order to observe the smell of the esters formed.
You would normally use small quantities of everything heated in a test tube stood in a hot water bath for a couple of minutes.
Because the reactions are slow and reversible, you don't get a lot of ester produced in this time. The smell is often masked or distorted by the smell of the carboxylic acid. A simple way of detecting the smell of the ester is to pour the mixture into some water in a small beaker.
Apart from the very small ones, esters are fairly insoluble in water and tend to form a thin layer on the surface. Excess acid and alcohol both dissolve and are tucked safely away under the ester layer.
Small esters like ethyl ethanoate smell like typical organic solvents (ethyl ethanoate is a common solvent in, for example, glues).
As the esters get bigger, the smells tend towards artificial fruit flavouring – "pear drops", for example.
On a larger scale
If you want to make a reasonably large sample of an ester, the method used depends to some extent on the size of the ester. Small esters are formed faster than bigger ones.
To make a small ester like ethyl ethanoate, you can gently heat a mixture of ethanoic acid and ethanol in the presence of concentrated sulfuric acid, and distil off the ester as soon as it is formed.
This prevents the reverse reaction happening. It works well because the ester has the lowest boiling point of anything present. The ester is the only thing in the mixture which doesn't form hydrogen bonds, and so it has the weakest intermolecular forces.
Note: Follow this link if you aren't sure about hydrogen bonding.
Larger esters tend to form more slowly. In these cases, it may be necessary to heat the reaction mixture under reflux for some time to produce an equilibrium mixture. The ester can be separated from the carboxylic acid, alcohol, water and sulfuric acid in the mixture by fractional distillation.
Note: Providing full details for organic preparations (including all the steps necessary in cleaning up the product) is beyond the scope of this site. If you need this sort of detail, you should be looking at an organic practical book.
Making Esters Using Acyl Chlorides (Acid Chlorides)
This method will work for alcohols and phenols. In the case of phenols, the reaction is sometimes improved by first converting the phenol into a more reactive form.
The Basic Reaction
If you add an acyl chloride to an alcohol, you get a vigorous (even violent) reaction at room temperature producing an ester and clouds of steamy acidic fumes of hydrogen chloride.
For example, if you add the liquid ethanoyl chloride to ethanol, you get a burst of hydrogen chloride produced together with the liquid ester ethyl ethanoate.
The substance normally called "phenol" is the simplest of the family of phenols. Phenol has an -OH group attached to a benzene ring – and nothing else.
The reaction between ethanoyl chloride and phenol is similar to the ethanol reaction although not so vigorous. Phenyl ethanoate is formed together with hydrogen chloride gas.
Note: These reactions are discussed in rather more detail on a page about reactions of acyl chlorides.
If you want the mechanism for the reaction involving alcohols you can find it by following this link. The phenol mechanism is similar, although hindered by the interaction between the lone pair on the oxygen of the -OH group and the ring electrons.
If you aren't sure about using this symbol for a benzene ring, you could follow this link to find out all about it. It is likely to take you some time, though, and you may have to visit several other pages as well.
It isn't particularly important in the context of the current page. All you need to know is that at each corner of the hexagon there is a carbon atom, together with a hydrogen atom apart from where the oxygen is attached.
Improving the Reactions Between Phenols and Some Less Reactive Acyl chlorides
Benzoyl chloride has the formula C6H5COCl. The -COCl group is attached directly to a benzene ring. It is much less reactive than simple acyl chlorides like ethanoyl chloride.
The phenol is first converted into the ionic compound sodium phenoxide (sodium phenate) by dissolving it in sodium hydroxide solution.
The phenoxide ion reacts more rapidly with benzoyl chloride than the original phenol does, but even so you have to shake it with benzoyl chloride for about 15 minutes. Solid phenyl benzoate is formed.
Making Esters Using Acid Anhydrides
This reaction can again be used to make esters from both alcohols and phenols. The reactions are slower than the corresponding reactions with acyl chlorides, and you usually need to warm the mixture.
In the case of a phenol, you can react the phenol with sodium hydroxide solution first, producing the more reactive phenoxide ion.
Taking ethanol reacting with ethanoic anhydride as a typical reaction involving an alcohol:
There is a slow reaction at room temperature (or faster on warming). There is no visible change in the colourless liquids, but a mixture of ethyl ethanoate and ethanoic acid is formed.
The reaction with phenol is similar, but will be slower. Phenyl ethanoate is formed together with ethanoic acid.
This reaction isn't important itself, but a very similar reaction is involved in the manufacture of aspirin (covered in detail on another page – link below).
If the phenol is first converted into sodium phenoxide by adding sodium hydroxide solution, the reaction is faster. Phenyl ethanoate is again formed, but this time the other product is sodium ethanoate rather than ethanoic acid.
Note: These reactions (including the formation of aspirin) are discussed in more detail on a page about reactions of acid anhydrides.
Unless you are already very familiar with acid anhydrides, it would definitely be a good idea to follow this link.