---
title: "Wittig Reaction Guide | MolDraw"
url: https://www.moldraw.com/reaction/wittig-reaction
description: "Wittig reaction guide with scheme, two common examples, reaction SMILES, conditions, and a button to edit the reaction in MolDraw."
lang: en
publisher: LabCanvas Private Limited
generated: 2026-12-05
---
Organic reaction

# Wittig Reaction

The Wittig reaction converts aldehydes or ketones into alkenes using a phosphonium ylide. It is one of the most searched named reactions for alkene synthesis.

![Wittig reaction scheme: benzaldehyde reacts with the ylide Ph3P=CH2 to give styrene, with the new C=C double bond highlighted](https://www.moldraw.com/blog/thumbs/wittig-reaction.webp)

Wittig reaction: benzaldehyde and Ph3P=CH2 give styrene; the new C=C bond is highlighted.

## Reaction Scheme

aldehyde or ketone + phosphonium ylide -> alkeneOften run in ether, THF, or hydrocarbon solvents depending on ylide stability.

Primary reaction SMILES: O=Cc1ccccc1.C=P(c1ccccc1)(c1ccccc1)c1ccccc1>>C=Cc1ccccc1

## Key Facts

## Two Common Examples

**Benzaldehyde to styrene**

Benzaldehyde plus methylene ylide gives styrene.

**Cyclohexanone olefination**

Cyclohexanone can be converted to methylenecyclohexane.

## MolDraw Use

Open the reaction in MolDraw to edit reactant labels, add conditions, or export a clean scheme.

## How It Works

The Wittig reaction converts an aldehyde or ketone into an alkene. A phosphonium salt, made from triphenylphosphine and an alkyl halide, is deprotonated by a strong base to give a phosphorus ylide (Ph3P=CHR). The ylide adds to the carbonyl to form a four-membered oxaphosphetane, which breaks down to the alkene and triphenylphosphine oxide. The very strong P=O bond formed drives the reaction.

## Conditions and Scope

- **Non-stabilised ylides** (R = alkyl) tend to give Z-alkenes.
- **Stabilised ylides** (R = ester, ketone, nitrile) tend to give E-alkenes.
- The C=C forms exactly where the C=O was, so there is no ambiguity about double-bond position, unlike elimination reactions.
- The Horner–Wadsworth–Emmons variant uses phosphonate carbanions and usually gives E-alkenes with water-soluble by-products.

The [Wittig mechanism template](https://www.moldraw.com/templates/wittig-reaction/) shows the ylide attack, the oxaphosphetane and the loss of Ph3P=O. The [Horner-Wadsworth-Emmons template](https://www.moldraw.com/templates/horner-wadsworth-emmons/) covers the phosphonate variant that favours E-alkenes, and the [Grignard reaction](https://www.moldraw.com/reaction/grignard-reaction) turns the same carbonyl into an alcohol.

## FAQ

**Example:** benzaldehyde + Ph3P=CH2 gives styrene and Ph3P=O. **How do I draw it?** Show the ylide in both resonance forms if you are teaching the mechanism, draw the oxaphosphetane intermediate in brackets, and show E or Z geometry explicitly on the product.

[Aldol](https://www.moldraw.com/reaction/aldol-condensation)[Grignard](https://www.moldraw.com/reaction/grignard-reaction)[Heck](https://www.moldraw.com/reaction/heck-reaction)[All reactions](https://www.moldraw.com/reaction/)[Name reaction finder](https://www.moldraw.com/tools/free-chem-tools/name-reaction-finder.html)
