Mechanism Lab Open the app

Electrophilic aromatic substitution

Vilsmeier-Haack formylation

How the Vilsmeier-Haack formylation works, in 3 steps. Each step shows the structures and the curved arrows that move the electrons.

Open the interactive version

In short. A 3-step mechanism. Typical reagents: DMF, POCl₃; then H₂O (NaOAc). Conditions: 0 °C → 25–80 °C; aqueous work-up. Bonds formed: C–C (Ar–CHO after hydrolysis); bonds broken: P–Cl; C=O (DMF); C–Cl. Stereochemistry: Para (or most electron-rich position) selective. Rate and selectivity: EAS step rate-limiting; arene must be electron-rich.

At a glance

ReagentsDMF, POCl₃; then H₂O (NaOAc)
Solvent / conditions0 °C → 25–80 °C; aqueous work-up
Bonds formedC–C (Ar–CHO after hydrolysis)
Bonds brokenP–Cl; C=O (DMF); C–Cl
StereochemistryPara (or most electron-rich position) selective
Rate / selectivityEAS step rate-limiting; arene must be electron-rich

Step 1: Vilsmeier reagent forms

++−PO₂Cl₂⁻+NOClPClClONOPOClClClNClOPOClClClNOPOClCl1 · VILSMEIER REAGENT FORMSDMFC₃H₇NONUCLEOPHILEPOCl₃Cl₃OPELECTROPHILEO-phosphoryl iminiumC₃H₇Cl₂NO₂P⁺INTERMEDIATEchlorideCl⁻LEAVING GROUPafter Cl⁻ additionC₃H₇Cl₃NO₂PINTERMEDIATEchloroiminium (Vilsmeier reagent)C₃H₇ClN⁺ELECTROPHILEdichlorophosphateCl₂O₂P⁻LEAVING GROUPRow 2: chloride adds to the iminium C; the N lone pair then expels PO₂Cl₂⁻.

POCl₃ activates DMF's carbonyl oxygen, and loss of a phosphate leaving group generates a highly electrophilic chloroiminium ion (the 'Vilsmeier reagent') — an iminium analog of an acylium ion, just built from formamide instead of an acid chloride.

Step 2: EAS on the electron-rich arene

+−H⁺−Cl⁻OClNOHClNOHClNOClNON2 · EAS ON THE ELECTRON-RICH ARENEanisoleC₇H₈ONUCLEOPHILEchloroiminiumC₃H₇ClN⁺ELECTROPHILEarenium ionC₁₀H₁₅ClNO⁺INTERMEDIATEarenium ionC₁₀H₁₅ClNO⁺INTERMEDIATEα-chloroamineC₁₀H₁₄ClNOINTERMEDIATEaryl iminium saltC₁₀H₁₄NO⁺INTERMEDIATEOrdinary SEAr; the OMe stabilises the Wheland intermediate (para attack).

An electron-rich arene (like an activated phenol ether or a pyrrole) attacks this chloroiminium ion — ordinary electrophilic aromatic substitution, forming the familiar resonance-stabilized arenium intermediate before losing a proton to restore aromaticity.

Step 3: Hydrolysis to the aldehyde

+−HNMe₂+ONOH₂OOHNHOOHNHOONH₂3 · HYDROLYSIS TO THE ALDEHYDEaryl iminiumC₁₀H₁₄NO⁺ELECTROPHILEwaterH₂ONUCLEOPHILEcarbinolamine (protonated)C₁₀H₁₆NO₂⁺INTERMEDIATEcarbinolamine (protonated)C₁₀H₁₆NO₂⁺INTERMEDIATEp-anisaldehydeC₈H₈O₂PRODUCTdimethylammoniumC₂H₈N⁺BYPRODUCTWater adds to C=N⁺; loss of amine collapses the carbinolamine to C=O.

Aqueous hydrolysis of the resulting iminium salt reveals the aldehyde — this reagent combination formylates electron-rich arenes far too unreactive for the harsher Gattermann-Koch conditions covered earlier in this library.

Abbreviations and terms

Ar
Aryl group. Any aromatic ring substituent such as phenyl.
OMe
Methoxy. –OCH₃.
DMF
N,N-Dimethylformamide. Polar aprotic solvent – dissolves ionic nucleophiles but does not H-bond to them, speeding SN2 and SNAr.
H2
Hydrogen gas. Reductant for catalytic hydrogenation.
POCl3
Phosphoryl chloride. Dehydrating/chlorinating agent (Vilsmeier, Bischler–Napieralski).
EAS
Electrophilic aromatic substitution. An electrophile replaces H on an arene via a Wheland intermediate.
Wheland
Wheland intermediate (arenium ion). The cyclohexadienyl cation formed when an electrophile adds to a benzene ring.

How it compares with related reactions

Vilsmeier-Haack formylationBromination of benzene (FeBr₃-catalyzed)Duff reaction
ReagentsDMF, POCl₃; then H₂O (NaOAc)Br₂ with FeBr₃ (Lewis-acid catalyst)Hexamethylenetetramine (HMTA), acid (AcOH/glycerol or TFA); then H₃O⁺
Conditions0 °C → 25–80 °C; aqueous work-upAnhydrous, 25 °C, darkHeat, 100–150 °C; aqueous hydrolysis
StereochemistryPara (or most electron-rich position) selectiveNone (planar, achiral)Ortho-selective (OH directs; H-bonded iminium)
Rate / selectivityEAS step rate-limiting; arene must be electron-richSlow step = arenium formation; deactivated rings react poorlyModerate; electron-rich phenols only

Test yourself

Try to answer each question before opening it.

Which reagents and conditions are typical for the Vilsmeier-Haack formylation?

DMF, POCl₃; then H₂O (NaOAc). Conditions: 0 °C → 25–80 °C; aqueous work-up.

Which bonds are formed and which are broken?

Formed: C–C (Ar–CHO after hydrolysis). Broken: P–Cl; C=O (DMF); C–Cl.

What is the stereochemical outcome?

Para (or most electron-rich position) selective

What controls the rate or the selectivity?

EAS step rate-limiting; arene must be electron-rich

Study guides that help with this reaction

Related mechanisms

Step through it interactively, then test yourself in Quiz