girgit.org

Amines

Alkylation, acylation and the carbylamine test

The big ideaAn amine's lone pair attacks carbon: with alkyl halides it adds alkyl groups (alkylation), with acid chlorides and anhydrides it swaps an N–H for an acyl group and becomes an amide (acylation), and with chloroform and KOH a primary amine gives a foul-smelling isocyanide, a test that no 2° or 3° amine passes.

In simple words

The pocket on the nitrogen does not only catch tiny charged bits. It can also reach out and grab a carbon that is a bit short of its share. Grab a carbon chain and you add a chain. Grab a carbon that holds an oxygen and you build a new, calmer thing, which is how a common fever pill is made. And one special pair of helpers turns only the one-chain kind into something with a truly awful smell, so your nose becomes the test.

Alkylation

You saw this when making amines: an amine attacks an alkyl halide, and the product can attack again. Each step adds one alkyl group to nitrogen until a quaternary ammonium salt forms.

\[ \ce{C2H5NH2 + C2H5Br -> (C2H5)2NH + HBr} \]

With excess methyl iodide, aniline ends up as N,N,N-trimethylanilinium iodide, C6H5N(CH3)3+I−. This complete loading of nitrogen is sometimes called exhaustive alkylation.

Acylation: amines into amides

Primary and secondary amines, aliphatic and aromatic, react with acid chlorides, anhydrides and esters by nucleophilic substitution. An H on nitrogen (of –NH2 or >N–H) is replaced by an acyl group, R–CO–. This is acylation, and the products are amides.

\[ \ce{C2H5NH2 + CH3COCl ->[\text{pyridine}] C2H5NHCOCH3 + HCl} \quad (\text{N-ethylethanamide}) \] \[ \ce{(C2H5)2NH + CH3COCl ->[\text{pyridine}] (C2H5)2NCOCH3 + HCl} \quad (\text{N,N-diethylethanamide}) \] \[ \ce{C6H5NH2 + (CH3CO)2O -> C6H5NHCOCH3 + CH3COOH} \quad (\text{acetanilide, N-phenylethanamide}) \]
  • The reaction is run with a base stronger than the amine, such as pyridine. It removes the HCl formed (which would otherwise turn the amine into a useless salt) and shifts the equilibrium to the right.
  • Tertiary amines are not acylated: they have no H on nitrogen to replace.
  • With benzoyl chloride, C6H5COCl, the reaction is called benzoylation:
\[ \ce{CH3NH2 + C6H5COCl -> CH3NHCOC6H5 + HCl} \quad (\text{N-methylbenzamide}) \]

Try it: add acetyl chloride to a primary, a secondary and a tertiary amine.

What about plain carboxylic acids? At room temperature, an acid and an amine just do an acid–base reaction and give a salt, R–COO− R′NH3+.

Paracetamol is an acylated amine

The paracetamol (sold under many brand names) in most Indian medicine boxes is N-(4-hydroxyphenyl)ethanamide. It is made by acetylating 4-aminophenol, an aniline with an –OH on the para carbon, with acetic anhydride:

\[ \ce{HO-C6H4-NH2 + (CH3CO)2O -> HO-C6H4-NHCOCH3 + CH3COOH} \]

The –NH2 is the stronger nucleophile of the two groups, so the acetyl goes onto nitrogen and the –OH is left alone. 4-Aminophenol itself can be made by reducing 4-nitrophenol: the reduction route from the start of this chapter.

The carbylamine (isocyanide) test

Heat a primary amine, aliphatic or aromatic, with chloroform and ethanolic potassium hydroxide. It forms an isocyanide (also called a carbylamine), R–N≡C, which has a very foul smell.

\[ \ce{R-NH2 + CHCl3 + 3KOH ->[\text{heat}] R-NC + 3KCl + 3H2O} \] \[ \ce{C6H5NH2 + CHCl3 + 3KOH ->[\text{heat}] C6H5NC + 3KCl + 3H2O} \quad (\text{phenyl isocyanide}) \]

Making R–N≡C needs both H atoms on nitrogen to be removed, so secondary and tertiary amines do not give this reaction. That makes it a test for primary amines: the carbylamine reaction or isocyanide test.

Try it: warm three amines with chloroform and alcoholic KOH.

Guess first

Which of these gives the foul isocyanide smell when heated with CHCl3 and alcoholic KOH?

  1. (CH3)2NH
  2. C6H5CH2NH2
  3. C6H5N(CH3)2

Try it: predict all nine before you look at the box below.

Which amines do what

  • Alkylation: 1°, 2° and 3° (3° goes straight to the quaternary salt).
  • Acylation and benzoylation: 1° and 2° only.
  • Carbylamine test: 1° only (aliphatic and aromatic).

Don't mix these up

  • Isocyanide R–N≡C (N joined to R, foul smell, from the carbylamine test) is not a nitrile R–C≡N (C joined to R).
  • Acetylation uses acetyl chloride or acetic anhydride; benzoylation uses benzoyl chloride.
  • Pyridine in acylation is a base that mops up HCl, not a catalyst that is acylated.

Words to know

Alkylation
Adding an alkyl group to nitrogen with an alkyl halide.
Acyl group
R–CO–, the part of an acid left after removing –OH.
Acylation
Replacing an N–H hydrogen by an acyl group, giving an amide.
Benzoylation
Acylation with benzoyl chloride, C6H5COCl.
Acetanilide
C6H5NHCOCH3, acetylated aniline.
Isocyanide (carbylamine)
R–N≡C, a foul-smelling compound formed only from primary amines.

Why is pyridine added when an amine is acylated with an acid chloride?

  1. To remove the HCl formed and push the reaction forward
  2. To make the acid chloride more acidic
  3. Because pyridine itself is acylated first

Which amine can not be acylated with acetyl chloride?

  1. Aniline
  2. Diethylamine
  3. Triethylamine