Acid Chlorides: Synthesis and Reactivity

Pour thionyl chloride onto a carboxylic acid and the mixture fizzes. Two gases are released. A fuming, pungent liquid remains behind. That liquid reacts almost violently with water. It is an acid chloride, the most reactive member of the carboxylic acid derivative family. The fizzing is the visible signature of a specific mechanism. In this mechanism, chlorine is delivered to carbon. Oxygen leaves as gaseous byproducts, not as a charged species. Such a species would otherwise need to be neutralized. Understanding exactly how that transformation happens is the subject of this article. So is understanding why the product is so ferociously electrophilic. Acid chlorides matter because they are the workhorse acylating agent of the synthetic chemist's bench. Amides, esters, anhydrides, ketones via organocuprates, and aryl ketones via Friedel–Crafts acylation are all made this way. The most reliable route first converts a carboxylic acid into its acid chloride. Then a nucleophile is allowed to attack. This detour exists for a reason. The direct reaction of a carboxylic acid with an alcohol or amine is sluggish and equilibrium-limited. The acid's own OH group is a poor leaving group. The carbonyl is also deactivated by lone-pair donation from that same oxygen. Swap the OH for Cl, and both problems vanish at once. The big picture connects to the The Reactivity Ladder of Acyl Derivatives. Acid chlorides sit at the top rung, above anhydrides, esters, and amides. This is because chlorine is a poor π-donor. Its 3p lone pairs overlap badly with carbonyl carbon's 2p orbital. Chlorine is also an excellent leaving group. Its conjugate acid, HCl, has a very low pKa. This article dissects three industrially and pedagogically central preparations. These are thionyl chloride, phosphorus trichloride/pentachloride, and oxalyl chloride. Each is mechanistically distinct. The article then builds a curved-arrow account. It explains why acid chlorides react with nucleophiles so much faster than any derivative below them on the ladder. By the end you will be able to draw the full tetrahedral-intermediate mechanism for each synthesis, from first principles. You will be able to predict which byproducts drive the equilibrium to completion. You will be able to rationalize the rate differences among acyl derivatives. This uses resonance and inductive arguments. You will also be able to anticipate the reactivity of acid chlorides toward water, alcohols, amines, and organometallics. This is the gateway to Anhydrides: Formation and Acylating Power. It also leads to the broader theme of Interconverting Acyl Derivatives Down the Ladder.

Key takeaways
  • Acid chlorides (RCOCl) are made from RCOOH using SOCl₂, PCl₃/PCl₅, or (COCl)₂ — never by direct reaction with Cl⁻.
  • Each reagent works by converting the acid's OH into a much better leaving group (a chlorosulfite, phosphorus ester, or comparable intermediate) before chloride attacks the carbonyl.
  • All three methods are driven irreversibly forward by loss of gaseous byproducts (SO₂, CO₂, CO) or by phosphorus acids that are removed from the product mixture.
  • Acid chlorides are the most electrophilic common carbonyl derivative because Cl is a weak resonance donor but an excellent leaving group.
  • Nucleophilic acyl substitution on RCOCl proceeds through a tetrahedral alkoxide intermediate, addition–elimination, with no need for acid or base catalysis.
  • Oxalyl chloride is prized for mild, side-product-friendly conditions (Swern-type reagent, gaseous CO/CO₂/HCl byproducts, easy removal in vacuo).
  • Key idea: acid chlorides react fast because the C–Cl bond is easy to cleave heterolytically after nucleophilic addition, and the synthesis routes all work by first replacing the acid's OH with an even easier-to-cleave leaving group.

Where this lives today

Acid chlorides remain the default acylating agent whenever a fast, clean, catalyst-free acylation is needed. In pharmaceutical process chemistry, acid chlorides generated in situ from oxalyl chloride/DMF are routinely used to acylate complex amine intermediates in the final steps of API (active pharmaceutical ingredient) synthesis, precisely because the mild, low-temperature, all-gaseous-byproduct conditions tolerate sensitive stereocenters and protecting groups — directly the logic worked through in Example 2 above. Aspirin (acetylsalicylic acid) can in principle be manufactured via acetyl chloride acylation of salicylic acid, though the industrial process actually favors acetic anhydride for cost and handling reasons — a preview of why Anhydrides: Formation and Acylating Power exist as a gentler alternative acylating agent one rung down the reactivity ladder. In polymer chemistry, diacid chlorides (such as terephthaloyl chloride) are condensed with diamines in interfacial polycondensation to manufacture aramid fibers like Kevlar and Nomex; the reaction occurs at a water/organic solvent interface precisely because acid chlorides react so fast with amines that even the brief residence time at a liquid-liquid interface is enough for high-molecular-weight polymer to form before competing hydrolysis by the aqueous phase consumes much material. In Friedel–Crafts acylation, acid chlorides activated by a Lewis acid (AlCl₃) generate acylium ions that install aryl ketone functionality onto arenes — a reaction that is itself often the first step toward pharmaceuticals, fragrances (e.g., synthetic musks), and dye intermediates. In peptide chemistry and amino-acid derivative synthesis, acid chlorides are avoided for the coupling step itself (racemization risk via oxazolone formation is a real concern under the basic conditions sometimes used to quench HCl) but are used to prepare N-protected amino acid derivatives and in acylation of alcohols for chromatographic derivatization. Chloroformates (ROC(=O)Cl, close cousins made analogously) are the standard reagents for introducing carbamate protecting groups such as Cbz and Fmoc-related chemistry in solid-phase peptide synthesis, extending the same tetrahedral-intermediate mechanism to carbonate/carbamate-forming chemistry. Understanding this synthesis and reactivity, in short, is the mechanistic foundation for essentially every acylation reaction taught afterward, including Interconverting Acyl Derivatives Down the Ladder.

Ask the tutor: How does the mechanism change when an acid chloride reacts with a Grignard reagent instead of a simple amine or alcohol, and why does the reaction often not stop at the ketone stage?

The physical picture

A carboxylic acid resists nucleophilic attack at its carbonyl carbon for two linked reasons. First, the OH oxygen donates its lone pair into the π system of the carbonyl, spreading negative charge onto the carbonyl oxygen and reducing the electrophilicity of carbon — this is the same resonance donation that stabilizes the carboxylate anion after deprotonation. Second, even if a nucleophile does add, OH⁻ (or, under acid catalysis, H₂O) is a poor leaving group; kicking it back out requires protonation first. Acid chloride synthesis solves both problems by chemically converting the leaving group. The unifying strategy across SOCl₂, PCl₃, PCl₅, and oxalyl chloride is this: react the carboxylic acid's OH with an electrophilic, chlorine-bearing species (S=O in SOCl₂, P in PCl₃/PCl₅, or the activated carbon of oxalyl chloride) to generate a new, much* better leaving group attached to the carbonyl oxygen — a chlorosulfite ester (–O–S(=O)Cl), a dichlorophosphite ester, or a mixed anhydride with oxalyl chloride. Chloride ion (or an internal chloride equivalent) then performs an intramolecular or intermolecular SN2-like backside attack on carbon, expelling that activated oxygen as a stable, chlorine-free byproduct — SO₂, POCl₃/HOPCl₂, or CO₂ + CO. The driving force in every case is entropic and thermodynamic: gases escape, or highly stable small molecules form, making each step effectively irreversible. Once formed, the acid chloride carbonyl carbon is doubly primed for attack. Chlorine's 3p lone pairs overlap poorly with the carbonyl carbon's 2p orbital (different principal quantum number, poor size/energy match), so there is little resonance donation to quench the carbonyl's electrophilicity — unlike the OH of an acid or the OR of an ester, whose 2p lone pairs overlap well. At the same time, Cl⁻ is an excellent leaving group (pKa of HCl ≈ −7), so after a nucleophile adds to give the tetrahedral alkoxide intermediate, collapse and expulsion of chloride is fast and essentially irreversible.

Figure
Why RCOCl is more electrophilic than RCOOR′ or RCONR′₂: orbital overlap comparison
π-donation into C=O: 2p–2p vs 2p–3p overlap Amide (best donor) N C O 2p(N)–2p(C): strong overlap → carbonyl least electrophilic Ester (medium donor) O C O 2p(O)–2p(C): moderate overlap → intermediate electrophilicity Acid chloride (poor donor) Cl C O 3p(Cl)–2p(C): weak overlap → carbonyl most electrophilic

The consequence is a monotonic reactivity order down the acyl ladder, RCOCl > (RCO)₂O > RCOOR′ > RCONR′₂, governed almost entirely by (i) how well the heteroatom attached to carbonyl carbon donates into the π* system (weaker donation = more electrophilic carbonyl) and (ii) how good a leaving group that heteroatom's conjugate acid is (better leaving group = faster collapse of the tetrahedral intermediate). Acid chlorides win on both counts simultaneously.

Figure
Overview of the three classical syntheses of RCOCl from RCOOH
Three routes to R–C(=O)–Cl R–COOH SOCl₂, Δ (or py) − SO₂, − HCl R–COOH PCl₃ or PCl₅ − H₃PO₃ / − POCl₃, HCl R–COOH (COCl)₂, cat. DMF − CO, − CO₂, − HCl R–COCl R–COCl R–COCl simple workup: gas escapes, distill product byproducts co-distill; PCl₃ cheap, robust mildest, lowest T; all byproducts gaseous

The core ideas

The rate law for nucleophilic acyl substitution at an acid chloride, under the standard addition–elimination (tetrahedral intermediate) mechanism, is second order overall:

rate=k2[RCOCl][Nu]\text{rate} = k_2[\text{RCOCl}][\text{Nu}]

where:

  • k2k_2 is the second-order rate constant, sensitive to the electrophilicity of the carbonyl carbon and the leaving-group ability of Cl⁻,
  • [RCOCl][\text{RCOCl}] and [Nu][\text{Nu}] are the instantaneous concentrations of acid chloride and nucleophile.

Reading it: doubling either the acid chloride or the nucleophile concentration doubles the initial rate — there is no acid or base catalyst required, in sharp contrast to ester hydrolysis/aminolysis which often needs catalysis to proceed at a useful rate. Relative rates down the ladder can be captured by a Hammett-like free-energy relationship comparing leaving-group basicity to reactivity:

log⁡ ⁣(kXkCl)≈−βlg (pKaH(X)−pKaH(Cl))\log\!\left(\frac{k_{\text{X}}}{k_{\text{Cl}}}\right) \approx -\beta_{\text{lg}}\,\big(\mathrm{p}K_{aH}(\text{X}) - \mathrm{p}K_{aH}(\text{Cl})\big)

where:

  • kXk_{\text X} is the rate constant for the acyl derivative RCOX,
  • pKaH(X)\mathrm{p}K_{aH}(\text{X}) is the pKa of the conjugate acid of leaving group X (a proxy for its "goodness" as a leaving group and, roughly, for how well X donates electron density back into the carbonyl),
  • βlg\beta_{\text{lg}} is a positive sensitivity constant (typically large, since acyl transfer is very leaving-group sensitive).

Reading it: since pKa(HCl) ≈ −7 is far lower than pKa(H₂O) ≈ 15.7, pKa(ROH) ≈ 16–18, or pKa(R₂NH) ≈ 35–38, acid chlorides are predicted — and observed — to react orders of magnitude faster than esters or amides toward the same nucleophile.

Derivation AMechanism 1 — SOCl₂ conversion of RCOOH to RCOCl

Goal. Show, arrow by arrow, how thionyl chloride converts a carboxylic acid into an acid chloride, and identify the step that makes the reaction irreversible.

Step 1 — Nucleophilic attack of the acid oxygen on sulfur. The carbonyl oxygen of the carboxylic acid (its more nucleophilic oxygen, since the OH oxygen is tied up donating into the carbonyl) attacks the electrophilic sulfur of SOCl₂. Sulfur is electrophilic because it bears a polarized S=O bond and two chlorines, each pulling electron density away inductively. A chloride ion is displaced from sulfur in the same step (or the tetrahedral sulfur intermediate collapses immediately after addition), giving a protonated chlorosulfite species:

R–C(=O)–OH+Cl–S(=O)–Cl⟶R–C(=O)–O–S(=O)Cl+HCl\text{R–C(=O)–OH} + \text{Cl–S(=O)–Cl} \longrightarrow \text{R–C(=O)–O–S(=O)Cl} + \text{HCl}

The HCl is lost as the acidic O–H proton is removed by the departing chloride ion (or by a base such as pyridine, if added).

Step 2 — Formation of the acyl chlorosulfite (activated leaving group). The product of Step 1 is an acyl chlorosulfite: R–C(=O)–O–S(=O)–Cl. Crucially, the oxygen that used to be the poor-leaving-group hydroxyl is now attached to sulfur, and the whole –O–S(=O)Cl unit is an excellent leaving group, because its conjugate acid (chlorosulfurous acid, which itself falls apart) is far more acidic and unstable than water.

Step 3 — Intramolecular delivery of chloride to the carbonyl carbon. Chloride ion, freed in Step 1 (or delivered intramolecularly through a cyclic transition state, depending on conditions and mechanism variant), attacks the carbonyl carbon of the acyl chlorosulfite. The carbonyl π electrons shift onto oxygen, generating a tetrahedral alkoxide-like intermediate bearing Cl, R, the former carbonyl O (now O⁻), and the O–S(=O)Cl leaving group:

Cl−+R–C(=O)–O–S(=O)Cl⟶R–C(Cl)(O−)–O–S(=O)Cl\text{Cl}^- + \text{R–C(=O)–O–S(=O)Cl} \longrightarrow \text{R–C(Cl)(O}^-\text{)–O–S(=O)Cl}

Step 4 — Collapse of the tetrahedral intermediate, expelling the sulfur leaving group. The alkoxide oxygen's lone pair reforms the π bond, kicking out the O–S(=O)Cl fragment as ⁻O–S(=O)Cl. This anion is unstable and immediately fragments:

− ⁣O–S(=O)Cl⟶Cl−+SO2↑{}^-\!\text{O–S(=O)Cl} \longrightarrow \text{Cl}^- + \text{SO}_2 \uparrow

The regenerated chloride can, in principle, re-enter the cycle for another equivalent, but stoichiometrically one full equivalent of Cl (from a second SOCl₂ or from the same one, depending on bookkeeping) supplies the acyl chloride, while SO₂ gas escapes.

Step 5 — Overall balance and thermodynamic driving force. Summing the steps:

R–COOH+SOCl2⟶R–COCl+SO2↑+HCl↑\text{R–COOH} + \text{SOCl}_2 \longrightarrow \text{R–COCl} + \text{SO}_2\uparrow + \text{HCl}\uparrow

Both byproducts are gases at or near room temperature (SO₂ bp −10 °C, HCl bp −85 °C) that bubble out of the reaction mixture, so Le Chatelier's principle offers no path back: the reverse reaction would require re-dissolving two gases and re-forming a strained tetrahedral intermediate, which does not happen under normal conditions. The reaction is therefore run to completion simply by heating gently and letting the gases escape; excess SOCl₂ (bp 79 °C) is removed by distillation, leaving pure acid chloride. Pyridine or DMF is often added catalytically: pyridine mops up HCl (preventing side reactions and easing workup) while DMF forms a highly electrophilic chloroiminium species (a "Vilsmeier-type" intermediate) that accelerates Step 1 by being an even better chlorinating agent than SOCl₂ itself.

Go deeper · Derivation B · 3 minMechanism 2 — PCl₃/PCl₅ conversion, and why oxalyl chloride is milder still
Derivation BMechanism 2 — PCl₃/PCl₅ conversion, and why oxalyl chloride is milder still

Goal. Trace the analogous activation-then-substitution logic for phosphorus trichloride/pentachloride, then contrast the oxalyl chloride pathway, which proceeds through a chloroiminium activator and gives the cleanest gaseous byproducts of all three methods.

Step 1 (PCl₃ route) — Acid oxygen attacks phosphorus. Phosphorus in PCl₃ is strongly electrophilic (three chlorines withdraw electron density, and phosphorus has an empty low-lying 3d-adjacent orbital manifold that also helps stabilize the incoming ligand in a trigonal bipyramidal transition state). The carboxylic acid's carbonyl oxygen attacks phosphorus, displacing chloride:

R–COOH+PCl3⟶R–C(=O)–O–PCl2+HCl\text{R–COOH} + \text{PCl}_3 \longrightarrow \text{R–C(=O)–O–PCl}_2 + \text{HCl}

This dichlorophosphite ester is the phosphorus analogue of the chlorosulfite from Mechanism 1: the former hydroxyl oxygen is now bonded to an electrophilic, chlorine-rich phosphorus center.

Step 2 — Chloride delivers to the carbonyl carbon; tetrahedral intermediate collapses. Exactly as before, chloride (freed in Step 1) attacks the acyl carbon, the π electrons shift to oxygen, and collapse expels the phosphorus-containing oxyanion:

Cl−+R–C(=O)–O–PCl2⟶R–COCl+−O–PCl2\text{Cl}^- + \text{R–C(=O)–O–PCl}_2 \longrightarrow \text{R–COCl} + {}^-\text{O–PCl}_2

The anion ⁻O–PCl₂ is itself a reactive phosphorus(III) species that goes on to react with another equivalent of carboxylic acid (this is why the stoichiometry of PCl₃ is one PCl₃ per three RCOOH: each phosphorus can be activated and discharged three times) ultimately ending up as phosphorous acid, H₃PO₃, after aqueous workup.

Step 3 — Overall balance for PCl₃.

3 R–COOH+PCl3⟶3 R–COCl+H3PO33\,\text{R–COOH} + \text{PCl}_3 \longrightarrow 3\,\text{R–COCl} + \text{H}_3\text{PO}_3

H₃PO₃ is a solid/viscous liquid (mp 73 °C) that either precipitates or remains in a separate phase, again pulling the equilibrium forward by physically removing a product; the acid chloride, generally lower-boiling than the phosphorous acid byproduct, is isolated by simple distillation. PCl₅ works by an analogous but even more electrophilic phosphorus(V) center, giving POCl₃ (phosphorus oxychloride, bp 106 °C) and HCl as byproducts:

R–COOH+PCl5⟶R–COCl+POCl3+HCl↑\text{R–COOH} + \text{PCl}_5 \longrightarrow \text{R–COCl} + \text{POCl}_3 + \text{HCl}\uparrow

Here the mechanism runs through a pentacoordinate phosphorane intermediate: the acid oxygen attacks P(V), a chloride leaves from phosphorus, and the resulting R–C(=O)–O–PCl₄ activated ester undergoes the same chloride-attacks-carbonyl / tetrahedral-collapse sequence, expelling POCl₃ directly in one step because phosphorus can accommodate the extra oxygen by forming the strong P=O bond of phosphoryl chloride.

Step 4 (oxalyl chloride route) — Why (COCl)₂ needs a catalytic activator. Oxalyl chloride, Cl(O=)C–C(=O)Cl, is itself only weakly electrophilic toward a bare carboxylic acid at its own carbonyl carbons (it is, after all, a diacid chloride, already at the top of the reactivity ladder, and simple nucleophilic addition of a weakly nucleophilic carboxylic acid oxygen to it is slow at room temperature). Instead, oxalyl chloride is typically used with a catalytic amount of DMF (dimethylformamide). DMF's carbonyl oxygen attacks one carbonyl carbon of oxalyl chloride, displacing chloride, and the tetrahedral alkoxide collapses to expel CO₂ and Cl⁻ while generating a chloroiminium ion, the true active chlorinating agent:

(Me2N–CHO)+(COCl)2⟶[Me2N=CHCl]+Cl−+CO2↑+CO↑\text{(Me}_2\text{N–CHO)} + \text{(COCl)}_2 \longrightarrow \big[\text{Me}_2\text{N}=\text{CHCl}\big]^+ \text{Cl}^- + \text{CO}_2\uparrow + \text{CO}\uparrow

This iminium chloride is a highly electrophilic carbon center (isoelectronic with the classic Vilsmeier reagent) that is readily attacked by the carboxylic acid oxygen.

Step 5 — Carboxylic acid attacks the chloroiminium; chloride completes the substitution. The acid's carbonyl oxygen attacks the iminium carbon, displacing the DMF nitrogen lone pair back to neutral DMF and forming an activated mixed intermediate, R–C(=O)–O–CH=NMe₂⁺, which is attacked by chloride at the acyl carbon exactly as in Steps 1–2 of the SOCl₂ mechanism, collapsing to expel R–COCl and regenerate DMF:

R–COOH+[Me2N=CHCl]+Cl−⟶R–COCl+Me2NCHO+HCl↑\text{R–COOH} + [\text{Me}_2\text{N=CHCl}]^+\text{Cl}^- \longrightarrow \text{R–COCl} + \text{Me}_2\text{NCHO} + \text{HCl}\uparrow

DMF is thus a true catalyst, turned over stoichiometrically many times. The overall transformation,

R–COOH+(COCl)2→cat. DMFR–COCl+CO↑+CO2↑+HCl↑\text{R–COOH} + (\text{COCl})_2 \xrightarrow{\text{cat. DMF}} \text{R–COCl} + \text{CO}\uparrow + \text{CO}_2\uparrow + \text{HCl}\uparrow

is prized because every byproduct is a gas that leaves no residue, allowing the acid chloride to be used directly, without distillation, in sensitive downstream reactions (crucial in multistep total synthesis where the substrate is too precious or too fragile to distill).

Worked examples

Example 1 (foundational) — Predicting product and byproducts for a simple acid. Propanoic acid (CH₃CH₂COOH, pKa 4.87) is treated with excess thionyl chloride at reflux with a catalytic drop of DMF. Step 1. Identify the nucleophilic site: the carbonyl oxygen of propanoic acid attacks the sulfur of the DMF-activated chlorosulfonium/chloroiminium species (or directly attacks SOCl₂ if no catalyst is used), displacing chloride and forming the mixed chlorosulfite CH₃CH₂C(=O)–O–S(=O)Cl, with loss of HCl. Step 2. Chloride ion attacks the carbonyl carbon; a tetrahedral alkoxide intermediate forms with substituents Cl, O⁻, O–S(=O)Cl, and CH₂CH₃. Step 3. Collapse expels ⁻O–S(=O)Cl, which fragments to SO₂ + Cl⁻. Step 4. Net transformation:

CH3CH2COOH+SOCl2⟶CH3CH2COCl+SO2↑+HCl↑\text{CH}_3\text{CH}_2\text{COOH} + \text{SOCl}_2 \longrightarrow \text{CH}_3\text{CH}_2\text{COCl} + \text{SO}_2\uparrow + \text{HCl}\uparrow

Propanoyl chloride (bp 80 °C) is isolated by distillation away from excess SOCl₂ (bp 79 °C — close enough that a slight excess of SOCl₂ is used and the crude product is often carried forward without rigorous separation, or distilled carefully through a short column). This example uses an unremarkable, non-symmetric small acid to fix the mechanism pattern before tackling more delicate substrates.

Example 2 (applied) — Chemoselective acid chloride formation in a substrate with an epimerizable stereocenter. Consider (S)-2-methylbutanoic acid, CH₃CH₂CH(CH₃)COOH, whose α-carbon is a stereocenter attached to H, CH₃, CH₂CH₃, and COOH. Suppose a chemist needs the corresponding acid chloride, (S)-2-methylbutanoyl chloride, without racemization, for a later acylation of an amine to build an amide-based chiral auxiliary. Reasoning about mechanism site. Every step in the SOCl₂ (or oxalyl chloride) mechanism occurs at the carbonyl carbon and at sulfur/phosphorus/oxalyl carbon — never at the α-carbon. The α-C–H bond is never broken, deprotonated, or involved in any resonance-delocalized enolate/enol intermediate during activation or chloride substitution, because no base strong enough to deprotonate an α-C–H (pKa ≈ 25–30 for a simple ester/acid enolizable position) is generated in these mechanisms; HCl and pyridinium salts are far too weakly basic (and often the medium is even mildly acidic). Step 1. Choose oxalyl chloride with catalytic DMF at 0 °C to room temperature — among the harshest reagent choices, SOCl₂ at reflux, PCl₅ neat, and (COCl)₂/DMF at 0 °C, the last is mechanistically identical in the bond-forming/bond-breaking sense but operationally the mildest (lowest temperature, shortest reaction time, no strong Brønsted acid HCl accumulating in high local concentration near the substrate for long periods), minimizing any risk of adventitious enolization via trace acid/base or thermal epimerization via a competing (slow, generally negligible) retro-ene-type pathway. Step 2. Mechanistically: DMF + (COCl)₂ → chloroiminium + CO₂ + CO (as derived above); the carboxylic acid oxygen of (S)-2-methylbutanoic acid attacks the chloroiminium carbon; chloride then attacks the acyl carbon in a clean SN2-like addition, and the tetrahedral intermediate collapses to expel DMF and give the acid chloride. Step 3. Because the α-carbon's four different substituents (H, CH₃, Et, and now COCl instead of COOH) are never touched, the configuration is retained:

(S)-CH3CH2CH(CH3)COOH⟶(S)-CH3CH2CH(CH3)COCl\text{(S)-CH}_3\text{CH}_2\text{CH(CH}_3\text{)COOH} \longrightarrow \text{(S)-CH}_3\text{CH}_2\text{CH(CH}_3\text{)COCl}

with the same R/S descriptor label (the substituent priority order is unchanged by swapping OH for Cl in the sense that COOH and COCl remain the highest-priority substituent attached at that carbon, since the immediate atom is still carbon-double-bonded-to-O, single-bonded-to-Cl-or-O). No racemization occurs, confirming that stereochemical information is carried through the whole synthetic detour untouched — the reaction is stereospecific by virtue of not touching the stereocenter at all, a stronger and simpler statement than "stereospecific with inversion/retention" language used for reactions that do occur at a stereocenter.

Example 3 (exam/competition level) — Kinetics and a competition between two nucleophiles. A solution contains acetyl chloride (CH₃COCl, 0.040 M) together with two competing nucleophiles: methanol (CH₃OH, 0.50 M) and aniline (C₆H₅NH₂, 0.020 M), in an inert solvent (e.g., diethyl ether) at 0 °C, so that only one acylation event per acid chloride molecule is being tracked (pseudo first-order regime in acid chloride, since both nucleophiles are present in a fixed ratio for this snapshot). Literature-typical second-order rate constants (illustrative, order-of-magnitude values consistent with amine nucleophiles reacting roughly 10210^2–10310^3 times faster than alcohols toward acyl chlorides in aprotic solvents at low temperature) are taken as

kMeOH=5.0×10−2 M−1s−1,kPhNH2=4.0×101 M−1s−1.k_{\text{MeOH}} = 5.0\times10^{-2}\ \text{M}^{-1}\text{s}^{-1}, \qquad k_{\text{PhNH}_2} = 4.0\times10^{1}\ \text{M}^{-1}\text{s}^{-1}.

Step 1 — Write the two competing rate expressions. Both nucleophiles attack the same electrophilic carbonyl carbon of acetyl chloride via addition–elimination, so

rateMeOH=kMeOH[CH3COCl][MeOH],ratePhNH2=kPhNH2[CH3COCl][PhNH2]\text{rate}_{\text{MeOH}} = k_{\text{MeOH}}[\text{CH}_3\text{COCl}][\text{MeOH}], \qquad \text{rate}_{\text{PhNH}_2} = k_{\text{PhNH}_2}[\text{CH}_3\text{COCl}][\text{PhNH}_2]

Step 2 — Compute the ratio of rates (selectivity), which cancels the common acid chloride concentration.

ratePhNH2rateMeOH=kPhNH2[PhNH2]kMeOH[MeOH]=(4.0×101)(0.020)(5.0×10−2)(0.50)\frac{\text{rate}_{\text{PhNH}_2}}{\text{rate}_{\text{MeOH}}} = \frac{k_{\text{PhNH}_2}[\text{PhNH}_2]}{k_{\text{MeOH}}[\text{MeOH}]} = \frac{(4.0\times10^{1})(0.020)}{(5.0\times10^{-2})(0.50)}

Step 3 — Evaluate numerator and denominator separately.

numerator=4.0×101×0.020=0.80 M−1s−1⋅M  (units track through consistently)\text{numerator} = 4.0\times10^{1}\times0.020 = 0.80\ \text{M}^{-1}\text{s}^{-1}\cdot\text{M} \;(\text{units track through consistently})
denominator=5.0×10−2×0.50=0.025\text{denominator} = 5.0\times10^{-2}\times0.50 = 0.025

Step 4 — Final ratio.

ratePhNH2rateMeOH=0.800.025=32\frac{\text{rate}_{\text{PhNH}_2}}{\text{rate}_{\text{MeOH}}} = \frac{0.80}{0.025} = 32

Interpretation. Even though methanol is present at 25 times the concentration of aniline (0.50 M vs 0.020 M), aniline's much larger intrinsic rate constant — amines are both better nucleophiles (softer, more polarizable lone pair, no need to lose a proton from a charged intermediate the way alcohols effectively must in the deprotonation step, and no significant π-donation competing for the lone pair the way it does in aromatic amines' resonance into the ring, though that resonance does reduce the rate constant somewhat relative to an aliphatic amine) — means the amide product is formed roughly 32 times faster than the ester product under these conditions. This is the mechanistic basis for the classic laboratory practice of adding an acid chloride to a solution containing both an amine and excess alcohol (or unprotected amino-alcohol substrates) and obtaining clean amide formation with the alcohol essentially a spectator, provided the amine is not so hindered or so deactivated (e.g., by strong electron-withdrawing groups) that its intrinsic k2k_2 collapses below that of the alcohol. Limiting case check. If instead [PhNH2]→0[\text{PhNH}_2] \to 0 (aniline absent), the ratio → 0 and methanol reacts alone at rate kMeOH[CH3COCl][MeOH]k_{\text{MeOH}}[\text{CH}_3\text{COCl}][\text{MeOH}], recovering the simple single-nucleophile second-order rate law used in Mechanisms 1 and 2 — confirming the two-nucleophile formula correctly reduces to the single-nucleophile case.

Limiting cases, scope & common traps

SituationWhat actually happensWhy
RCOOH + SOCl₂, no catalyst, RTSlow; needs reflux or catalytic DMF/pyridineUncatalyzed attack of a weak nucleophile (carboxylic acid O) on S is sluggish; DMF makes a far more electrophilic chloroiminium-type intermediate
RCOOH + PCl₅Works well, but generates POCl₃ + HCl, both corrosive and sometimes hard to remove completely from non-volatile acid chloridesExcess PCl₅ or POCl₃ can contaminate high-boiling acid chloride products; distillation or use of exactly 1 equiv is preferred
Acid bearing an acid-sensitive group (e.g., tert-butyl ester, acetal, epoxide)Oxalyl chloride/DMF (mild, low T, weakly acidic) strongly preferred over PCl₅ or hot SOCl₂Strongly acidic HCl-rich conditions at reflux can hydrolyze acetals or ionize tertiary esters via SN1
α,β-unsaturated acid (acrylic acid derivatives)Works normally at the carbonyl; but excess heat/HCl can promote Michael addition of HCl to the alkeneConjugated alkene is a competing electrophilic site for nucleophilic Cl⁻ addition under prolonged acidic/thermal conditions
Acid chloride + H₂O (adventitious moisture)Instant, often exothermic hydrolysis back to RCOOH + HClWater is an excellent nucleophile and Cl⁻ an excellent leaving group; no catalyst needed, unlike ester hydrolysis
Amino acid substrate (free NH₂ and COOH on same molecule)Self-acylation / oligomerization competes unless the amine is protected firstThe amine, once liberated as a nucleophile, reacts intermolecularly with another molecule's acid chloride faster than intended coupling partner can compete
Aromatic acid with ortho-substituent (steric hindrance)Acid chloride still forms fine (activation site is at O/S/P, remote from ring) but subsequent acylation of a hindered nucleophile by this acid chloride may be slowSteric hindrance affects the nucleophilic acyl substitution step, not the RCOOH→RCOCl activation step

The chemist behind it

The systematic use of thionyl chloride and phosphorus halides to convert carboxylic acids into acid chlorides emerged from nineteenth-century investigations into inorganic acid chlorides and their organic analogues, a period in which the parallel between mineral acid chemistry (H₂SO₃/SOCl₂, H₃PO₃/PCl₃) and organic acid chemistry (RCOOH/RCOCl) was being mapped out systematically for the first time.

Origins · 1 minCharles Frédéric Gerhardt and how this was discovered
CF
Charles Frédéric Gerhardt
1816–1856 · Founding work on acid anhydrides, mixed anhydrides, and the systematization of acyl derivative chemistry in mid-19th century France

Gerhardt, working in Montpellier and later Strasbourg, was among the first to prepare and systematically characterize acid anhydrides and to articulate the conceptual family relationship among carboxylic acids, their anhydrides, their esters, and — through his and contemporaries' work on chlorinating agents derived from phosphorus chlorides — their acid chlorides. His "unitary theory" of organic structure, proposed in opposition to the older dualistic radical theories, helped establish the modern view that acyl derivatives are variations on a single reactive C=O unit differing by which group is attached, a viewpoint this entire acyl-reactivity-ladder framework directly descends from. Later chemists (including Adolph Wilhelm Hermann Kolbe and others working on the halogenation of carboxylic acids in the 1850s–1860s) established phosphorus trichloride and pentachloride as practical, scalable methods; the specific use of thionyl chloride, whose milder byproducts (gaseous SO₂ and HCl) made purification dramatically easier, became standard laboratory practice through the late nineteenth and twentieth centuries and remains, alongside oxalyl chloride, the default undergraduate and industrial method today.

History
- 1816 — Charles Gerhardt born in Strasbourg.
- 1853 — Gerhardt reports the first deliberate synthesis of a mixed anhydride from an acid chloride and a carboxylate salt, cementing the acyl-family concept.
- 1856 — Gerhardt dies at age 39, having laid the conceptual groundwork for treating carboxylic acid derivatives as a reactivity family.
- 1857 — Thionyl chloride (SOCl₂) is first prepared and characterized as a reagent for converting oxygen-containing functional groups to chlorides.
- 1930s–1960s — Oxalyl chloride and DMF-catalyzed activation methods are developed and popularized, giving chemists a mild, gas-byproduct-only alternative for acid-sensitive substrates.
Why can't you make an acid chloride by just adding HCl gas to a carboxylic acid?

Because that reaction is thermodynamically and mechanistically the wrong direction. HCl attacking the carbonyl oxygen would require displacing hydroxide (a poor leaving group, conjugate acid pKa ≈ 15.7) directly, with chloride as the incoming nucleophile — but there is no step that activates the oxygen first, and simple protonation of the carbonyl oxygen by HCl does not generate a good enough leaving group at the other oxygen to allow chloride to substitute. In practice, the equilibrium for RCOOH + HCl ⇌ RCOCl + H₂O lies overwhelmingly on the acid/water side, because water is a far better leaving group's conjugate nucleophile partner than the reverse implies, and because no thermodynamic sink (like escaping SO₂ gas) exists to pull the reaction forward. You need an activating reagent — SOCl₂, PCl₃/PCl₅, or oxalyl chloride — that first converts the hydroxyl oxygen into a much better leaving group before chloride ever attacks carbon.

Does the acid chloride synthesis ever go through an acylium ion (R–C≡O⁺) instead of a tetrahedral intermediate?

Not in the activation step itself. The formation of RCOCl from RCOOH proceeds through addition of chloride to a neutral, activated acyl species (the chlorosulfite, phosphite ester, or chloroiminium adduct) followed by collapse of a tetrahedral intermediate — a classic addition–elimination pathway, not an ionization to a discrete acylium cation. Acylium ions do become important later, in Friedel–Crafts acylation, where a Lewis acid such as AlCl₃ coordinates the chlorine of the finished acid chloride and can, for small/stabilized R groups, ionize it fully to R–C≡O⁺ before the arene attacks; but that is a separate, downstream reaction, not part of the RCOOH-to-RCOCl activation mechanism.

Why is pyridine sometimes added during SOCl₂ treatment of a carboxylic acid?

Pyridine serves two roles. First, as a mild, non-nucleophilic-at-its-lone-pair-for-acylation (actually it does acylate transiently, forming a reactive acylpyridinium species, but this is often part of the intended catalysis) base, it absorbs the HCl generated during the reaction, keeping the medium less acidic and protecting acid-sensitive functional groups from HCl-catalyzed side reactions such as acetal hydrolysis or alkene addition. Second, pyridine's nitrogen lone pair can attack the acid chloride transiently to form a highly reactive N-acylpyridinium intermediate, which is in some cases an even better electrophile than the parent acid chloride toward a subsequent, deliberately added nucleophile (an amine or alcohol) — a strategy sometimes used to accelerate the downstream acylation step as well as the activation step.

Is the acid chloride mechanism affected by the identity of R (alkyl vs aryl)?

The core mechanism — oxygen attacks the activating reagent, chloride attacks the acyl carbon, tetrahedral intermediate collapses — is the same for aliphatic and aromatic carboxylic acids. Rate differences do appear: aromatic acids like benzoic acid react somewhat more slowly than aliphatic acids in some of these steps because the aryl ring can conjugate with the carbonyl, modestly reducing its electrophilicity relative to an alkyl acid, and because ortho-substituted aromatic acids experience steric hindrance to nucleophilic attack at the carbonyl carbon in both the activation step and any subsequent acylation. Electron-withdrawing substituents on an aromatic ring (e.g., para-nitro) accelerate the reaction by making the carbonyl carbon more electrophilic, consistent with the general electronic reasoning used throughout this mechanism.

Why does the reactivity ladder place acid chlorides above anhydrides, if both have electronegative leaving groups attached to oxygen or chlorine directly on carbonyl carbon?

Anhydrides have a carboxylate oxygen (–O–C(=O)R′) attached to the reactive carbonyl carbon; that oxygen's lone pairs are 2p orbitals that overlap reasonably well with the carbonyl carbon's 2p π orbital, providing meaningful (if reduced, because the lone pair is partly delocalized into the other* carbonyl too) resonance stabilization of the carbonyl. Acid chlorides have chlorine's 3p lone pairs, which are poorly size- and energy-matched to carbon's 2p orbital, giving essentially negligible π-donation. Since anhydrides also have a modestly decent (carboxylate) leaving group compared to chloride's superb leaving-group ability, acid chlorides win on both electronic criteria — weaker donation, better leaving group — placing them unambiguously above anhydrides on the ladder.

Can acid chlorides be made directly from esters or amides, skipping the carboxylic acid?

Generally no, not by the reagents discussed here. SOCl₂, PCl₃/PCl₅, and oxalyl chloride are all designed to react specifically with the free O–H of a carboxylic acid (or, less commonly, with an alcohol to make an alkyl chloride via an analogous mechanism); esters and amides lack that free hydroxyl, so the initial nucleophilic-oxygen-attacks-activator step cannot occur in the same way. Converting an ester or amide to an acid chloride instead typically requires first hydrolyzing back down to the carboxylic acid (down and then up the reactivity ladder) or using specialized reagents; this is part of why the reactivity ladder concept emphasizes that acyl interconversion is generally easiest "downhill" (chloride → anhydride → ester → amide) and comparatively awkward "uphill" without returning to the free acid first.

Why does acetyl chloride fume in moist air?

Atmospheric water vapor reacts essentially instantaneously with the exposed liquid surface: water's oxygen lone pair attacks the highly electrophilic carbonyl carbon, forming a tetrahedral intermediate that collapses to expel chloride and generate acetic acid plus HCl gas. The HCl gas, upon meeting further ambient water vapor, condenses into tiny aerosol droplets of hydrochloric acid, which scatter light and appear as visible "fumes." This is the same addition–elimination mechanism used throughout this article, run here with water as the nucleophile — a vivid, visible demonstration of just how reactive the C=O–Cl unit is toward even a relatively weak nucleophile like water.

Before this

Where this leads