Carboxylic Acids & Derivatives · Section 52 of 64

Nucleophilic acyl substitution

Practice this — interactive lesson

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

1. ADDITIONRLGOCNuexactly as in Module 9 — the carbongoes flat to tetrahedralthe TETRAHEDRAL INTERMEDIATECONuRLG2. ELIMINATIONa real intermediate, briefly. But it cannotstay — the oxygen wants its π bond backRNuOCLGthe carbonyl is back, with the nucleophilewhere the leaving group used to be
Acyl substitution is not a new mechanism — it is Module 9's addition with an extra step on the end. The nucleophile attacks, the carbon goes tetrahedral, and then the difference appears: this carbon is holding a group that can leave, so the oxygen pushes its pair back down and expels it. A ketone at the same stage has nothing worth throwing out and simply keeps the nucleophile. Whether a carbonyl adds or substitutes is decided entirely by what else is attached to it.Why substitution rather than the simple addition of Module 9? Because this carbon has something worth expelling. A ketone’s tetrahedral intermediate is stuck — an R group or a hydride will not leave — so it just picks up a proton. Here the oxygen can push its pair back down and kick the leaving group out instead.

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.

The reactivity ladder from the previous section is really a leaving-group ranking in disguise. A better leaving group in the tetrahedral intermediate collapses faster, which is why acid chlorides react fastest and amides slowest. Both the rate of attack (how electrophilic the carbon is) and the rate of collapse (how good X is at leaving) run the same direction, which is why the ordering never breaks.

Which group leaves?

the group that leaveshow stable it is once it has leftreactivityAcyl chlorideClCl⁻pKa −7AnhydrideOCORRCO₂⁻pKa 4.8EsterORRO⁻pKa 16AmideNR₂R₂N⁻pKa 38only this way
The ladder every acyl substitution runs down. A derivative reacts to give one below it and never one above, and the single reason is the column in the middle: the leaving group departs as an anion, and how willing it is to do that is how stable that anion is once formed.Read the pKa column as the whole explanation. Cl⁻ is the conjugate base of a strong acid and perfectly happy alone; R₂N⁻ is the conjugate base of something barely acidic at all and is a ferociously strong base. That is why an acyl chloride converts to an amide on contact and an amide needs hours of hot aqueous acid to go anywhere.

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.

Worked example — ester to amide

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.

Worked example — why an amide will not become an ester

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.

Under basic conditions, never protonate anything. A mechanism written with H₃O⁺ in a step that also contains hydroxide is wrong. Saponification, the base-mediated ester hydrolysis, goes: hydroxide attacks, alkoxide leaves, and then the alkoxide deprotonates the newly formed carboxylic acid. That final irreversible deprotonation is what drives the whole reaction to completion, and it is why saponification does not reverse while acid hydrolysis does.

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.