Organic Chemistry

The Shapiro Reaction

Turn a ketone into a vinyl carbanion with a swig of butyllithium

The Shapiro reaction converts a ketone's tosylhydrazone into a vinyllithium (or, on protonation, the less-substituted alkene) using two or more equivalents of a strong base such as n-butyllithium. It is milder and more regioselective than the carbene/cation-based Bamford-Stevens reaction.

  • First reported1967 (Shapiro & Heath)
  • SubstrateKetone/aldehyde tosylhydrazone
  • Base2–2.5 eq n-BuLi or MeLi
  • Key intermediateVinyllithium (vinyl carbanion)
  • RegiochemistryLess-substituted (Hofmann) alkene
  • ByproductsN₂ + lithium toluenesulfinate

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

What the Shapiro reaction does

Start with a ketone. Condense it with p-toluenesulfonyl hydrazide (TsNHNH₂, "tosyl hydrazide") to make the tosylhydrazone — a C=N–NH–Ts unit in place of the C=O. Then hit that tosylhydrazone with a strong organolithium base. Two things leave — the toluenesulfinate group and a molecule of nitrogen — and what you are left with is a vinyllithium: a carbanion sitting on one carbon of a new C=C double bond.

That vinyllithium is the whole point. Quench it with water and you get an alkene — specifically the less-substituted one. Quench it instead with an electrophile (CO₂, DMF, an aldehyde, a silyl chloride) and you install a brand-new group right on the vinyl carbon. So the Shapiro reaction is two tools in one:

    R₂C=O   ──TsNHNH₂──→   R₂C=N–NHTs   ──2 eq n-BuLi──→   [ vinyllithium ]
     ketone                 tosylhydrazone       −78 °C           │
                                                                  ├── H₂O ──→  alkene (less-substituted)
                                                                  └── E⁺  ──→  vinyl–E  (functionalized alkene)

The reason chemists reach for it: the intermediate is a nucleophilic anion, not a hot cation. There are no carbocation rearrangements, no carbene C–H insertions, and the regiochemistry is set by which proton the base picks off — which turns out to be reliably the less-hindered one.

The mechanism, arrow by arrow

Four discrete steps take you from tosylhydrazone to vinyllithium. Track the two deprotonations first, then the two departures.

  1. Deprotonate the N–H (first equivalent of base). The N–H of a sulfonylhydrazone is quite acidic (pKa ≈ 10) because the resulting anion is stabilized by the electron-withdrawing sulfonyl group. The first equivalent of n-BuLi removes it cleanly, giving the sulfonylhydrazone mono-anion (a lithiated N).
  2. Deprotonate the α C–H syn to the tosyl group (second equivalent of base). This is the regiochemistry-determining step. The base abstracts a proton from the α-carbon that lies on the same side as the tosyl group (the syn position). Between the two α-carbons, the base kinetically prefers the less-hindered, less-substituted one. Now you have a dianion: a carbanion α to the C=N, plus the amide nitrogen anion.
  3. Eject the sulfinate — form the vinyldiazo/alkenyldiazenide. The α-carbanion's lone pair pushes into the C=N π system; the N–N electrons shift; and the toluenesulfinate anion (Ts⁻, i.e. p-MeC₆H₄SO₂⁻) departs as the leaving group. This collapse produces an alkenyl diazenide (a vinyl–N=N⁻ species) — a C=C is now half-built and a diazo/diazenide unit hangs off it.
  4. Lose N₂ — deliver the vinyllithium. The C–N bond breaks and dinitrogen (N₂, an outstanding leaving group) bubbles off. The pair of electrons left behind lands on carbon, giving the vinyllithium — Li sitting on the vinyl carbon where the nitrogen used to be.
 tosylhydrazone        dianion (2 eq base)         vinyl diazenide            vinyllithium
                                                     (−Ts⁻)                     (−N₂)

   R                    R                        R                          R
    \                    \                        \                          \
     Ca = N–NHTs   ──►    Ca = N–N(Li)Ts   ──►     Ca – N = N⁻   ──►           Ca–Li
    /                    |                         ‖                          ‖
  Cb H₂                 Cb H⁻                     Cb H                       Cb H
  (α-CH₂)             (N–H and α-CH               (Ca=Cb forms as             (Li on the FORMER
                       both removed)               sulfinate leaves)          carbonyl carbon Ca;
                                                                              C=C at the less-
                                                                              substituted position)

Trap the vinyllithium with a proton source and you finish at the alkene. The key mechanistic fact to hold onto: the new C=C is drawn between the former carbonyl carbon and the α-carbon that lost its proton in step 2, and the lithium ends up on the former carbonyl carbon (where the nitrogen used to sit). So the base's kinetic preference for the less-hindered α-C–H is exactly what places the double bond at the less-substituted position.

Reagents, base, and conditions

The Shapiro reaction is an organolithium reaction, so it wants the usual anhydrous, air-free discipline.

  • Base. 2.0–2.5 equivalents of n-butyllithium or methyllithium. Two full equivalents are mandatory — one for the N–H, one for the α-C–H. A slight excess covers adventitious moisture. MeLi is a common choice because its byproduct (methane) is inert and non-nucleophilic.
  • Temperature. Metalate at −78 °C (dry-ice/acetone) to keep the deprotonations clean, then warm toward 0 °C or room temperature to drive off N₂ and generate the vinyllithium.
  • Solvent. Dry ether solvents — THF, Et₂O, or hexane. THF and added TMEDA (N,N,N′,N′-tetramethylethylenediamine) deaggregate the organolithium, sharpen the second deprotonation, and markedly raise the yield of trappable vinyllithium.
  • The sulfonyl group. The plain tosyl (Ts) hydrazone works, but the bulkier trisyl (2,4,6-triisopropylbenzenesulfonyl, "Trisyl" or "TrisNHNH₂") hydrazone of Chamberlin and Bond is often preferred: it eliminates sulfinate faster and at lower temperature, suppressing side reactions and letting you trap the vinyllithium cleanly. This variant is sometimes called the Shapiro–Bond or trisylhydrazone Shapiro.
  • Quench. Add water/NH₄Cl for the alkene, or add your electrophile before the aqueous workup to capture the vinyl anion.

Regiochemistry and stereochemistry

Two selectivity questions matter: where the double bond goes (regiochemistry) and which geometric isomer forms (stereochemistry).

  • Regiochemistry — the less-substituted alkene. Deprotonation happens at the syn α-carbon, and the base kinetically prefers the less-hindered one. Because that carbon becomes the anionic/vinyl carbon, the C=C ends up at the less-substituted (Hofmann) position. For an unsymmetrical ketone like 2-methylcyclohexanone, the double bond forms away from the methyl group, giving 3-methylcyclohexene rather than the more-substituted 1-methyl isomer.
  • Geometry of the tosylhydrazone matters. Sulfonylhydrazones exist as syn/anti isomers about the C=N. The base abstracts the α-H that is syn to the sulfonyl (the nitrogen anion coordinates and directs it), so the geometry of the C=N feeds directly into which α-position is deprotonated.
  • Alkene stereochemistry. When the vinyllithium is trapped with an electrophile, the intermediate's geometry is usually retained, and for many acyclic cases the reaction delivers predominantly the (E)-alkene (or the (Z)-vinyl anion that traps with retention) — one reason the Shapiro is prized for making defined-geometry trisubstituted olefins in total synthesis.

Shapiro vs Bamford-Stevens vs Wittig

All three build C=C bonds, but through completely different intermediates. The Shapiro and Bamford-Stevens even share the same starting tosylhydrazone — they diverge at the base.

ShapiroBamford-StevensWittig
SubstrateTosylhydrazone of a ketoneTosylhydrazone of a ketoneAldehyde/ketone + phosphonium ylide
Base / reagent2–2.5 eq n-BuLi or MeLiNaOMe, Na/glycol, NaH (1 eq)Ylide made with n-BuLi/NaHMDS
Key intermediateVinyllithium (anion)Diazo → carbene or carbocationBetaine / oxaphosphetane
Charge characterAnionic — no rearrangementCationic/carbene — rearrangesNeutral concerted collapse
RegiochemistryLess-substituted (Hofmann) alkeneMore-substituted (Zaitsev) alkeneSet by carbonyl position
Can trap an electrophile?Yes — CO₂, DMF, RCHO, R₃SiClNo — cation/carbene is consumedNo — collapses to alkene directly
Temperature−78 °C → RTOften hot (protic, 100+ °C)−78 °C → RT
Where the C=C ends upReplaces the C=O carbonReplaces the C=O carbonAt the former carbonyl carbon
Typical useDefined vinyl anions, Hofmann olefinsQuick alkene from a ketoneAny-position alkene, ylide-controlled

Worked example: camphor to a functionalized alkene

Take a hindered bicyclic ketone — camphor is the classic — and run the trisylhydrazone Shapiro to make a vinyllithium, then trap it.

  step 1:  camphor  +  TrisNHNH₂  ──(cat. acid, EtOH)──→  camphor trisylhydrazone
  step 2:  trisylhydrazone  +  2.2 eq n-BuLi / TMEDA, THF, −78 °C → 0 °C
                                        │  (−Tris⁻,  −N₂)
                                        ▼
                              2-lithio-2-bornene   (a bicyclic vinyllithium)
  step 3a: + H₂O        ──→  2-bornene            (the less-substituted alkene)
  step 3b: + CO₂; H₃O⁺  ──→  2-bornene-2-carboxylic acid
  step 3c: + (CH₃)₃SiCl ──→  2-(trimethylsilyl)-2-bornene  (a vinylsilane)
  • Why the trisylhydrazone. Camphor's cage is congested; the bulky trisyl group eliminates faster and lower, so the vinyllithium survives to be trapped instead of decomposing.
  • Two equivalents. One deprotonates the N–H; the second removes the only available α-C–H, on the C3 methylene — camphor's other α-carbon (the C1 bridgehead) is quaternary and has no proton, so there is no regiochemical choice here. The double bond forms between C2 (the former carbonyl carbon) and C3, and the lithium sits on C2.
  • The payoff. A single ketone becomes a vinyl carboxylic acid, a vinylsilane, or a plain olefin, all at a defined carbon. Doing that from the ketone by any other route would take several steps.

Where it earns its keep

  • Total synthesis vinyl anions. The Shapiro is a go-to for generating a specific vinyllithium from a ketone building block and coupling it to another fragment — E. J. Corey and others used tosylhydrazone/Shapiro chemistry in prostaglandin and terpenoid syntheses to stitch defined trisubstituted olefins.
  • Ring alkenes without over-substitution. Because it delivers the Hofmann (less-substituted) olefin, the Shapiro cleanly makes the "kinetic" ring alkene that acid-catalyzed dehydration would never give.
  • Vinylsilanes and vinylstannanes. Trapping the vinyllithium with R₃SiCl or R₃SnCl gives vinylsilanes/stannanes — feedstocks for Hiyama and Stille cross-couplings.
  • α,β-Unsaturated aldehydes and acids. Quenching with DMF (→ enal) or CO₂ (→ enoic acid) converts a ketone into a conjugated carbonyl one carbon over.
  • Allylic alcohols. Trapping with a second aldehyde or ketone forges an allylic alcohol with a defined double-bond position — a common late-stage move.

Limitations and side reactions

  • Needs an α-hydrogen. No syn α-C–H means no second deprotonation and no alkene. Ketones flanked by two quaternary carbons are dead substrates.
  • Base incompatibility. n-BuLi and MeLi are ferociously basic and mildly nucleophilic. Esters, nitriles, epoxides, acidic O–H/N–H groups, and enolizable protons elsewhere in the molecule can be attacked or deprotonated. Protect or avoid them.
  • Competing 1,2-addition of the alkyllithium. A slow-to-eliminate tosylhydrazone can let n-BuLi add to the C=N or to other electrophilic sites. The trisylhydrazone variant, TMEDA, and low temperature all suppress this.
  • Regiochemical ambiguity in symmetric-ish ketones. When the two α-positions are similar in hindrance, you get a mixture of regioisomeric alkenes.
  • Aggregation sensitivity. Organolithium aggregation state (solvent, TMEDA, temperature) changes deprotonation rate and selectivity; runs can be finicky to reproduce without controlling these.

Who discovered it, and when

The reaction is named for Robert H. Shapiro, who — with M. J. Heath — reported in 1967 that treating tosylhydrazones with two equivalents of an alkyllithium gives alkenes under conditions far milder than the classic base-and-heat route. It grew directly out of the earlier Bamford-Stevens reaction (W. R. Bamford and T. S. Stevens, 1952), which decomposes the same tosylhydrazones with a single equivalent of a weaker base to a diazo compound and thence a carbene or carbocation.

The pivotal refinement came from A. R. Chamberlin and coworkers (and F. T. Bond), who introduced the trisylhydrazone (2,4,6-triisopropylbenzenesulfonyl) in the 1970s: the bulkier sulfonyl eliminates faster, so the vinyllithium can be generated at low temperature and trapped with electrophiles reliably. That upgrade is what turned the Shapiro from "another way to make an alkene" into a dependable vinyl-anion generator, and it is the form most often used in modern synthesis.

Practical and safety notes

  • Pyrophoric bases. n-BuLi and MeLi ignite in air and react violently with water. Titrate before use, transfer under inert gas, and quench excess base carefully (slow addition into isopropanol, then water).
  • Nitrogen evolution. The reaction releases N₂ gas as it warms — allow for the pressure/venting, especially on scale.
  • Sulfinate byproduct. Lithium toluenesulfinate (or the trisyl sulfinate) precipitates or stays in the aqueous layer on workup and is easily removed.
  • Cryogenic handling. The −78 °C dry-ice/acetone bath and the sensitivity of the vinyllithium mean this is a controlled-temperature, glovebox-or-Schlenk operation, not a bench pour.

Frequently asked questions

What does the Shapiro reaction make?

A ketone (or aldehyde) is first converted to its tosylhydrazone, then treated with two or more equivalents of a strong base such as n-butyllithium. The primary product is a vinyllithium — a nucleophilic vinyl carbanion. If you simply quench that intermediate with water or acid you get the corresponding alkene; if you quench it with another electrophile (CO₂, an aldehyde, a silyl chloride, an alkyl halide) you install a new group at the vinyl carbon. So the Shapiro reaction is both an alkene synthesis and a vinyl-anion synthesis.

Why does the Shapiro reaction give the less-substituted alkene?

The second deprotonation removes an α C–H syn to the tosyl group, and kinetically the strong base abstracts the more accessible, less-hindered proton. That carbanion becomes the vinyl carbon after nitrogen is expelled, so the double bond ends up at the less-substituted position — the Hofmann (anti-Zaitsev) alkene. This is the opposite regiochemistry to the Bamford-Stevens reaction, which passes through a carbocation or carbene and gives the more-substituted, thermodynamically favored alkene.

How is the Shapiro reaction different from the Bamford-Stevens reaction?

Both start from a tosylhydrazone. Bamford-Stevens uses a milder base (sodium methoxide, sodium in ethylene glycol) and generates a diazo compound that loses N₂ to give a carbene or, in protic solvent, a carbocation — cationic, prone to rearrangement, and giving the more-substituted alkene. Shapiro uses two-plus equivalents of an organolithium (n-BuLi, MeLi) at low temperature to make a dilithiated species that loses sulfinate then N₂ to give a vinyllithium — anionic, rearrangement-free, and giving the less-substituted alkene. Shapiro is milder in the sense of avoiding hot cationic intermediates.

Why do you need two equivalents of base?

The first equivalent removes the acidic N–H of the tosylhydrazone (pKa around 10). The second equivalent removes the much less acidic α C–H that is syn to the tosyl group. Both anions are needed: the dianion collapses by ejecting the toluenesulfinate leaving group, and only then does the vinyldiazo species lose N₂ to give the vinyllithium. With only one equivalent of base you stop at the mono-anion and no reaction proceeds.

What conditions and base does the Shapiro reaction use?

Typically 2.0–2.5 equivalents of n-butyllithium or methyllithium in an ether solvent (THF, Et₂O, or hexane) at −78 °C, warming to 0 °C or room temperature to expel nitrogen. Adding TMEDA (N,N,N′,N′-tetramethylethylenediamine) breaks up organolithium aggregates and greatly improves the yield of the vinyllithium. The trisylhydrazone (2,4,6-triisopropylbenzenesulfonyl hydrazone) is often used in place of the tosylhydrazone because it eliminates faster and side-reactions are reduced.

Can you trap the Shapiro vinyllithium with an electrophile?

Yes — that is the reaction's biggest advantage over Bamford-Stevens. The vinyllithium is a genuine organometallic nucleophile, so quenching with CO₂ gives an α,β-unsaturated carboxylic acid, with DMF gives an α,β-unsaturated aldehyde, with a ketone or aldehyde gives an allylic alcohol, and with a chlorosilane gives a vinylsilane. This turns a ketone into a functionalized alkene at a specific, predictable vinyl carbon.