Mechanism Lab Open the app

Nucleophilic acyl substitution — simple ester synthesis

Ester synthesis from an acid chloride and alcohol

How the Ester synthesis from an acid chloride and alcohol works, in 3 steps. Each step shows the structures and the curved arrows that move the electrons.

Open the interactive version

In short. A 3-step mechanism. Typical reagents: Acid chloride + alcohol; pyridine or Et₃N (optional). Conditions: CH₂Cl₂ or Et₂O, 0–25 °C. Bonds formed: Ester C–O; HCl; bonds broken: C–Cl, O–H, C=O π (temporarily). Stereochemistry: Alcohol stereocentre retained (C–O bond not broken). Rate and selectivity: Very fast and irreversible; HCl scavenged by base.

At a glance

ReagentsAcid chloride + alcohol; pyridine or Et₃N (optional)
Solvent / conditionsCH₂Cl₂ or Et₂O, 0–25 °C
Bonds formedEster C–O; HCl
Bonds brokenC–Cl, O–H, C=O π (temporarily)
StereochemistryAlcohol stereocentre retained (C–O bond not broken)
Rate / selectivityVery fast and irreversible; HCl scavenged by base

Step 1: Alcohol attacks the carbonyl carbon

+OHOClδ⁺δ⁻δ⁻OClOH1 · ALCOHOL ATTACKS THE CARBONYL CARBONethanolC₂H₆ONUCLEOPHILEacetyl chlorideC₂H₃ClOELECTROPHILEtetrahedral intermediateC₃H₇ClO₂INTERMEDIATEAddition step: C=O π electrons go onto oxygen.

An alcohol's oxygen lone pair attacks the acid chloride's highly electrophilic carbonyl carbon — acid chlorides are among the most reactive carbonyl electrophiles in this library, since chloride is such a good leaving group.

Step 2: Collapse expels chloride

C=O reforms+OClOHOOHCl2 · COLLAPSE EXPELS CHLORIDEtetrahedral intermediateC₄H₉ClO₂INTERMEDIATEprotonated esterC₄H₉O₂⁺INTERMEDIATEchlorideCl⁻LEAVING GROUPElimination step: O⁻ lone pair re-forms C=O and chloride leaves.

This forms a tetrahedral intermediate that collapses almost immediately, expelling chloride as the C=O reforms — the same addition-elimination pattern as every nucleophilic acyl substitution covered throughout this library, just proceeding unusually fast.

Step 3: Ester and HCl

+++OOHClHClNNHCl3 · ESTER AND HCLethyl acetateC₄H₈O₂PRODUCThydrogen chlorideClHBYPRODUCTHClClHBYPRODUCTpyridine (base)C₅H₅NBASEpyridiniumC₅H₆N⁺BYPRODUCTchlorideCl⁻BYPRODUCTChloride is a poor nucleophile, so the reaction does not reverse.

The result is an ester, formed cleanly and irreversibly (unlike the Fischer esterification's acid-catalyzed equilibrium) since HCl is evolved as a gas and chloride is a poor enough nucleophile not to reverse the reaction — often run with a mild base like pyridine present just to mop up the HCl byproduct.

Abbreviations and terms

Et2O
Diethyl ether. Low-boiling ether solvent, classic for Grignard reagents.
DCM
Dichloromethane. Common non-polar-ish solvent for reactions that need no nucleophilic or protic solvent.
Et3N
Triethylamine. Common tertiary-amine base that scavenges HCl.
HCl
Hydrochloric acid / hydrogen chloride. Strong acid; chloride is the nucleophile in additions/substitutions.

How it compares with related reactions

Ester synthesis from an acid chloride and alcoholAcid-catalyzed amide hydrolysisAmide synthesis from an acid chloride and amine
ReagentsAcid chloride + alcohol; pyridine or Et₃N (optional)Amide, H₃O⁺ (HCl or H₂SO₄), H₂OBenzoyl chloride, methylamine, aqueous NaOH
ConditionsCH₂Cl₂ or Et₂O, 0–25 °C6 M acid, reflux (hours)CH₂Cl₂ / H₂O (biphasic), 0–25 °C
StereochemistryAlcohol stereocentre retained (C–O bond not broken)No stereocentre created; α-stereocentres retainedNo stereocentre; planar amide
Rate / selectivityVery fast and irreversible; HCl scavenged by baseWater attack / C–N cleavage rate-limiting; far slower than ester hydrolysisVery fast; base neutralises HCl so the amine is not lost as its salt

Test yourself

Try to answer each question before opening it.

Which reagents and conditions are typical for the Ester synthesis from an acid chloride and alcohol?

Acid chloride + alcohol; pyridine or Et₃N (optional). Conditions: CH₂Cl₂ or Et₂O, 0–25 °C.

Which bonds are formed and which are broken?

Formed: Ester C–O; HCl. Broken: C–Cl, O–H, C=O π (temporarily).

What is the stereochemical outcome?

Alcohol stereocentre retained (C–O bond not broken)

What controls the rate or the selectivity?

Very fast and irreversible; HCl scavenged by base

Study guides that help with this reaction

Related mechanisms

Step through it interactively, then test yourself in Quiz