> "The whole machinery of biology — every protein, every nucleic acid, every fatty acid — is built by acyl transfer."
In This Chapter
- 26.1 The general mechanism
- 26.2 Reactivity ordering revisited
- 26.3 Acid halides: the most versatile starting material
- 26.4 Anhydrides: aspirin and acetylation
- 26.5 Esters: the central species
- 26.6 Amides: the most stable derivatives
- 26.7 Carboxylic acids: special cases
- 26.8 Thioesters and biology
- 26.9 Spectroscopy of acyl substitution products
- 26.10 Why this chapter matters
- 26.11 Summary
Chapter 26 — Nucleophilic Acyl Substitution: Carboxylic Acid Derivatives
"The whole machinery of biology — every protein, every nucleic acid, every fatty acid — is built by acyl transfer." — biochemistry teaching aphorism
"Acyl substitution is the most synthetically powerful reactivity in carbonyl chemistry. It is how you turn one functional class into another, how you make peptide bonds, how you make esters, how you build up complexity from simple acids."
This is the second carbonyl reactivity family from Section 24.2: acyl substitution. The substrates are carbonyls with a leaving group on the carbonyl carbon: acid halides ($RCOCl$), anhydrides ($RCOOCOR'$), esters ($RCOOR'$), amides ($RCONR'_2$), thioesters ($RCOSR'$), and carboxylic acids ($RCOOH$).
When a nucleophile attacks one of these substrates, the tetrahedral intermediate collapses by kicking out the leaving group instead of just being protonated. The C=O is reformed, and the net result is that the nucleophile has substituted for the original leaving group on the carbonyl carbon.
This single mechanistic pattern accounts for an enormous range of biological and synthetic chemistry: peptide bond formation and hydrolysis, ester synthesis and hydrolysis, fatty acid metabolism, aspirin's mechanism on COX, and most pharmaceutical acyl transfers.
By the end of this chapter you should be able to: - Predict the product of any acyl substitution reaction (substrate × nucleophile combinations). - Draw the full mechanism — including the tetrahedral intermediate and the leaving group's departure. - Apply the reactivity order (acid halide > anhydride > ester > carboxylic acid > amide > carboxylate). - Design interconversions among carbonyl families ("up the ladder" requires activation). - Recognize this family in biology: peptide synthesis, fatty acid metabolism, glycerolipids, post-translational modifications. - Predict the mechanism of aspirin's mode of action on COX.
26.1 The general mechanism
The mechanism of nucleophilic acyl substitution is:
Step 1: Nucleophile attacks C=O carbon. Tetrahedral intermediate forms. π electrons of C=O collapse onto oxygen. The resulting tetrahedral intermediate has the nucleophile, the leaving group, the R group, and the alkoxide (-O⁻) all on the central carbon — making it sp³.
Step 2: Leaving group departs with the bonding electrons. C=O is reformed. The alkoxide pushes back down to form the C=O π bond, expelling the leaving group as an anion (or in protonated form, as a neutral molecule).
Mechanism Map 26.1: The universal acyl-substitution step.
Nu⁻ + R-C(=O)-X → R-C(O⁻)(Nu)(X) → R-C(=O)-Nu + X⁻ (Step 1: Nu attacks C; π → O) (Step 2: alkoxide pushes back; X leaves)Compare to Family I (Ch 25): there, the alkoxide is protonated because there's no leaving group to expel. Here, the alkoxide expels the leaving group and the C=O reforms. The difference is whether the substrate has a leaving group attached to the carbonyl C.
In simpler form: addition + elimination = substitution. The nucleophile adds, then the leaving group eliminates.
The two-step mechanism is also called addition-elimination. It is fundamentally different from SN1 (Ch 11) and SN2 (Ch 10) — there is no carbocation intermediate, no concerted backside attack — instead, an addition-elimination through a discrete tetrahedral intermediate.
When does the tetrahedral intermediate form vs. collapse?
The tetrahedral intermediate is real. In aqueous chemistry, it can be detected experimentally for slow substrates (esters, amides) — sometimes by isotope-labeling experiments showing that ¹⁸O exchange between the substrate carbonyl and the solvent water occurs faster than hydrolysis. This proves the tetrahedral intermediate forms and falls back to the C=O before the leaving group leaves.
For fast substrates (acid halides), the tetrahedral intermediate is so short-lived (femtosecond timescale) that it is sometimes treated as a concerted addition-elimination. But mechanistically, it's still addition-elimination — just with a low barrier between the two steps.
26.2 Reactivity ordering revisited
From Chapter 24: $$\text{Acid halide} > \text{Anhydride} > \text{Aldehyde/Ketone} > \text{Ester} > \text{COOH} > \text{Amide} > \text{Carboxylate}$$
For acyl substitution specifically, this means:
| Carbonyl | Reactivity | Why |
|---|---|---|
| Acid halide ($RCOCl$) | Most reactive | Cl⁻ is an excellent leaving group; minimal π donation from Cl |
| Anhydride ($RCOOCOR'$) | Very reactive | $RCOO^-$ is a good leaving group |
| Ester ($RCOOR'$) | Moderate | $R'O^-$ is fair leaving group; OR has moderate π donation |
| Carboxylic acid ($RCOOH$) | Slow | $HO^-$ is a poor leaving group; OH and H are both substituent groups |
| Amide ($RCONR'_2$) | Very slow | $R'_2N^-$ is a terrible leaving group; N has strong π donation |
| Carboxylate ($RCOO^-$) | Essentially unreactive | Negative oxygen donates strongly into C; no electrophile |
Two factors drive this ordering: 1. Leaving group ability — Cl⁻ ≪ R'O⁻ ≪ R'NH⁻ (worse to better basicity). The ability to leave is essentially how well the conjugate base stabilizes after departure. 2. Resonance donation by the substituent — Cl, O, N each donate to varying degrees. N donates most (lone pair, no electronegativity penalty); Cl donates least. More donation = less electrophilic C = slower reaction.
Both factors push the same direction. Acid halides win on both: best leaving group, weakest π donor. Amides lose on both: worst leaving group, strongest π donor.
Worked Problem 26.1: Predict the rate of hydrolysis of: (a) acetyl chloride in water, (b) acetic anhydride in water, (c) methyl acetate in water, (d) acetamide in water. Rank from fastest to slowest.
Solution: Acetyl chloride: t₁/₂ in water at 25 °C is ~10 seconds. Acetic anhydride: t₁/₂ ~10 minutes. Methyl acetate: t₁/₂ ~weeks at room T (catalyst needed for practical reaction). Acetamide: t₁/₂ ~600 years (Wolfenden 2011 measurement).
Rate ordering matches Ch 24's reactivity ordering exactly.
26.3 Acid halides: the most versatile starting material
Acid halides ($RCOCl$ or $RCOBr$) are made from carboxylic acids by treatment with $SOCl_2$ (thionyl chloride), $POCl_3$, or oxalyl chloride ($(COCl)_2$):
$$RCOOH + SOCl_2 \to RCOCl + SO_2 + HCl$$
Mechanism: the COOH oxygen attacks SOCl₂'s sulfur; the resulting acyl-sulfite intermediate is a great leaving group when chloride attacks the carbonyl carbon, displacing it.
Reactions of acid halides (with various nucleophiles):
| Nucleophile | Product | Notes |
|---|---|---|
| $H_2O$ | carboxylic acid + HCl | Fast hydrolysis |
| $R'OH$ | ester + HCl | Standard ester synthesis |
| $R'NH_2$ | amide + HCl | Fast amide formation |
| $R'COO^-$ | anhydride + Cl⁻ | Convert to anhydride |
| $R'_2NH$ | tertiary amide + HCl | Steric variant |
| $LiAlH_4$ | primary alcohol | Reduction beyond ester level |
| $R'_2CuLi$ (Gilman) | ketone + R'⁻ + Cu | C-C bond formation; stops at ketone |
| $R'-MgX$ | tertiary alcohol (after 2 equivalents) | Goes through ketone, then attacks again |
The Gilman reagent reaction (acid halide + R'₂CuLi → ketone) is special: most other nucleophiles continue to attack the ketone, but the Gilman is selective for acid halides over ketones. This is one of the few ways to selectively make a ketone from an acid halide.
Mechanism Map 26.2: Acid chloride + amine → amide. 1. Amine's lone pair attacks the acid chloride's C=O carbon. Tetrahedral intermediate with -O⁻, -NR₂(H), -Cl, and R on the C. 2. Chloride leaves. Acid chloride character is destroyed; new amide forms with positive N (still has H). 3. Deprotonation by base (often by the second equivalent of amine, which becomes ammonium). Final product: amide + ammonium chloride.
Acid halides are used industrially as reactive acylating agents. Once you have an acid halide, you can readily convert your synthesis molecule to an ester, amide, anhydride, or carboxylic acid. They are the gateway to all the other carboxylic acid derivatives.
26.4 Anhydrides: aspirin and acetylation
Anhydrides ($RCOOCOR'$) are next on the reactivity ladder. They are made by: 1. Acid halide + carboxylate ($RCOCl + R'COO^- \to (RCO)(R'CO)O$) 2. From mixed acid + acid halide: $2 RCOOH + (CH_3CO)_2O \to (RCO)_2O$ (with heat, removing acetic acid).
Reactions are similar to acid halides but slower:
| Nucleophile | Product |
|---|---|
| $H_2O$ | 2 carboxylic acids |
| $R'OH$ | ester + carboxylic acid |
| $R'NH_2$ | amide + carboxylic acid |
The anhydride is half-throwaway: one half becomes the desired product, the other half is the leaving group as a carboxylate.
The aspirin synthesis (acetic anhydride + salicylic acid)
Aspirin (acetylsalicylic acid) is made by acetylating the phenol -OH of salicylic acid:
$$\text{salicylic acid} + (CH_3CO)_2O \xrightarrow{H_2SO_4 \text{ catalyst}} \text{aspirin} + CH_3COOH$$
Mechanism (a textbook nucleophilic acyl substitution): 1. The phenol OH attacks the acetic anhydride carbonyl carbon (nucleophilic addition). 2. Tetrahedral intermediate forms with acetate, phenoxide, methyl group, and -O⁻ on the C. 3. Acetate leaves as the leaving group (the phenoxide is the better π donor; acetate is the worse leaving group? Actually no — acetate IS a moderate leaving group; what makes the reaction favorable is that the new ester is more thermodynamically stable than the anhydride was). 4. The new ester (acetylsalicylic acid = aspirin) plus acetic acid byproduct.
Sulfuric acid (or another mineral acid) catalyst protonates the C=O of the anhydride, making the C more electrophilic. After the reaction, the catalyst is regenerated.
The aspirin synthesis is performed industrially at scale of millions of kilograms per year. The same mechanism — phenol-OH + anhydride → ester — is used to make many other acyl-OAr products.
Biological Connection 26.1: Aspirin's mechanism on COX.
Once aspirin is in your bloodstream, it reaches the COX (cyclooxygenase) enzymes that make prostaglandins (the molecules that mediate inflammation and pain). Aspirin transfers its acetyl group to a serine residue (Ser530) in COX's active site:
$$\text{aspirin} + \text{COX-Ser-OH} \to \text{salicylic acid} + \text{COX-Ser-OAc}$$
This is a nucleophilic acyl substitution: the COX serine OH attacks the aspirin's ester carbonyl (the acetyl C, not the salicylate), breaks the ester bond, and produces an acetylated COX-serine. The acetylated COX is now blocked — its substrate (arachidonic acid) cannot bind, and prostaglandin synthesis is irreversibly inhibited.
This is why aspirin's effect lasts longer than its half-life would suggest: the COX is permanently modified until new COX is made (typically 8–24 hours). It's also why aspirin is uniquely useful as a long-term blood thinner (low-dose aspirin once daily) — once the platelet COX is acetylated, it stays acetylated for the platelet's lifetime (~10 days).
26.5 Esters: the central species
Esters are the "middle" of the reactivity ladder. Most esters are not made directly from carboxylic acids (which are themselves slow) but rather: - From acid halides + alcohol (fast). - From anhydrides + alcohol (medium; aspirin-style). - From carboxylic acids + alcohol + acid catalyst (Fischer esterification; slow but reversible).
Fischer esterification
The classic Fischer esterification:
$$RCOOH + R'OH \xrightarrow[\text{catalyst}]{H^+} RCOOR' + H_2O$$
Mechanism (six steps): 1. H⁺ protonates the carbonyl O of the COOH. 2. Alcohol attacks the C=O carbon; tetrahedral oxonium intermediate. 3. Proton transfer: the protonated -OH₂⁺ on C becomes a leaving group. 4. Water leaves; the new oxocarbenium-like species (with the OH-now-protonated and the OR' attached) is the activated form. 5. Wait — let me redo. Fischer mechanism more carefully: - Step 1: protonate the COOH carbonyl O. - Step 2: alcohol attacks the C; tetrahedral intermediate. - Step 3: proton transfer to the original OH (the one between C and the protonated O). - Step 4: the protonated OH is a great leaving group; water leaves. - Step 5: deprotonation of the protonated ester gives the neutral ester. - Net: COOH + ROH → COOR' + H₂O.
The reaction is reversible. The equilibrium constant is ~4 — i.e., at equilibrium with stoichiometric amounts, you get a mix of starting materials and products. To drive the forward reaction: - Use excess alcohol (push the equilibrium). - Remove water (Dean-Stark trap, molecular sieves). - Concentrate the carboxylic acid by using it as solvent.
Saponification: base-catalyzed ester hydrolysis
In contrast to acid-catalyzed Fischer (reversible), base-catalyzed ester hydrolysis is irreversible:
$$RCOOR' + NaOH \to RCOO^- Na^+ + R'OH$$
Why irreversible? Because the carboxylate product is much less reactive than the ester (Ch 24 reactivity: COO⁻ is at the bottom). The reverse reaction (carboxylate + alcohol → ester + hydroxide) is essentially zero rate.
The mechanism: 1. OH⁻ attacks the ester C=O. Tetrahedral alkoxide intermediate with -O⁻, -OR', -OH (now), and R on the C. 2. R'O⁻ leaves (alkoxide is the better leaving group than -OH at this point). 3. Carboxylic acid forms transiently, then is deprotonated by hydroxide to give the carboxylate.
Saponification is the chemical basis of soap-making (saponification of fats with NaOH or KOH gives glycerol + sodium fatty acids = soap). It is also relevant to ester hydrolysis in aqueous biology: glycerol esters in fats are hydrolyzed by lipases via essentially this mechanism (with the lipase active site providing the base catalyst).
Transesterification
When an ester reacts with an alcohol to give a different ester:
$$RCOOR' + R''OH \xrightarrow{H^+} RCOOR'' + R'OH$$
Used to convert one ester to another. Industrial example: production of biodiesel by transesterification of vegetable oils with methanol.
Common Mistake 26.1: Confusing Fischer esterification (acid catalyzed, reversible) with saponification (base catalyzed, irreversible). They have the same product chemistry (ester ↔ acid + alcohol) but different equilibria. The acid-catalyzed reaction makes esters; the base-catalyzed reaction destroys them.
Reduction of esters
LiAlH₄ reduces esters to primary alcohols (going through an aldehyde intermediate that is not isolable). DIBAL-H at -78 °C, 1 equivalent, can stop at the aldehyde — a useful partial reduction.
Grignard reagents (2 equiv) attack esters to give tertiary alcohols (going through ketone intermediates, attacked again).
26.6 Amides: the most stable derivatives
Amides ($RCONR'_2$) are at the bottom of the reactivity ladder. They form readily from acid halides + amines or anhydrides + amines, but the reverse — amide hydrolysis to free amine + COOH — is much slower.
Amide hydrolysis requires: - Strong acid + heat (refluxing concentrated HCl in water for hours) to give COOH + amine•HCl. - Strong base + heat (refluxing KOH or NaOH for hours) to give COO⁻ + amine.
Why is amide hydrolysis so slow? 1. The amide C is barely electrophilic because the nitrogen donates strongly via resonance. 2. The amide N is a terrible leaving group because it would have to leave as an amide anion (high energy) or as an amine (requires protonation first, but the amide N is barely basic at neutral pH).
This is why peptide bonds are kinetically stable (Wolfenden 2011: half-life ~600 years at neutral pH) and why proteases are such important enzymes (they accelerate amide hydrolysis 10⁹–10¹² fold).
Amide formation: peptide bond synthesis
To form a peptide bond between two amino acids, the carboxylic acid must be activated to a more reactive form before the amine attacks. Several methods:
- Acid chloride route: acid + SOCl₂ → acid chloride, then react with amine. Rarely used in peptide synthesis because acid chlorides are too aggressive (cause racemization at the α-carbon).
- DCC (dicyclohexylcarbodiimide) coupling: acid + DCC → activated O-acylisourea (a great leaving group when displaced by amine); amine attacks; gives amide + dicyclohexylurea (DCU).
- HBTU, HATU, PyBOP (modern coupling reagents): activate the carboxylic acid as an active ester (e.g., the OBt ester of HOBt) which is then attacked by the amine.
- Aminoacyl-tRNA in biology: the carboxylic acid is activated as an aminoacyl-AMP, then transferred to tRNA. The aminoacyl-tRNA acts as the "active ester" in ribosomal peptide bond formation.
Mechanism Map 26.3: DCC coupling. 1. The carboxylate attacks DCC's central C (a carbodiimide, RN=C=NR). The result is an O-acylisourea (RC(=O)O-C(=NR)-NHR), a high-energy mixed-anhydride-like species. 2. The amine attacks the acyl-isourea's C=O carbon. Tetrahedral intermediate. 3. The dicyclohexylurea (DCU) is the leaving group. 4. Product: amide + DCU.
The DCC approach is used industrially in pharmaceutical peptide synthesis. The DCU byproduct is filterable, and the conditions are mild (room temperature, no racemization).
26.7 Carboxylic acids: special cases
Carboxylic acids ($RCOOH$) are protic and slightly acidic (pKa ~4–5). They react with bases to give carboxylates. As acyl substitution substrates, they are slow because: - The OH is a poor leaving group. - The COOH is half a carboxylate already (the OH is a moderate π donor).
To use a carboxylic acid as an acyl source, activate it first: convert to acid chloride, anhydride, or use a coupling agent like DCC.
Carboxylic acids are generally easy to make: - Oxidation of primary alcohols (e.g., $KMnO_4$, $CrO_3$). - Hydrolysis of nitriles: RCN + H₂O + acid or base + heat → RCOOH (Strecker amino acids). - Carboxylation of Grignard: R-MgX + CO₂ → RCOO⁻ MgX⁺, then aqueous workup gives RCOOH. Adds a one-carbon COOH group.
Reduction of carboxylic acids: - LiAlH₄: COOH → primary alcohol (full reduction). - DIBAL-H (1 equiv, -78 °C): can stop at the aldehyde for some substrates.
26.8 Thioesters and biology
Thioesters ($RCOSR'$) are the carbonyl class of choice in biology. The most famous are: - Acetyl-CoA: the central acyl carrier in metabolism. - Acyl-ACP: the carrier in fatty acid biosynthesis.
Why does biology prefer thioesters over oxoesters?
-
Thioesters are about 10⁵ times more reactive than oxoesters. Sulfur is a worse π donor (lower energy lone pair) than oxygen, so the C is more electrophilic. Sulfur is also a better leaving group (weaker C-S bond, S anion is more stable).
-
Acetyl-CoA stores the activation energy for acetyl transfer. The thioester bond hydrolyzes to give the acetate plus the CoA-SH, releasing about 7 kcal/mol. This "activation energy" is what makes acetyl-CoA capable of donating its acetyl group to sites that ATP cannot reach.
-
Selective. Cells can tolerate thioesters circulating in cytoplasm without random hydrolysis (water is nucleophilic but not very efficiently attacks the more-stable cellular thioester). They are activated only when an enzyme catalyzes the transfer.
Biological Connection 26.2: Acetyl-CoA in metabolism.
Acetyl-CoA is produced by: - Pyruvate dehydrogenase (final step of glycolysis prep). - Beta-oxidation of fatty acids (each cycle releases one acetyl-CoA). - Amino acid degradation (some amino acids → acetyl-CoA).
Acetyl-CoA is consumed by: - Citric acid cycle (acetyl-CoA + oxaloacetate → citrate, an aldol). - Fatty acid biosynthesis (initial steps; Claisen condensation). - Cholesterol biosynthesis. - Acetylation of proteins (epigenetic regulation; e.g., histones). - Acetylation of N-glucosamine (carbohydrate biology).
All of these reactions are nucleophilic acyl substitution: the acetyl-CoA is the activated acyl source; some nucleophile (a serine, a lysine, a glucose hydroxyl, an amino acid amine) attacks the carbonyl carbon and the CoA-S⁻ leaves.
26.9 Spectroscopy of acyl substitution products
When the carbonyl class changes, the IR C=O stretch shifts: - Acid halide (1780–1820) → ester (1735–1750): hydrolysis or alcoholysis. - Anhydride (1810 + 1760 doublet) → ester (1735–1750): aspirin synthesis. - Ester (1735) → amide (1660): aminolysis. - Amide (1660) → COOH (1715): hydrolysis.
¹³C NMR similarly shifts: amide and ester carbonyl C's at 165–185 ppm; acid halide and anhydride at slightly lower chemical shifts due to adjacent electronegative atoms.
26.10 Why this chapter matters
Nucleophilic acyl substitution is the central transformation of bioorganic chemistry and pharmaceutical synthesis. Once you have it: - You can convert any carbonyl family into another (with appropriate activation). - You can synthesize peptide bonds (the foundation of proteins). - You can make aspirin, ibuprofen, acetaminophen, penicillin, and most drugs that have a carbonyl somewhere in their structure. - You understand fatty acid metabolism and cholesterol biosynthesis at the mechanism level. - You understand why proteases work (they accelerate amide hydrolysis by stabilizing the tetrahedral intermediate).
Master Chapter 26, and you have the second of the three carbonyl reactivity families.
26.11 Summary
- Nucleophilic acyl substitution: nucleophile + acyl-X → tetrahedral intermediate → C=O reformed + X (leaving group) departs.
- Reactivity ordering: acid halide > anhydride > ester > COOH > amide > carboxylate.
- Acid chloride + Nu: most reactive; gives ester, amide, anhydride.
- Anhydride + Nu: aspirin synthesis (acetic anhydride + salicylic acid).
- Fischer esterification: acid + alcohol + H⁺ ⇌ ester. Reversible.
- Saponification: ester + base → COO⁻ + alcohol. Irreversible.
- Amide hydrolysis: very slow without enzyme catalysis (peptide bond half-life ~600 years).
- Amide formation: requires activation (DCC, acid chloride, etc.).
- Thioesters (acetyl-CoA) are nature's preferred acyl source — 10⁵× more reactive than oxoesters.
- Aspirin's mechanism on COX: acetyl transfer from aspirin to COX serine. Acyl substitution.
Chapter 27: α-carbon chemistry — enolates, the third family. The carbonyl-attacking nucleophile is now the carbonyl itself (deprotonated at the α-position).