Skip to main content
Chemistry LibreTexts

Reaction of Alkyl Halides with Ammonia

  • Page ID
    3894
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    This page looks at the reaction between halogenoalkanes (haloalkanes or alkyl halides) and ammonia. The halogenoalkane is heated with a concentrated solution of ammonia in ethanol. The reaction is carried out in a sealed tube. You couldn't heat this mixture under reflux, because the ammonia would simply escape up the condenser as a gas. We'll talk about the reaction using 1-bromoethane as a typical primary halogenoalkane. There is no difference in the details of the reaction if you chose a secondary or tertiary halogenoalkane instead. The equations would just look more complicated than they already are! You get a series of amines formed together with their salts. The reactions happen sequentially.

    Making a Primary Amine

    The reaction happens in two stages. In the first stage, a salt is formed - in this case, ethylammonium bromide. This is just like ammonium bromide, except that one of the hydrogens in the ammonium ion is replaced by an ethyl group.

    \[ CH_3CH_2Br + NH_3 \rightarrow CH_3CH_2NH_3^+ + Br^-\]

    There is then the possibility of a reversible reaction between this salt and excess ammonia in the mixture.

    \[ CH_3CH_2NH_3^+ + NH_3 \rightleftharpoons CH_3CH_2NH_2 + NH_4^+Br^-\]

    The ammonia removes a hydrogen ion from the ethylammonium ion to leave a primary amine - ethylamine. The more ammonia there is in the mixture, the more the forward reaction is favored.

    Making a Secondary Amine

    The reaction doesn't stop at a primary amine. The ethylamine also reacts with bromoethane - in the same two stages as before. In the first stage, you get a salt formed - this time, diethylammonium bromide. Think of this as ammonium bromide with two hydrogens replaced by ethyl groups.

    tertnh3eq1.gifpadding_20g7.gif

    There is again the possibility of a reversible reaction between this salt and excess ammonia in the mixture.

    padding_2vtx.gifsecnh3eq2.gif

    The ammonia removes a hydrogen ion from the diethylammonium ion to leave a secondary amine - diethylamine. A secondary amine is one which has two alkyl groups attached to the nitrogen.

    Making a Tertiary Amine

    And still it doesn't stop! The diethylamine also reacts with bromoethane - in the same two stages as before. In the first stage, you get triethylammonium bromide.

    quatnh3eq.gifpadding.gif

    There is again the possibility of a reversible reaction between this salt and excess ammonia in the mixture.

    padding_p5i3.giftertnh3eq2.gif

    The ammonia removes a hydrogen ion from the triethylammonium ion to leave a tertiary amine - triethylamine. A tertiary amine is one which has three alkyl groups attached to the nitrogen.

    Making a Quaternary Ammonium salt

    The final stage! The triethylamine reacts with bromoethane to give tetraethylammonium bromide - a quaternary ammonium salt (one in which all four hydrogens have been replaced by alkyl groups).

    quatnh3eq.gif

    This time there isn't any hydrogen left on the nitrogen to be removed. The reaction stops here.

    What do you actually get if you react bromoethane with ammonia?

    Whatever you do, you get a mixture of all of the products (including both amines and their salts) shown on this page.

    To get mainly the quaternary ammonium salt, you can use a large excess of bromoethane. If you look at the reactions going on, each one needs additional bromoethane. If you provide enough, then the chances are that the reaction will go to completion, given enough time.

    On the other hand, if you use a very large excess of ammonia, the chances are always greatest that a bromoethane molecule will hit an ammonia molecule rather than one of the amines being formed. That will help to prevent the formation of secondary (etc) amines.

    Contributors


    This page titled Reaction of Alkyl Halides with Ammonia is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Jim Clark.

    • Was this article helpful?