The Wittig reaction in one line: acetone plus the ylide Ph3P=CH2 gives isobutylene. The carbonyl oxygen leaves as Ph3P=O and the ylide carbon becomes half of the new C=C.
Making a carbon–carbon double bond in a specific place is harder than it sounds. Eliminations (E1/E2) often give mixtures because the double bond can form toward more than one neighboring carbon, and acid-catalyzed dehydrations can rearrange. The Wittig reaction sidesteps all of that. It stitches a defined alkene together from two known pieces — a carbonyl compound and a phosphorus ylide — and puts the new double bond in exactly one place. This tutorial walks through what the ylide is, how the transformation works, why it is irreversible, and how to predict the product.
1. The reagent is a phosphorus ylide, a carbanion tamed by phosphorus
The nucleophile in a Wittig reaction is a phosphorus ylide, drawn as R3P=CR'2. An ylide is a species with adjacent positive and negative formal charges on directly bonded atoms; here a positively charged phosphorus sits next to a carbanion-like carbon. That carbon is nucleophilic — it behaves like a stabilized carbanion — but the neighboring phosphorus spreads out the charge and keeps it manageable.
Ylides are made in two steps. First, triphenylphosphine (Ph3P), an excellent nucleophile, does an SN2 reaction on a primary or methyl alkyl halide to give a phosphonium salt. Second, a strong base (such as butyllithium) removes a proton from the carbon next to phosphorus, unmasking the ylide.
A simple ylide (Ph3P=CH2) reacting with acetaldehyde to give propene. The ylide carbon — the CH2 — is the piece that ends up in the product.
Because the ylide is built from an alkyl halide of your choosing, you decide which carbon fragment gets delivered to the carbonyl. That is the first half of the reaction's control over the product.
2. The ylide adds to the carbonyl and forms an oxaphosphetane
The nucleophilic ylide carbon attacks the electrophilic carbonyl carbon — the same electrophilic carbon that Grignard reagents and other nucleophiles target in nucleophilic addition to carbonyls. As the C–C bond forms, the carbonyl oxygen picks up negative character. That oxygen and the positively charged phosphorus then close onto each other, giving a strained four-membered ring containing carbon, carbon, oxygen, and phosphorus, called an oxaphosphetane.
Cyclohexanone is converted to methylenecyclohexane. The intermediate that forms and then collapses is a four-membered oxaphosphetane bridging the former carbonyl carbon, the ylide carbon, oxygen, and phosphorus.
The oxaphosphetane is the pivotal intermediate: everything up to it is reversible addition chemistry, but its collapse is what makes the Wittig reaction go all the way to product.
3. Collapse to triphenylphosphine oxide is the driving force
The four-membered ring is set up perfectly to fall apart. It breaks along two bonds at once: the C–O bond and the C–P bond of the ring snap, forming the new C=C double bond of the alkene and a very strong P=O double bond in the byproduct, triphenylphosphine oxide (Ph3P=O).
That P=O bond is the thermodynamic engine of the whole reaction. Phosphorus–oxygen double bonds are among the strongest bonds in organic chemistry, so forming Ph3P=O releases a large amount of energy and makes the final step essentially irreversible. The carbonyl oxygen you started with leaves for good, carried away on phosphorus, while the ylide carbon stays behind as part of the alkene.
Benzaldehyde plus Ph3P=CH2 gives styrene. The oxygen departs as Ph3P=O; the CH2 from the ylide becomes the terminal =CH2 of the new vinyl group.
4. The new double bond sits in a known, defined position
This is the reason chemists reach for the Wittig reaction. The new C=C forms in exactly one place: between the former carbonyl carbon and the ylide carbon. There is no ambiguity about which direction the double bond points, no competing regiochemistry, and no carbocation to rearrange — unlike alcohol dehydrations or eliminations.
To design a target alkene, mentally cut its C=C in half. One carbon and its substituents come from the carbonyl; the other carbon and its substituents come from the ylide. Reassemble those two halves and you know precisely which aldehyde/ketone and which ylide to use.
Retrosynthesis in action: 2-methyl-2-butene splits into acetone (the C(CH3)2 half) and the ylide Ph3P=CHCH3 (the CHCH3 half). The double bond can only appear where the two halves join.
5. Stereochemistry: nonstabilized ylides favor Z, stabilized favor E
The Wittig reaction fixes where the double bond is, but when the product can be cis or trans you also need to think about which geometry forms — the same E/Z distinction covered in E/Z notation and alkene stability. The outcome depends on the ylide.
Nonstabilized ylides (the ylide carbon bears only alkyl or hydrogen groups, e.g. Ph3P=CHCH3) are very reactive and tend to give the Z (cis) alkene. Stabilized ylides (the ylide carbon carries an electron-withdrawing group such as a carbonyl or aryl) are less reactive, equilibrate more, and tend to give the more stable E (trans) alkene.
Benzaldehyde plus a benzylidene ylide (Ph3P=CHPh) gives stilbene. Aryl-substituted (stabilized) ylides push the outcome toward the E (trans) alkene.
6. Summary
The Wittig reaction converts a carbonyl into an alkene by replacing the C=O oxygen with the carbon of a phosphorus ylide, R3P=CR'2. The ylide is generated by SN2 of Ph3P on an alkyl halide followed by deprotonation. Its carbanion-like carbon adds to the carbonyl, closes into a four-membered oxaphosphetane, and that ring collapses to release triphenylphosphine oxide (Ph3P=O) — the strong P=O bond makes the step irreversible and drives the whole reaction. The payoff is control: the new double bond lands in a single, defined position between the old carbonyl carbon and the ylide carbon, with no rearrangement. Nonstabilized ylides tend to give Z-alkenes and stabilized ylides E-alkenes. To plan a synthesis, cut the target C=C in half and assign one carbon to a carbonyl and the other to an ylide.
Quiz yourself
Tap a question to reveal the answer — free, no login.
A carbonyl compound (aldehyde or ketone) and a phosphorus ylide (R3P=CR'2). The new C=C forms in exactly one place: between the former carbonyl carbon and the ylide carbon.
Triphenylphosphine oxide, Ph3P=O. The very strong phosphorus–oxygen double bond releases a large amount of energy when it forms, making the final collapse essentially irreversible.
The oxaphosphetane. Its ring contains the former carbonyl carbon, the ylide carbon, an oxygen, and the phosphorus.
Cut the C=C in half: use acetone (CC(C)=O) for the C(CH3)2 carbon and the ylide Ph3P=CHCH3 for the CHCH3 carbon.
Draw this on the whiteboard
Open the OChem Board whiteboard — benzene rings, wedge/dash bonds, and a clickable periodic table built in. No account needed.