Organic Chemistry
Nef Reaction: Nitroalkanes to Carbonyls
The Nef reaction converts a primary or secondary nitroalkane into a carbonyl compound — an aldehyde or ketone — by first deprotonating it to the nitronate salt, then hydrolyzing that salt under acidic conditions. John Ulric Nef reported the transformation in 1894, treating the sodium salt of nitroethane with sulfuric acid and isolating acetaldehyde along with nitrous oxide (N2O). The reaction turns the nitro group, an easily installed and strongly electron-withdrawing handle, into a masked carbonyl.
Its power comes from pairing with C–C bond-forming reactions of nitroalkanes: a nitroaldol (Henry) or Michael addition builds the carbon skeleton with the nitro group acting as an acyl-anion equivalent, and the Nef step then unmasks the carbonyl. Classic acid hydrolysis works but is harsh; oxidative and reductive variants using ozone, TiCl3, KMnO4, or Oxone now let sensitive substrates survive.
- DiscoveredJohn U. Nef, 1894
- TypeNitronate hydrolysis / oxidation
- ConvertsNitroalkane → aldehyde or ketone
- Classic conditionsNaOH then H2SO4
- Mild variantTiCl3 or Oxone / DMD
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
How it works: from nitronate to carbonyl
The transformation begins by removing the C–H alpha to the nitro group. Nitroalkanes are unusually acidic for a C–H bond — nitromethane has a pKa of about 10 in water — because the resulting nitronate anion is stabilized by delocalization onto the two oxygens. Deprotonation with hydroxide or an alkoxide gives the nitronate salt, R2C=NO2−, which is the true substrate for the Nef step.
In the classic acidic version, the nitronate is protonated on oxygen to give the aci-nitro tautomer (a nitronic acid). A second protonation and loss of water generate a reactive 1-nitroso alkene / N-hydroxy iminium species; addition of water and collapse expel the nitrogen as nitrous oxide (N2O) while the alpha carbon ends up as a carbonyl. The net change replaces the C–NO2 unit with a C=O. Because a free nitroalkane in acid does not react — only the nitronate does — the base-then-acid sequence, or a pre-formed salt, is essential.
Mechanistically the reaction is a hydrolysis of a masked oxime-type functionality: you can think of the nitro group as a doubly oxidized amine that, once activated, is displaced by water to unveil the carbonyl carbon underneath.
Conditions, reagents, and milder variants
The original protocol — form the sodium nitronate, then pour it into cold concentrated sulfuric acid — still appears in the literature, but strong acid and the transient nitroso-alkene intermediate cause side reactions: Nef products can suffer aldol condensation, oximes and hydroxamic acids form, and acid-labile protecting groups are lost. Yields under the classic conditions are frequently modest (often 40–70%).
- Reductive Nef (McMurry): aqueous TiCl3 near pH 6 converts nitronates to carbonyls under near-neutral, mild conditions and is a favorite for aldehydes that would not survive strong acid.
- Oxidative Nef: treating the nitronate with Oxone, KMnO4, ozone, or dimethyldioxirane (DMDO) delivers ketones cleanly; some oxidative methods over-oxidize aldehydes to carboxylic acids, so they are chosen mainly for ketone targets.
- Mo/W and singlet-oxygen methods: catalytic oxidations and photochemical variants extend the reaction to substrates sensitive to metals or acid.
In practice the alpha carbon must be substituted so that after removal of one nitro proton a carbonyl can form: primary nitroalkanes give aldehydes, secondary nitroalkanes give ketones.
Scope and limitations
The requirement that limits the Nef reaction is simple but strict: there must be at least one hydrogen on the nitro-bearing carbon so that a nitronate can be made. Tertiary nitroalkanes cannot undergo the Nef reaction because they have no alpha C–H to deprotonate. Primary nitro compounds give aldehydes and secondary ones give ketones; nitromethane itself would give formaldehyde but is more often used as a one-carbon building block.
- Competing pathways: under basic conditions nitronates can dimerize or undergo retro-Henry (reverting the nitroaldol), and under acid the intermediate can be trapped as an oxime or nitrile oxide instead of the carbonyl. Controlling pH and temperature steers the outcome.
- Sensitive functionality: beta-hydroxy nitro compounds from the Henry reaction can eliminate water to give nitroalkenes if the medium is too basic or hot; mild reductive/oxidative variants avoid this.
- Chemoselectivity: acetals, silyl ethers, and other acid-labile groups often demand the TiCl3 or oxidative routes rather than the mineral-acid version.
Why it matters: the nitro group as an acyl-anion equivalent
The reason chemists keep the Nef reaction in their toolkit is umpolung. A normal carbonyl carbon is electrophilic. A nitroalkane, by contrast, is easily deprotonated to a stabilized carbanion (the nitronate) that is nucleophilic at that same carbon. So a nitro group serves as a masked, polarity-reversed carbonyl: you form C–C bonds nucleophilically, then run the Nef reaction to reveal the aldehyde or ketone you actually wanted.
The most common pairing is with the Henry (nitroaldol) reaction: a nitroalkane adds to an aldehyde to give a beta-nitro alcohol, and the Nef step converts the nitromethyl group into an aldehyde, delivering an overall alpha-hydroxy aldehyde or, after further steps, 1,2-diols and amino alcohols. Nitroalkanes also do conjugate (Michael) additions to enones; a subsequent Nef reaction turns the adduct into a 1,4-dicarbonyl, a motif that is otherwise awkward to assemble. These sequences appear in carbohydrate synthesis, in the assembly of amino sugars, and in complex natural-product routes where the nitro group's easy installation and reversal of polarity solve connectivity problems that direct carbonyl chemistry cannot.
History and naming
John Ulric Nef, a Swiss-American chemist working at the University of Chicago, published the reaction in 1894 while studying the salts of nitroalkanes. Treating the sodium salt of a primary nitro compound with sulfuric acid, he observed the formation of a carbonyl compound together with nitrous oxide, and the sequence has carried his name ever since. Nef is also remembered for early (and partly incorrect) proposals about divalent carbon that anticipated modern carbene chemistry.
For most of the twentieth century the reaction meant the harsh acidic protocol. The renaissance came with milder redox versions — McMurry's TiCl3 method in the 1970s and a family of oxidative conditions (KMnO4, ozone, Oxone, DMDO) — which made the Nef reaction compatible with the sensitive substrates of modern total synthesis. Today it is most often discussed hand-in-hand with the Henry reaction as the two-step 'build then unmask' strategy for making carbonyls from nitroalkanes.
| Method | Reagents | Notes |
|---|---|---|
| Classic acidic | Base, then conc. H2SO4 / mineral acid | Cheap; harsh, can decompose acid-sensitive groups; releases N2O |
| Reductive (TiCl3) | TiCl3, aqueous buffer, ~pH 6 | Mild, near-neutral; excellent for aldehydes; avoids strong acid |
| Oxidative | Oxone, KMnO4, ozone, or DMDO on the nitronate | Good for ketones; some methods over-oxidize aldehydes to acids |
| Reductive to oxime | Halt at hydroxynitroso / oxime stage | Diverts to nitrile oxide or oxime rather than carbonyl |
Frequently asked questions
What does the Nef reaction do?
It converts a primary or secondary nitroalkane into a carbonyl compound. Primary nitroalkanes give aldehydes and secondary ones give ketones. The nitro carbon becomes the carbonyl carbon, and the nitrogen leaves (as nitrous oxide in the classic acidic version).
Why does the Nef reaction need base first and then acid?
A free nitroalkane does not react. You must first deprotonate the alpha C-H with base to form the nitronate salt, which is the reactive species. Adding acid then protonates and hydrolyzes that nitronate to the carbonyl. Skipping the base means there is no nitronate to react.
Why can't tertiary nitroalkanes undergo the Nef reaction?
The Nef reaction requires a hydrogen on the carbon bearing the nitro group so a nitronate can form by deprotonation. A tertiary nitroalkane has no such alpha C-H, so no nitronate can be made and the transformation is impossible.
How is the Nef reaction related to the Henry reaction?
They are complementary steps. The Henry (nitroaldol) reaction forms a C-C bond by adding a nitroalkane to an aldehyde, giving a beta-nitro alcohol. The Nef reaction then unmasks the nitro group as a carbonyl. Together they use the nitro group as an acyl-anion equivalent.
What are milder alternatives to the classic sulfuric-acid Nef conditions?
Aqueous TiCl3 near pH 6 (the reductive Nef) is mild and excellent for aldehydes, while oxidative conditions such as Oxone, KMnO4, ozone, or dimethyldioxirane work well for ketones. These avoid strong acid and tolerate acetals, silyl ethers, and other acid-labile groups.
What byproduct is formed in the classic Nef reaction?
In the classic acidic hydrolysis, the nitrogen is expelled as nitrous oxide (N2O). This gas evolution is a hallmark of the reaction. Redox variants avoid or alter this pathway by using titanium(III) or an oxidant instead of strong acid.