Nucleophilic acyl substitution is the mechanism that ties Module 10 together. It begins exactly like the nucleophilic addition of Module 9 and then does something different at the second step — and that one divergence is the whole of carboxylic acid derivative chemistry.
Addition, then elimination
Step 1 is identical to nucleophilic addition: the nucleophile attacks the carbonyl carbon, the pi electrons move onto oxygen, and a tetrahedral alkoxide intermediate forms.
Step 2 is where it differs. This substrate already carries a leaving group. Rather than simply protonating, the oxygen's electrons flow back down to reform the C=O pi bond, and X leaves. The product is a neutral, trigonal planar carbonyl with the nucleophile where X used to be.
Hence the alternative name, addition–elimination. Note that this is not an SN2 — there is no backside attack and no inversion — and it is not an SN1 either. The carbonyl carbon is attacked from a face, a real intermediate forms, and a leaving group departs from that intermediate. It is its own mechanism, and it is by far the most common way that carbon–heteroatom bonds are made and broken in both synthesis and biology.
Why substitution instead of simple addition
A ketone's tetrahedral intermediate has no good leaving group — its two carbon substituents would have to leave as carbanions, which they will not do. So it protonates and stays as an alcohol: permanent addition.
A derivative's tetrahedral intermediate has Cl⁻, RCOO⁻, RO⁻ or (reluctantly) R₂N⁻ available. Expelling one of those restores the C=O, and a C=O is worth about 178 kcal/mol against the roughly 85 of the C–O single bond it replaces. Reforming the carbonyl is strongly favourable, so the intermediate collapses rather than persisting.
Which group leaves?
When the tetrahedral intermediate carries two potential leaving groups — the incoming nucleophile and the original X — either could depart, and whichever is the better leaving group wins. That rule determines whether a reaction goes forward or simply reverses.
An amine attacks an ester's carbonyl. The tetrahedral intermediate now bears both the new nitrogen and the original OR.
Compare: RO⁻ is the conjugate base of an alcohol (pKa 16); R₂N⁻ is the conjugate base of an amine (pKa 38). The alkoxide is the far better leaving group, so it departs, giving the amide.
And the reaction does not reverse, because running it backwards would require expelling the amide nitrogen — which it will not do. This is the ladder made mechanistic: downhill is easy, uphill is blocked.
Try the reverse: an alcohol attacks an amide. Even if the (very unreactive) carbonyl is attacked at all, the tetrahedral intermediate must choose between expelling RO⁻ (pKa 16) and R₂N⁻ (pKa 38).
The alkoxide leaves — which is the alcohol you just added, returning you to the amide. No net reaction.
To convert an amide to an ester you must hydrolyze it to the acid under forcing conditions, activate with SOCl₂, and then esterify. Three steps, because the direct route is mechanistically blocked rather than merely slow.
Fischer esterification and the role of acid
Making an ester directly from a carboxylic acid and an alcohol runs against two obstacles: the acid's carbonyl is not very electrophilic, and its leaving group would be hydroxide, which does not leave. Acid catalysis solves both.
Protonating the carbonyl oxygen makes the carbon far more electrophilic, letting the weak neutral alcohol attack at a useful rate. Then protonating the OH of the tetrahedral intermediate converts it into water — a good leaving group — so the collapse can proceed. Same protonation-as-activation strategy you have now seen in alcohol chemistry, ether cleavage, and acetal formation.
Because every step is reversible, Fischer esterification is an equilibrium, typically around 65% conversion left to itself. Driving it requires Le Châtelier: use the alcohol as solvent, or remove water as it forms. And running it in reverse — ester, excess water, acid — is how acid-catalyzed ester hydrolysis works.
The same mechanism in biology
Nucleophilic acyl substitution is how proteases cut proteins, how fatty acids are loaded onto coenzyme A, how ribosomes form peptide bonds, and how aspirin works — it acetylates a serine hydroxyl in cyclooxygenase by exactly this mechanism, permanently disabling the enzyme. Penicillin does something similar to a bacterial enzyme, its strained four-membered beta-lactam acting as an unusually reactive amide.
The enzymatic versions differ from the flask versions only in having a precisely positioned nucleophile and general acid/base catalysis. The arrows are the same arrows.
What carries forward
This mechanism is the workhorse of Modules 10 and 11 — the Claisen condensation is an acyl substitution with an enolate as the nucleophile. It is how every amine in Module 12 gets acylated. And the habit it teaches, of asking "which of the two groups on this tetrahedral intermediate is the better leaving group," is the fastest way to predict the outcome of any carbonyl reaction you have not seen before.