JOVANA
Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

Adding Nitrogen: Imines & Enamines

Swap the oxygen nucleophile of acetal chemistry for a nitrogen one and the carbonyl tells a new story: a primary amine gives an imine, a secondary amine gives an enamine, and the same C=N bond that lets your eye catch a photon also lets enzymes grab their substrates.

A New Nucleophile at the Same Carbon

By now the opening move of carbonyl chemistry should feel automatic. The C=O bond is polarized, the carbon is partially positive and hungry, and a nucleophile attacks it to make a tetrahedral intermediate. In the acetal guide the nucleophile was an alcohol's oxygen. Now we hand the carbonyl a different partner: the nitrogen of an amine. Nitrogen sits just left of oxygen in the periodic table, holds a lone pair, and is actually a BETTER nucleophile than oxygen because it is less electronegative and grips its electrons more loosely — that is the whole content of amine nucleophilicity. So the first half of the story is one you already know.

What makes nitrogen interesting is not the attack but what happens after. With an alcohol, the oxygen stayed put as an -OR group; the carbon ended up bonded to oxygen and the story closed at an acetal. Nitrogen, though, carries hydrogens of its own that it can shed. After the addition you have a nitrogen attached to the carbon AND, in the same place, an -OH waiting to leave. The molecule does the obvious thing: it kicks out water and forms a brand-new double bond. Whether that double bond ends up between carbon and nitrogen (an imine) or back between two carbons (an enamine) depends entirely on one detail — how many hydrogens the amine brought with it.

Primary Amines Make Imines (Schiff Bases)

Start with a primary amine, R-NH2 — a nitrogen carrying TWO hydrogens. Its lone pair attacks the carbonyl carbon, just as before, giving a tetrahedral intermediate where the nitrogen is now positively charged (it spent a lone pair to make a bond) and the old carbonyl oxygen has become a negative -O-. A quick proton shuffle neutralizes both: the nitrogen hands off one of its hydrogens, the oxygen picks one up, and you arrive at a neutral species with both an -OH and an -NHR on the same carbon. Chemists call this halfway house a carbinolamine (or hemiaminal) — the nitrogen analogue of the hemiacetal you met two guides ago.

  1. Attack. The amine nitrogen's lone pair reaches in and bonds to the carbonyl carbon. The arrow runs from nitrogen to carbon; the C=O pi electrons fold up onto oxygen, which goes negative. Carbon is now tetrahedral.
  2. Proton transfer. The positively charged nitrogen loses a proton and the negative oxygen gains one (acid in the flask ferries protons around), leaving a neutral carbinolamine: one carbon bearing both -OH and -NHR.
  3. Protonate the -OH. Acid protonates the hydroxyl to -OH2+, turning a terrible leaving group (hydroxide) into a great one (water). This is the step that needs acid, and the reason the whole reaction is pH-sensitive.
  4. Lose water, form C=N. Water leaves, and the nitrogen's remaining lone pair pushes down to make a double bond to carbon, giving a positively charged iminium ion. Curved arrows here move electron PAIRS, not the atoms — the nitrogen's lone pair becomes the new pi bond.
  5. Deprotonate. The iminium nitrogen still holds a proton; base (or water) plucks it off to give the neutral imine, R-N=CR'2, with its C=N double bond. The catalytic proton borrowed in step three is handed back.

The product, R-N=CR'2, is an imine — historically a Schiff base. Notice the pattern: a primary amine could afford to lose the C=N hydrogen because it brought a spare. The nitrogen entered with two hydrogens, kept one through the dehydration, and that surviving N-H is harmless; the double bond goes cleanly between carbon and nitrogen. The deepest thing to carry away is that imine formation is just the acetal sequence with a smarter leaving strategy: add the nucleophile, then dehydrate — except nitrogen, unlike oxygen, can stabilize the resulting double bond on itself.

The Bell-Shaped pH Curve

Imine formation is famously fussy about pH, and the reason is a genuine tug-of-war, not a quirk to memorize. Look back at the mechanism: step one (the amine attacking) needs the amine to keep its lone pair FREE, while step three (losing water) needs ACID to protonate the -OH. Acid is both friend and foe. Plot the rate against pH and you get a bell curve that peaks gently around pH 4 to 5 — fast in the middle, sluggish at both extremes. Where the reaction sits on that curve is the honest payoff of understanding the steps.

Too acidic (low pH) and the trouble is the amine itself. An amine is a base; flood the flask with acid and nearly every nitrogen gets protonated to R-NH3+. A protonated nitrogen has no free lone pair to attack with — it is a dead nucleophile. So at low pH step one stalls for lack of usable amine. Too basic (high pH) and the opposite step starves: there is no acid around to protonate the carbinolamine's -OH, so water never becomes a good enough leaving group and the dehydration crawls. The sweet spot is mildly acidic: acidic enough to help kick out water, but not so acidic that you have switched off the amine. That single sentence is the whole curve.

Secondary Amines Make Enamines

Now change one detail and watch the product flip. Use a SECONDARY amine, R2N-H — a nitrogen carrying only ONE hydrogen. The opening acts are identical: nitrogen attacks the carbonyl, proton transfers tidy things up, acid protonates the -OH, water leaves, and you reach the same iminium ion as before. But here the iminium nitrogen has NO hydrogen left to lose — both of its non-ring positions are taken by R groups. The molecule is stuck holding a positive charge with no proton on nitrogen to shed. So it relieves the charge a different way: it gives up a proton from the neighbouring carbon instead, the alpha carbon.

When the alpha C-H is removed, those bonding electrons swing in to form a new carbon-carbon double bond, and the positive charge on nitrogen is quenched as its lone pair settles back down. The result is an enamine — literally an 'ene-amine,' an alkene with an amino group hanging off it (C=C-N). Compare the two endings side by side: a primary amine had a spare N-H, so the double bond stayed on nitrogen as an imine; a secondary amine had no spare N-H, so the double bond was forced out onto carbon as an enamine. One hydrogen of difference in the amine decides whether you build C=N or C=C.

R'-NH2  (primary, 2 N-H)   + R2C=O  ->  R'-N=CR2     IMINE  (C=N)
R'2N-H  (secondary, 1 N-H)  + R2C=O  ->  R'2N-CR=CR   ENAMINE (C=C-N)

shared path:  attack -> carbinolamine -> protonate OH -> -H2O -> iminium
then:  imine loses N-H   |   enamine loses alpha C-H
Same first half (up to the iminium), opposite endings. The number of hydrogens on the amine's nitrogen — two versus one — picks whether the final double bond lands on nitrogen (imine) or on the alpha carbon (enamine).

Enamines matter because they are quietly nucleophilic at carbon. The nitrogen lone pair can spill into the C=C, making the far carbon electron-rich — a softened cousin of the enolate you will meet in the next rung's enol and enolate chemistry. That makes enamines handy tools for forming new carbon-carbon bonds at the alpha position under mild, neutral conditions. For now just hold the contrast: imines display their reactivity at nitrogen and the C=N carbon, enamines at the far alpha carbon.

Why Biology Loves the C=N Bond

The very property that makes imines awkward in a flask — their reversibility — is precisely why life uses them everywhere. A C=N bond is a temporary, snap-together-snap-apart linkage: an enzyme can grab a carbonyl substrate by forming an imine to a lysine side chain, do its chemistry, then hydrolyze the imine and release the product. It is molecular Velcro, strong enough to hold and weak enough to let go. Nature did not invent a new reaction for this; it runs the exact mechanism you just walked through, with an amine nitrogen from a protein and the mild, near-neutral pH where the bell curve is comfortably high.

Your eyesight runs on this exact chemistry. In the retina, a molecule called 11-cis-retinal (an aldehyde) is bonded as an imine — a Schiff base — to a lysine inside the protein rhodopsin. When a photon strikes, the retinal's double bonds flip geometry, the protein changes shape, and a nerve signal fires; afterward the imine hydrolyzes to recycle the pieces. Catch a photon, snap a C=N, see the world. The same Schiff-base trick appears in countless enzymes: in transaminases that shuttle amino groups between amino acids, the cofactor pyridoxal phosphate (vitamin B6) works by forming and breaking imines, parking and passing an amine through a chain of C=N intermediates.