Mechanism Lab

Alkene synthesis — ylide chemistry

Wittig reaction: ylide + acetaldehyde → alkene

By Amr K. Alani, MSc Pharmaceutical Chemistry

How the Wittig reaction 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: Ph₃P=CH₂ (ylide, from Ph₃P⁺CH₃ Br⁻ + n-BuLi); acetaldehyde. Conditions: THF, 0 °C → 25 °C; anhydrous, inert atmosphere. Bonds formed: C=C π; P=O (very strong, ~130 kcal/mol); bonds broken: C=O π; P–C. Stereochemistry: Unstabilised ylides: Z-alkene; stabilised: E-alkene. Rate and selectivity: Driven by the strong P=O bond of Ph₃P=O.

At a glance

ReagentsPh₃P=CH₂ (ylide, from Ph₃P⁺CH₃ Br⁻ + n-BuLi); acetaldehyde
Solvent / conditionsTHF, 0 °C → 25 °C; anhydrous, inert atmosphere
Bonds formedC=C π; P=O (very strong, ~130 kcal/mol)
Bonds brokenC=O π; P–C
StereochemistryUnstabilised ylides: Z-alkene; stabilised: E-alkene
Rate / selectivityDriven by the strong P=O bond of Ph₃P=O

Step 1: Ylide carbon attacks C=O

+PPh₃Oδ⁻PPh₃O1 · YLIDE CARBON ATTACKS C=OmethylenetriphenylphosphoraneYLIDEacetaldehydeC₂H₄OELECTROPHILEbetaine (zwitterion)INTERMEDIATENucleophilic C attacks the carbonyl carbon; shown stepwise for clarity.

A phosphorus ylide carries a carbanion-like carbon stabilized by the adjacent, electropositive phosphorus. That carbon is strongly nucleophilic and attacks the electrophilic carbonyl carbon of the aldehyde.

Step 2: Oxaphosphetane forms

PPh₃OPPh₃O2 · OXAPHOSPHETANE FORMSbetaineINTERMEDIATEoxaphosphetaneINTERMEDIATEFour-membered P–C–C–O ring: new C–C and P–O bonds.

This forms a strained four-membered ring — an oxaphosphetane — as the new C–C bond and a P–O bond form together.

Step 3: Retro-[2+2]: alkene + Ph₃P=O

+PPh₃OPPh₃O3 · RETRO-[2+2]: ALKENE + PH₃P=OoxaphosphetaneINTERMEDIATEpropeneC₃H₆PRODUCTtriphenylphosphine oxideBYPRODUCTThe ring fragments; the strong P=O bond is the driving force.

The ring collapses in a retro-[2+2]-like step: the C–C bond stays, a new C=C π bond forms, and triphenylphosphine oxide is ejected. The net effect is installing an alkene exactly where the carbonyl used to be.

Going deeper

Why it works

A phosphorus ylide attacks the carbonyl carbon, and the resulting four-membered oxaphosphetane collapses to the alkene and triphenylphosphine oxide. The very strong P=O bond is what drives the reaction forward, and the C=C forms exactly where the C=O was.

Common mistakes

In an exam

Write the ylide's carbon next to the carbonyl carbon, join them with a double bond, and put Ph₃P=O to the side. For stereochemistry, ask whether the ylide is stabilised.

Where it is used

Making alkenes from aldehydes and ketones without any ambiguity about where the double bond ends up, including in vitamin A and other industrial syntheses.

Related mechanisms

Horner-Wadsworth-Emmons (HWE) reaction · Peterson olefination · Julia-Lythgoe olefination

Abbreviations and terms

THF
Tetrahydrofuran. Cyclic ether solvent; its oxygen lone pairs solvate Li⁺/Mg²⁺ so organometallics stay dissolved and reactive.
n-BuLi
n-Butyllithium. Very strong base/nucleophile (pKa of butane ≈ 50); deprotonates alkynes and does lithium–halogen exchange.
PPh3
Triphenylphosphine. Nucleophilic phosphine; forms very strong P=O bonds, driving Wittig, Appel and Mitsunobu reactions.
TPPO
Triphenylphosphine oxide. The thermodynamic sink of Wittig/Mitsunobu/Appel reactions.

How it compares with related reactions

Wittig reactionHorner-Wadsworth-Emmons (HWE) reactionJulia-Kocienski olefination
ReagentsPh₃P=CH₂ (ylide, from Ph₃P⁺CH₃ Br⁻ + n-BuLi); acetaldehydePhosphonate ester (EtO)₂P(O)CH₂CO₂Et, base (e.g. NaH; milder bases such as LiCl/DBU for sensitive substrates), aldehyde1-phenyl-1H-tetrazol-5-yl (PT) sulfone, KHMDS (or NaHMDS, LiHMDS), aldehyde
ConditionsTHF, 0 °C → 25 °C; anhydrous, inert atmosphereEthereal solvent (THF common); base depends on the substrate (NaH or milder amine/Li-salt bases)THF (DME also used), typically –78 to –70 °C then warming
StereochemistryUnstabilised ylides: Z-alkene; stabilised: E-alkeneStrong E-selectivity (trans)Highly E-selective (anti-adduct, then anti elimination)
Rate / selectivityDriven by the strong P=O bond of Ph₃P=ONucleophilic addition is rate-limiting; the dialkyl phosphate byproduct is removed by aqueous extractionOne-pot; Smiles shift and elimination are fast after addition

Test yourself

Try to answer each question before opening it.

Which reagents and conditions are typical for the Wittig reaction?

Ph₃P=CH₂ (ylide, from Ph₃P⁺CH₃ Br⁻ + n-BuLi); acetaldehyde. Conditions: THF, 0 °C → 25 °C; anhydrous, inert atmosphere.

Which bonds are formed and which are broken?

Formed: C=C π; P=O (very strong, ~130 kcal/mol). Broken: C=O π; P–C.

What is the stereochemical outcome?

Unstabilised ylides: Z-alkene; stabilised: E-alkene

What controls the rate or the selectivity?

Driven by the strong P=O bond of Ph₃P=O

Study guides that help with this reaction

Related mechanisms

Step through it interactively, then test yourself in Quiz