In nucleophilic acyl substitution, a nucleophile attacks the carbonyl carbon of a carboxylic acid derivative, forming a tetrahedral intermediate that collapses by expelling the leaving group. Oxygen, nitrogen, and sulfur nucleophiles each give characteristic product classes: alcohols and alkoxides produce esters, amines produce amides, and thiols produce thioesters. The reaction proceeds downhill on the leaving-group ladder — acid chlorides > anhydrides > thioesters > esters > amides — because better leaving groups depart more easily from the tetrahedral intermediate. Relative nucleophilicity among heteroatoms depends on basicity, polarizability, and solvent: sulfur is more nucleophilic than oxygen in protic solvents due to higher polarizability despite lower basicity.
Draw the tetrahedral intermediate for each combination of acyl derivative and heteroatom nucleophile, then identify which group departs. Build the reactivity ladder of carboxylic acid derivatives and confirm that conversions only proceed spontaneously downhill (acid chloride to ester is favorable; ester to acid chloride requires activation). Practice converting between derivative classes and predicting whether a given transformation is feasible.
From nucleophilic acyl substitution you know the core mechanism: a nucleophile attacks the electrophilic carbonyl carbon of a carboxylic acid derivative, forming a tetrahedral intermediate, which then collapses by expelling a leaving group. This topic focuses on what happens when the incoming nucleophile is an oxygen, nitrogen, or sulfur atom — the three most common heteroatom nucleophiles in biological and synthetic chemistry. Each one produces a characteristic product class, and understanding their differences in reactivity explains why certain interconversions are easy and others require activation.
When an oxygen nucleophile (an alcohol or alkoxide) attacks an acyl derivative, the product is an ester. For example, an alkoxide attacking an acid chloride gives an ester in a fast, exothermic reaction. When a nitrogen nucleophile (a primary or secondary amine) attacks, the product is an amide. Amines are generally good nucleophiles because nitrogen's lone pair is accessible and reasonably basic. When a sulfur nucleophile (a thiol or thiolate) attacks, the product is a thioester. Sulfur is a particularly interesting case: thiolate (RS⁻) is a stronger nucleophile than alkoxide (RO⁻) in protic solvents, even though thiols are weaker bases than alcohols. The reason is polarizability — sulfur's larger, more diffuse electron cloud can begin forming a bond with the electrophilic carbon at a greater distance, lowering the activation energy for attack. This is the same principle that makes iodide a better nucleophile than fluoride in SN2 reactions.
The leaving-group ladder determines which interconversions are thermodynamically favorable. Acid chlorides sit at the top — the chloride ion is an excellent leaving group — and amides sit at the bottom, because the nitrogen lone pair delocalizes into the carbonyl (resonance stabilization), making the C–N bond partially double-bonded and resistant to nucleophilic attack. The hierarchy runs: acid chlorides > anhydrides > thioesters > esters > amides. A reaction proceeds spontaneously only *downhill* on this ladder: you can convert an acid chloride to an ester, an anhydride, a thioester, or an amide, but you cannot convert an amide back to an ester without an external activating agent. This is not about the nucleophile's strength alone — it is about the relative stability of the starting material versus the product.
This framework has direct biological significance. In metabolism, thioesters (like acetyl-CoA) serve as activated acyl carriers precisely because they sit in the middle of the ladder — reactive enough to transfer their acyl group to oxygen nucleophiles (forming esters in lipid synthesis) or nitrogen nucleophiles (forming amides in protein modification), but more stable than acid chlorides or anhydrides, which would react indiscriminately with water. The leaving-group ladder is not just an organizing principle for exam problems; it is the logic that evolution exploits to control which acyl transfers happen and when.