Skip to main content
Chemistry LibreTexts

20.7: Chemistry of Nitriles

  • Page ID
    448774
  • \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Nitriles are analogous to carboxylic acids in that both have a carbon atom with three bonds to an electronegative atom and both contain a \(\pi\) bond. Thus, some reactions of nitriles and carboxylic acids are similar. Both kinds of compounds are electrophiles, for instance, and both undergo nucleophilic addition reactions.

    In nitrile, carbon is triple-bonded to nitrogen and single-bonded to R. In acid, carbon has a bond to R, a double bond to oxygen, and a single bond to hydroxyl.

    Nitriles occur infrequently in living organisms, although several hundred examples are known. Cyanocycline A, for instance, has been isolated from the bacterium Streptomyces lavendulae and was found to have both antimicrobial and antitumor activity. In addition, more than 1000 compounds called cyanogenic glycosides are known. Derived primarily from plants, cyanogenic glycosides contain a sugar with an acetal carbon, one oxygen of which is bonded to a nitrile-bearing carbon (sugar–O–C–CN). On hydrolysis with aqueous acid, the acetal is cleaved (Section 19.10), generating a cyanohydrin (HO–C–CN), which releases hydrogen cyanide. It’s thought that the primary function of cyanogenic glycosides is to protect the plant by poisoning any animal foolish enough to eat it. Lotaustralin from the cassava plant is an example.

    The structures of Cyanocycline A and Lotaustralin. Lotaustralin is a cyanogenic glycoside with an acetal carbon (C with two R groups and two O R groups).

    Preparation of Nitriles

    The simplest method of nitrile preparation is the SN2 reaction of CN with a primary or secondary alkyl halide, as discussed in Section 20.5. Another method for preparing nitriles is by dehydration of a primary amide, RCONH2. Thionyl chloride is often used for this reaction, although other dehydrating agents such as POCl3 also work.

    The  reaction of 2-ethylhexanamide with thionyl chloride in benzene at 80 degrees Celsius forms 2-ethylhexanenitrile (94 percent yield), sulfur dioxide, and two equivalents of hydrogen chloride.

    The dehydration occurs by initial reaction of SOCl2 on the nucleophilic amide oxygen atom, followed by deprotonation and a subsequent E2-like elimination reaction.

    Reaction mechanism between amide and thionyl chloride. Nitrogen pushes electrons to carbonyl oxygen, results in O S bond. Subsequent loss of chlorine, deprotonation of N, loss of C O bond.

    Both methods of nitrile synthesis—SN2 displacement by CN on an alkyl halide and amide dehydration—are useful, but the synthesis from amides is more general because it is not limited by steric hindrance.

    Reactions of Nitriles

    Like a carbonyl group, a nitrile group is strongly polarized and has an electrophilic carbon atom. Nitriles therefore react with nucleophiles to yield sp2-hybridized imine anions in a reaction analogous to the formation of a sp3-hybridized alkoxide ion by nucleophilic addition to a carbonyl group.

    Nucleophilic attack on carbon of carbonyl compound forms carbanion and further forms products. Nucleophilic attack on nitrile carbon along with its ball-and-stick model forming imine ion and further forms products.

    Some general reactions of nitriles are shown in Figure \(\PageIndex{1}\).

    The conversion of nitriles to amides and carboxylic acids using water. Reduction of nitriles to amines using lithium aluminum hydride. The reaction of nitriles with Grignard reagent to give ketones.
    Figure \(\PageIndex{1}\): Some reactions of nitriles.

    Hydrolysis: Conversion of Nitriles into Carboxylic Acids

    Among the most useful reactions of nitriles is their hydrolysis to yield first an amide and then a carboxylic acid plus ammonia or an amine. The reaction occurs in either basic or acidic aqueous solution:

    Hydrolysis of nitriles to amide using acidic or basic aqueous solutions. Amide is hydrolyzed to carboxylic acid and ammonia using acidic or basic aqueous solutions.

    As shown in Figure \(\PageIndex{2}\), base-catalyzed nitrile hydrolysis involves nucleophilic addition of hydroxide ion to the polar C≡N bond to give an imine anion in a process similar to the nucleophilic addition to a polar C═O bond to give an alkoxide anion. Protonation then gives a hydroxy imine, which tautomerizes (Section 9.4) to an amide in a step similar to the tautomerization of an enol to a ketone. Further hydrolysis gives a carboxylate ion.

    Base-catalyzed mechanism of nitrile hydrolysis to carboxylate anion via four reversible steps: nucleophilic addition of hydroxide to form imine anion, protonation to imine, tautomerization to amide, hydrolysis to carboxylate ion.
    Figure \(\PageIndex{2}\): Mechanism for the basic hydrolysis of a nitrile to yield an amide, which is then hydrolyzed further to a carboxylic acid anion.

    The further hydrolysis of the amide intermediate takes place by a nucleophilic addition of hydroxide ion to the amide carbonyl group, which yields a tetrahedral alkoxide ion. Expulsion of amide ion, NH2, as leaving group gives the carboxylate ion, thereby driving the reaction toward the products. Subsequent acidification in a separate step yields the carboxylic acid. We’ll look at this process in more detail in Section 21.7.

    Nucleophilic attack on carbonyl carbon by hydroxide pushes electron density onto carbonyl oxygen; regenerating carbon-oxygen double bond expels amide ion. Proton abstraction by amide ions forms carboxylate ion and ammonia.

    Reduction: Conversion of Nitriles into Amines

    Reduction of a nitrile with LiAlH4 gives a primary amine, RNH2. The reaction occurs by nucleophilic addition of hydride ion to the polar C≡NC≡N bond, yielding an imine anion, which still contains a C═NC═N bond and therefore undergoes a second nucleophilic addition of hydride to give a dianion. Both monoanion and dianion intermediates are undoubtedly stabilized by Lewis acid–base complexation to an aluminum species, facilitating the second addition that would otherwise be difficult. Protonation of the dianion by addition of water in a subsequent step gives the amine.

    Hydride ion from lithium aluminum hydride adds twice to nitrile, forming an imine and a dianion. Intermediate anions contain nitrogen bonded to aluminum chloride. Further, hydrolysis converts benzonitrile to benzylamine.

    Reaction of Nitriles with Grignard Reagents

    Grignard reagents add to a nitrile to give an intermediate imine anion that is hydrolyzed by addition of water to yield a ketone. The mechanism of the hydrolysis is the exact reverse of imine formation (see Figure 19.7).

    Nucleophilic addition of Grignard reagent on nitrile carbon forms imine anion (intermediate). Hydrolysis by water converts imine ions to ketone and ammonia.

    This reaction is similar to the reduction of a nitrile to an amine, except that only one nucleophilic addition occurs rather than two and the attacking nucleophile is a carbanion (R:) rather than a hydride ion. For example:

    The conversion reaction of benzonitrile to propiophenone by reacting with ethylmagnesium bromide (Grignard reagent) in ether followed by acidic hydrolysis.
    Worked Example \(\PageIndex{1}\): Synthesizing a Ketone from a Nitrile

    How would you prepare 2-methyl-3-pentanone from a nitrile?

    The condensed structure of 2-methyl-3-pentanone. The third carbon is double-bonded to an oxygen atom. A methyl group is attached to the second carbon.
    Strategy

    A ketone results from the reaction between a Grignard reagent and a nitrile, with the C≡NC≡N carbon of the nitrile becoming the carbonyl carbon. Identify the two groups attached to the carbonyl carbon atom in the product. One will come from the Grignard reagent and the other will come from the nitrile.

    Solution

    There are two possibilities.

    The preparation of 2-methyl-3-pentanone by the reaction of nitrile and Grignard reagent. The first pathway used propionitrile and isopropylmagnesium bromide. The second pathway used isobutyronitrile and ethylmagnesium bromide.
    Exercise \(\PageIndex{1}\)

    How would you prepare the following carbonyl compounds from a nitrile?

    1. The structure of pentan-3-one, a five-carbon chain with a carbonyl on C 3.
    2. The structure of 1-(4-chlorophenyl)ethanone in which the chlorine atom is placed para to the ethanone group attached in the benzene ring.
    Answer
    1. Propanenitrile + CH3CH2MgBr, then H3O+
    2. p-Chlorobenzonitrile + CH3MgBr, then H3O+
    Exercise \(\PageIndex{1}\)

    How would you prepare 1-phenyl-2-butanone, C6H5CH2COCH2CH3, from benzyl bromide, C6H5CH2Br? More than one step is needed.

    Answer

    1. NaCN; 2. CH3CH2MgBr, then H3O+


    This page titled 20.7: Chemistry of Nitriles is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.