Atomora3D SandboxReaction LabAll reactions

Aldehyde and ketone reactions

Almost every reaction in this chapter is the same move: a nucleophile attacks the C=O carbon. What changes is the nucleophile, and that's how the families are sorted.

18 reactions in 6 families.

Carbon nucleophilesBuild C–C bonds
Hydride nucleophilesReduce to alcohols
Oxygen nucleophilesHydrates, hemiacetals, acetals
Nitrogen nucleophilesImines, enamines and amines
Sulfur and deoxygenationRemove the C=O entirely
OxidationsAdd an O: esters and acids

1. Why the C=O carbon gets attacked

Oxygen pulls electrons out of the C=O bond, leaving the carbon δ+ (electron-poor). A nucleophile attacks that carbon, the π electrons move up onto O, and you get a tetrahedral alkoxide. That's nucleophilic addition.

Aldehydes are more reactive than ketones: an aldehyde's carbon is less crowded (one H instead of a second R group), and it's more δ+ (alkyl groups donate electron density).

Two kinds of nucleophiles

  • Strong, charged nucleophiles (H⁻ from hydrides, R⁻ from Grignards): attack directly, and the addition can't reverse. Finish with an acid workup. (CN⁻ also attacks directly, but cyanohydrin formation is reversible.)
  • Weak, neutral nucleophiles (H₂O, ROH, RNH₂): need acid catalysis to activate the C=O. Every step is reversible, so conditions (removing water, using excess) decide where it ends.

2. Making aldehydes and ketones (from other chapters)

Carbon nucleophiles

3. Carbon nucleophiles

Grignards, cyanide and Wittig ylides all add carbon to the C=O carbon.

GrignardAlcohol
HCNCyanohydrin
WittigAlkene (C=O → C=C)

Grignard addition

1) RMgBr 2) H₃O⁺

R⁻ adds to the C=O carbon: formaldehyde → 1°, aldehyde → 2°, ketone → 3° alcohol.

IrreversibleNew C–C bondAcid workup
Ocyclohexanone→1) CH₃MgBr 2) H₃O⁺OH1-methylcyclohexan-1-ol
  • benzaldehyde (1) CH₃MgBr 2) H₃O⁺) → 1-phenylethanol
  • formaldehyde (1) PhMgBr 2) H₃O⁺) → benzyl alcohol (phenylmethanol)
  • cyclopentanone (1) CH₃CH₂MgBr 2) H₃O⁺) → 1-ethylcyclopentan-1-ol
  • ethanal (acetaldehyde) (1) PhMgBr 2) H₃O⁺) → 1-phenylethanol

Organolithiums (RLi) do exactly the same thing.

Mechanism in the explorer

Cyanohydrin formation

HCN (or KCN, HCl)

CN⁻ adds to the C=O; the O picks up H. The product has OH and CN on the same carbon.

ReversibleC–C bondOH + CN on one carbon
Oacetone→HCN (or KCN, HCl)OHN2-hydroxy-2-methylpropanenitrile (acetone cyanohydrin)
  • benzaldehyde → 2-hydroxy-2-phenylacetonitrile (mandelonitrile)
  • cyclohexanone → 1-hydroxycyclohexane-1-carbonitrile
  • ethanal (acetaldehyde) → 2-hydroxypropanenitrile

The CN can later be hydrolyzed to COOH or reduced to CH₂NH₂.

Mechanism in the explorer

Wittig reaction

Ph₃P=CHR (an ylide)

Swaps the C=O oxygen for a CHR group, making an alkene exactly where the C=O was.

C=O → C=CNo rearrangementPh₃P=O byproduct
Ocyclohexanone→Ph₃P=CH₂methylenecyclohexane
  • benzaldehyde (Ph₃P=CH₂) → styrene
  • acetone (Ph₃P=CHCH₃) → 2-methylbut-2-ene
  • cyclohexanone (Ph₃P=CHCH₃) → ethylidenecyclohexane
  • propanal (Ph₃P=CHCH₃) → pent-2-ene (E/Z)

Make the ylide first: PPh₃ + R–X (SN2), then a strong base (BuLi). The double bond goes exactly where the C=O was, unlike E1/E2.

Mechanism in the explorer

Hydride nucleophiles

4. Hydride nucleophiles

H⁻ adds to the carbonyl carbon.

Aldehyde1° alcohol
Ketone2° alcohol

Hydride reduction

NaBH₄ (CH₃OH) or 1) LiAlH₄ 2) H₃O⁺

H⁻ adds: aldehyde → 1° alcohol, ketone → 2° alcohol.

NaBH₄ is enoughIrreversible
Obutan-2-one→NaBH₄OHbutan-2-ol
  • pentanal (NaBH₄) → pentan-1-ol
  • acetophenone (NaBH₄) → 1-phenylethanol

For just an aldehyde or ketone, use NaBH₄; it won't touch esters elsewhere in the molecule.

Mechanism in the explorer

Oxygen nucleophiles

5. Oxygen nucleophiles

Water and alcohols add reversibly under acid. Two alcohols make an acetal, a key protecting group.

1 ROHHemiacetal (usually unstable)
2 ROH, −H₂OAcetal
Acetal stable toBase, Grignards, hydrides

Hydrate formation

H₂O (acid or base catalyst)

Water adds to make a gem-diol (two OH's on one carbon). Usually an unfavorable equilibrium.

ReversibleGem-diol
CH₂Oformaldehyde→H₂O (acid or base catalyst)OHOHmethanediol (formaldehyde hydrate)
  • 2,2,2-trichloroethanal (chloral) → chloral hydrate

Formaldehyde and aldehydes with strong EWGs (like chloral) are mostly hydrated; most ketones aren't.

Mechanism in the explorer

Hemiacetal formation

ROH (acid or base)

One alcohol adds to make a hemiacetal: OH and OR on the same carbon. Stable mainly as 5- or 6-membered rings.

ReversibleCyclic ones are stable
OHO5-hydroxypentanal→ROH (acid or base)OHOtetrahydropyran-2-ol (cyclic hemiacetal)

This is how sugars form rings.

Mechanism in the explorer

Acetal formation

2 ROH (or HOCH₂CH₂OH), TsOH, remove H₂O

Two alcohol groups replace the C=O, forming an acetal: two OR's on one carbon.

Acid catalystRemove water to push it forwardProtecting group
Ocyclohexanone→HOCH₂CH₂OH, TsOHOOcyclohexanone ethylene acetal (1,4-dioxaspiro[4.5]decane)
  • benzaldehyde (2 CH₃OH, H⁺) → benzaldehyde dimethyl acetal
  • acetone (2 CH₃OH, H⁺) → 2,2-dimethoxypropane
  • butanal (HOCH₂CH₂OH, TsOH) → 2-propyl-1,3-dioxolane

Acetals are stable to base, Grignards and hydrides, so they protect a C=O while you react something else.

Mechanism in the explorer

Acetal hydrolysis

H₃O⁺ (excess water)

Excess water and acid run acetal formation backward, giving the C=O back.

DeprotectionReversible
OOcyclohexanone ethylene acetal→H₃O⁺ (excess water)Ocyclohexanone
  • 2,2-dimethoxypropane → acetone + 2 methanol

Acetals survive base but fall apart in aqueous acid.

Mechanism in the explorer

Nitrogen nucleophiles

6. Nitrogen nucleophiles

Amines add, then lose water. The amine type decides the product.

1° amine (RNH₂)Imine (C=N)
2° amine (R₂NH)Enamine (C=C–N)
+ NaBH₃CNAmine (reductive amination)

Imine formation

RNH₂ (1° amine), mild acid (pH 4–5), −H₂O

A 1° amine adds, then water leaves, making a C=N (imine).

1° aminepH 4–5 is bestReversible
Ocyclohexanone→CH₃NH₂, H⁺NN-methylcyclohexanimine
  • benzaldehyde (aniline, H⁺) → N-benzylideneaniline
  • acetone (CH₃NH₂, H⁺) → N-methylpropan-2-imine
  • cyclopentanone (aniline, H⁺) → N-phenylcyclopentanimine

Too acidic and the amine is protonated (no longer a nucleophile); too basic and OH won't leave. Hence pH 4–5.

Mechanism in the explorer

Enamine formation

R₂NH (2° amine), acid, −H₂O

A 2° amine adds; since N has no H left to lose, an H is lost from the neighboring carbon instead, making C=C–N.

2° amineC=C–NUsed in Stork reactions
Ocyclohexanone→pyrrolidine, H⁺N1-(cyclohex-1-en-1-yl)pyrrolidine
  • cyclohexanone (morpholine, H⁺) → 4-(cyclohex-1-en-1-yl)morpholine
  • acetone ((CH₃)₂NH, H⁺) → N,N-dimethylprop-1-en-2-amine

1° amine → imine. 2° amine → enamine. Know which amine you have.

Mechanism in the explorer

Oximes and hydrazones

NH₂OH (oxime) or H₂NNH₂ (hydrazone)

Imine-type products made with special nitrogen nucleophiles; often crystalline.

C=N–OH or C=N–NH₂
Oacetone→NH₂OHNOHacetone oxime
  • cyclohexanone (H₂NNH₂) → cyclohexanone hydrazone
  • benzaldehyde (NH₂OH) → benzaldehyde oxime

Hydrazones are the intermediate in Wolff–Kishner reductions.

Mechanism in the explorer

Reductive amination

RNH₂ (or R₂NH), NaBH₃CN (or NaBH(OAc)₃), mild acid

Makes an imine, then reduces it to an amine, in one pot.

C=O → C–NBest way to make amines
Ocyclohexanone→CH₃NH₂, NaBH₃CNNHN-methylcyclohexanamine
  • benzaldehyde (NH₃, NaBH₃CN) → benzylamine
  • butan-2-one (CH₃NH₂, NaBH₃CN) → N-methylbutan-2-amine

Unlike direct alkylation, it doesn't over-alkylate.

Mechanism in the explorer

Imine and enamine hydrolysis

H₃O⁺

Water and acid turn an imine or enamine back into the C=O and the amine.

Reverse reaction
NN-methylcyclohexanimine→H₃O⁺OCH₃NH₂+cyclohexanone + CH₃NH₂
  • 4-(cyclohex-1-en-1-yl)morpholine → cyclohexanone + morpholine

This is the last step of a Stork enamine synthesis.

Mechanism in the explorer

Sulfur and deoxygenation

7. Sulfur and deoxygenation

Ways to turn C=O into CH₂.

Thioacetal + Raney NiCH₂
Wolff–KishnerCH₂ (base)
ClemmensenCH₂ (acid)

Thioacetal + Raney nickel

1) HSCH₂CH₂SH, BF₃ 2) Raney Ni (H₂)

Make a cyclic thioacetal, then strip out the sulfur with Raney Ni: C=O becomes CH₂.

C=O → CH₂Neutral conditions
Ocyclohexanone→1) HSCH₂CH₂SH, BF₃ 2) Raney Ni (H₂)cyclohexane
  • acetophenone → ethylbenzene

A third way (besides Clemmensen and Wolff–Kishner) to delete a C=O.

Mechanism in the explorer

Wolff–Kishner reduction

H₂NNH₂, KOH, heat

Reduces a C=O to CH₂ under strong base.

C=O → CH₂Basic
Ocyclohexanone→H₂NNH₂, KOH, heatcyclohexane
  • acetophenone → ethylbenzene
  • butan-2-one → butane

Use it when the molecule can't survive strong acid (Clemmensen).

Mechanism in the explorer

Clemmensen reduction

Zn(Hg), HCl, heat

Reduces a C=O to CH₂ under strong acid.

C=O → CH₂Acidic
Oacetophenone→Zn(Hg), HCl, heatethylbenzene
  • propiophenone → propylbenzene

Use it when the molecule can't survive strong base.

Mechanism in the explorer

Oxidations

8. Oxidations

Peroxy acids insert an O next to the C=O; aldehydes are easily oxidized to acids.

Baeyer–VilligerKetone → ester
TollensAldehyde → acid; ketones don't react

Baeyer–Villiger oxidation

mCPBA (or another RCO₃H)

Inserts an O next to the C=O: ketone → ester, cyclic ketone → lactone.

O inserted next to C=OMigration order matters
Ocyclohexanone→mCPBA (or another RCO₃H)OOoxepan-2-one (ε-caprolactone)
  • acetophenone → phenyl acetate
  • cyclopentanone → oxan-2-one (δ-valerolactone)
  • 3-methylbutan-2-one → isopropyl acetate

The more substituted group moves to O: H > 3° > 2° ≈ phenyl > 1° > methyl.

Mechanism in the explorer

Tollens' oxidation

Ag(NH₃)₂⁺ (Tollens' reagent)

Oxidizes aldehydes to carboxylic acids (as carboxylates) and deposits a silver mirror. Ketones don't react.

Test for aldehydesSilver mirror
Obutanal→Ag(NH₃)₂⁺ (Tollens' reagent)OO−butanoic acid (as butanoate)
  • acetone → no reaction
  • benzaldehyde → benzoate (benzoic acid)

Chromic acid also oxidizes aldehydes to acids. Ketones resist both.

Mechanism in the explorer

9. Reaction explorer

Every reaction in the same layout: reagents, what it does, the key facts, examples, the mechanism and the trap.

10. Cheat sheet

Every reaction in this chapter on one table. Scroll sideways on a phone.

ReactionFamilyReagentsWhat it doesKey facts
Grignard additionCarbon nucleophiles1) RMgBr 2) H₃O⁺R⁻ adds to the C=O carbon: formaldehyde → 1°, aldehyde → 2°, ketone → 3° alcohol.Irreversible, New C–C bond, Acid workup
Cyanohydrin formationCarbon nucleophilesHCN (or KCN, HCl)CN⁻ adds to the C=O; the O picks up H. The product has OH and CN on the same carbon.Reversible, C–C bond, OH + CN on one carbon
Wittig reactionCarbon nucleophilesPh₃P=CHR (an ylide)Swaps the C=O oxygen for a CHR group, making an alkene exactly where the C=O was.C=O → C=C, No rearrangement, Ph₃P=O byproduct
Hydride reductionHydride nucleophilesNaBH₄ (CH₃OH) or 1) LiAlH₄ 2) H₃O⁺H⁻ adds: aldehyde → 1° alcohol, ketone → 2° alcohol.NaBH₄ is enough, Irreversible
Hydrate formationOxygen nucleophilesH₂O (acid or base catalyst)Water adds to make a gem-diol (two OH's on one carbon). Usually an unfavorable equilibrium.Reversible, Gem-diol
Hemiacetal formationOxygen nucleophilesROH (acid or base)One alcohol adds to make a hemiacetal: OH and OR on the same carbon. Stable mainly as 5- or 6-membered rings.Reversible, Cyclic ones are stable
Acetal formationOxygen nucleophiles2 ROH (or HOCH₂CH₂OH), TsOH, remove H₂OTwo alcohol groups replace the C=O, forming an acetal: two OR's on one carbon.Acid catalyst, Remove water to push it forward, Protecting group
Acetal hydrolysisOxygen nucleophilesH₃O⁺ (excess water)Excess water and acid run acetal formation backward, giving the C=O back.Deprotection, Reversible
Imine formationNitrogen nucleophilesRNH₂ (1° amine), mild acid (pH 4–5), −H₂OA 1° amine adds, then water leaves, making a C=N (imine).1° amine, pH 4–5 is best, Reversible
Enamine formationNitrogen nucleophilesR₂NH (2° amine), acid, −H₂OA 2° amine adds; since N has no H left to lose, an H is lost from the neighboring carbon instead, making C=C–N.2° amine, C=C–N, Used in Stork reactions
Oximes and hydrazonesNitrogen nucleophilesNH₂OH (oxime) or H₂NNH₂ (hydrazone)Imine-type products made with special nitrogen nucleophiles; often crystalline.C=N–OH or C=N–NH₂
Reductive aminationNitrogen nucleophilesRNH₂ (or R₂NH), NaBH₃CN (or NaBH(OAc)₃), mild acidMakes an imine, then reduces it to an amine, in one pot.C=O → C–N, Best way to make amines
Imine and enamine hydrolysisNitrogen nucleophilesH₃O⁺Water and acid turn an imine or enamine back into the C=O and the amine.Reverse reaction
Thioacetal + Raney nickelSulfur and deoxygenation1) HSCH₂CH₂SH, BF₃ 2) Raney Ni (H₂)Make a cyclic thioacetal, then strip out the sulfur with Raney Ni: C=O becomes CH₂.C=O → CH₂, Neutral conditions
Wolff–Kishner reductionSulfur and deoxygenationH₂NNH₂, KOH, heatReduces a C=O to CH₂ under strong base.C=O → CH₂, Basic
Clemmensen reductionSulfur and deoxygenationZn(Hg), HCl, heatReduces a C=O to CH₂ under strong acid.C=O → CH₂, Acidic
Baeyer–Villiger oxidationOxidationsmCPBA (or another RCO₃H)Inserts an O next to the C=O: ketone → ester, cyclic ketone → lactone.O inserted next to C=O, Migration order matters
Tollens' oxidationOxidationsAg(NH₃)₂⁺ (Tollens' reagent)Oxidizes aldehydes to carboxylic acids (as carboxylates) and deposits a silver mirror. Ketones don't react.Test for aldehydes, Silver mirror

11. Practice

Which family?

Read the reagents, pick the familyStreak: 0

Predict the product

What forms?Streak: 0

Which reagents?

What gets you from left to right?Streak: 0

Multi-step synthesis

Pick the route that makes the productStreak: 0

Draw the arrows

Tap where the electrons start (an atom with a lone pair, or a bond), then tap where they go (an atom or a bond). When a π bond attacks, tap the bond, then the atom it attacks.

Streak: 0

Target

Reagent flashcards

Ready for harder practice?

In the Reaction Lab there are no answer choices: you type the reagents yourself or draw the product yourself, and get told exactly what went wrong.

Want mixed questions from every chapter? Try exam mode.

12. Common traps

"1° and 2° amines give the same product."

1° amines give imines (C=N). 2° amines give enamines (C=C–N), because N has no H left to lose.

"Acetals are stable to everything."

They're stable to base, Grignards and hydrides, but aqueous acid removes them.

"NaBH₄ will reduce the imine in reductive amination fine."

NaBH₄ also reduces the starting C=O. NaBH₃CN is mild enough to leave the C=O alone and only reduce the iminium.

"Imine formation works best in strong acid."

pH 4–5 is best. Strong acid protonates the amine so it can't attack.

"Wittig gives the more substituted alkene, like E1."

The C=C forms exactly where the C=O was, no matter how substituted.

"Baeyer–Villiger puts the O on the methyl side."

The more substituted group migrates: in acetophenone, phenyl moves, giving phenyl acetate.