Learn organic chemistry
Wittig Reaction Mechanism: Alkenes from Carbonyls
A phosphorus ylide attacks a carbonyl, forms an oxaphosphetane, and collapses to an alkene plus Ph₃P=O.
The Wittig reaction converts aldehydes and ketones into alkenes using a phosphorus ylide. It is a favorite exam named reaction because the carbon skeleton mapping is clear: the carbonyl oxygen is replaced by =CR₂ from the ylide.
Carbonyl C becomes the alkene carbon attached to the former ylide carbon. Ph₃P=O is the thermodynamic byproduct.
The 30-second answer
- Make the ylide: Ph₃P + RCH₂X → phosphonium salt → deprotonate with strong base → Ph₃P=CHR.
- Ylide carbon attacks the carbonyl carbon.
- A four-membered oxaphosphetane forms.
- Collapse → alkene + Ph₃P=O.
- E/Z selectivity depends mainly on whether the ylide is stabilized or unstabilized.
Reagents and setup
| Piece | Role |
|---|---|
| Ph₃P | Forms the phosphonium salt with an alkyl halide |
| Strong base (n-BuLi, NaH, NaOMe, …) | Generates the ylide |
| Aldehyde or ketone | Electrophilic partner |
| Ph₃P=O | Leaves; P–O bond strength helps drive the reaction |
Aldehydes are generally more reactive than ketones. Sterically hindered ketones can be slow.
Mechanism (teaching version)
- Ylide attack on the carbonyl carbon.
- Formation of the oxaphosphetane (four-membered ring with P–O and C–C connections).
- Cycloreversion: the ring opens to the alkene and triphenylphosphine oxide.
Older texts mention a betaine intermediate; many modern teaching notes emphasize the oxaphosphetane pathway. For exams, show ylide attack → four-membered intermediate → alkene + Ph₃P=O.
E vs Z selectivity
This is the differentiator that earns points.
| Ylide type | Typical major alkene |
|---|---|
| Unstabilized (alkyl-substituted, highly reactive) | Often Z |
| Stabilized (conjugated to C=O, CN, Ph, etc.) | Often E |
Salt effects and special protocols (Schlosser modification, Horner–Wadsworth–Emmons) can flip or improve selectivity — mention them only if your course covers them.
Horner–Wadsworth–Emmons (HWE) uses phosphonate anions and typically favors E alkenes. Courses sometimes ask you to choose Wittig vs HWE for stereochemical control.
What Wittig is good for (and not)
Good for:
- Installing C=C in place of C=O with predictable connectivity
- Building alkenes when elimination chemistry would give mixtures
Not a substitute for:
If the product is an alcohol, think Grignard. If the product is an enone from two carbonyls, think aldol. If the product is an alkene from a carbonyl, think Wittig.
Worked examples
Example 1
PhCHO + Ph₃P=CH₂ → styrene (PhCH=CH₂) + Ph₃P=O.
Example 2
Cyclohexanone + Ph₃P=CHCH₃ → ethylidene cyclohexane (E/Z mixture depends on ylide class and conditions).
Example 3 — Stabilized ylide
PhCHO + Ph₃P=CHCO₂Et → mostly E cinnamate-type product under standard teaching assumptions.
Example 4 — Retrosynthesis tip
Need PhCH=CHCH₃ from PhCHO? Use Ph₃P=CHCH₃, not a Grignard + dehydration sequence (unless the course forces that path).
Common mistakes
- Attaching the wrong carbon of the ylide to the wrong carbonyl carbon.
- Forgetting Ph₃P=O as a product / driving force.
- Predicting E for every Wittig — unstabilized ylides often prefer Z.
- Trying Wittig on esters/amides as if they were aldehydes (standard Wittig wants aldehyde/ketone).
- Confusing Wittig with elimination of alkyl halides (E1 vs E2).
Practice
1. Acetone + Ph₃P=CH₂ — product?
2-Methylpropene (isobutene) + Ph₃P=O.
2. Why is Ph₃P=O a good leaving “partner” in the collapse?
The strong P=O bond helps drive fragmentation of the oxaphosphetane.
3. Stabilized ylide — E or Z usually major?
Usually E.
FAQ
Wittig vs aldol condensation?
Both can give unsaturated products, but Wittig replaces a carbonyl oxygen with an alkylidene from a phosphorus reagent. Aldol builds a new C–C bond between two carbonyl partners via an enolate.
Can ketones do Wittig?
Yes, but they are slower/more hindered than aldehydes.
What should I review first?
Carbonyl electrophilicity in the functional groups guide, then compare with Grignard and aldol.
Need arrow-pushing on your exact ylide and carbonyl? Open the reaction mechanism solver.