Skip to main content
Chemistry LibreTexts

20.7: Chemistry of Nitriles

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

    Objectives

    After completing this section, you should be able to

    1. discuss, in detail, the preparation of nitriles:
      1. write an equation to illustrate the formation of a nitrile by the nucleophilic attack of cyanide ion on an alkyl halide.
      2. write an equation to illustrate the formation of a nitrile by the dehydration of a primary amide.
      3. identify the product formed when a primary amide is treated with SOCl2, P2O5, or POCl3.
      4. identify the primary amide, the reagents, or both, needed to prepare a given nitrile by a dehydration reaction.
      5. write a detailed mechanism for the dehydration of a primary amide by thionyl chloride.
    2. discuss, in detail, the reactions of nitriles:
      1. write an equation to describe the (acidic or basic) hydrolysis of a nitrile.
      2. write detailed mechanisms for the acidic and basic hydrolysis of nitriles.
      3. identify the products formed from the (acidic or basic) hydrolysis of a given nitrile.
      4. identify the nitrile, the reagents, or both, needed to obtain a given carboxylic acid from a hydrolysis reaction.
      5. write an equation to describe the reduction of a nitrile to give a primary amine.
      6. identify the product formed from the lithium aluminum hydride reduction of a given nitrile.
      7. identify the nitrile, the reagents, or both, needed to prepare a given amine by direct reduction.
      8. write a detailed mechanism for the reduction of a nitrile to a primary amine using lithium aluminum hydride.
      9. give an example of the reduction of a nitrile with diisobutylaluminum hydride.
      10. write an equation to illustrate the reaction of a nitrile with a Grignard reagent.
      11. identify the product formed from the reaction of a given nitrile with a given Grignard reagent.
      12. identify the nitrile, the Grignard reagent, or both, needed to prepare a given ketone.
      13. write a detailed mechanism for the reaction of a nitrile with a Grignard reagent.

    Study Notes

    To be able to understand the driving force behind the reactions of nitriles, you must recognize the polarity of this group:

    carbon shown to be more electropositive than nitrogen in a nitrile group

    You can therefore expect to see similarities between the behaviour of the nitrile group and the similarly polarized carbonyl group:

    carbon shown to be more electropositive than oxygen in a carbonyl group

    Properties of Nitriles

    The electronic structure of nitriles is very similar to that of an alkyne with the main difference being the presence of a set of lone pair electrons on the nitrogen. Both the carbon and the nitrogen are sp hydridized which leaves them both with two p orbitals which overlap to form the two \(\pi\) bond in the triple bond. The R-C-N bond angle in a nitrile is 180o which gives the functional group a linear shape.

    1.jpg

    2.jpg

    The lone pair electrons on the nitrogen of a nitrile are contained in a sp hybrid orbital. The 50% character of an sp hybrid orbital makes the lone pair electrons closer to the nucleus and therefore less basic when compared to lone pair electrons on sp3 hybridized nitrogen containing compounds such as amines.

    3.jpg

    The presence of an electronegative nitrogen causes nitriles to be very polar molecules. Consequently, nitriles tend to have higher boiling points than molecules with a similar size.  Also, the polar nature of nitriles promotes their solubility in water.

    4.jpg

    clipboard_e11cd840ec3e7a247e1f41f9335cc9df1.png

    Interesting Nitriles

    One of the most common occurrences of nitriles is in Nitrile rubber. Nitrile rubber is a synthetic copolymer of acrylonitrile and butadiene. This form of rubber is highly resistant to chemicals and is used to make protective gloves, hoses and seals.  Cyamemazine is an antipsychotic drug primarily used to treat schizophrenia and certain types of anxiety.  Citalopram is an antidepressant primarily used to treat depression, panic disorder, and social phobia.  It is currently among the most prescribed drugs in the United States. Amygdalin is a molecule contained by certain plants to protect themselves against herbivores and insects. Acting as a sort of natural pesticide, amygdalin degrades to release poisonous hydrogen cyanide (HCN) when any plant material is chewed by an insect or animal.

     

     

    1.jpg 2.jpg

    3.jpg 4.jpg

    Preparation of Nitriles

    Nitriles can be synthesized from the nucleophilic addition of cyanide (-:C≡N) to the electrophilic carbonyl group of aldehydes and ketones to form a cyanohydrin.

    3.jpg

    Nitriles are formed by an SN2 reaction between primary and secondary alkyl halides and sodium cyanide. Tertiary and aryl halides cannot be used for this reaction.

     

    1.jpg

    Formation of a Nitrile from and 1o Amide

    Primary amides can be converted to nitriles by dehydration with thionyl chloride (SOCl2) or other dehydrating agents like such as P2O5, or POCl3.

    2.jpg

    Mechanism for the Formation of a Nitrile from and 1o Amide

    For the reaction of primary amides with thionyl chloride, the mechanism begins with the lone pair of the nitrogen atom forming a protonated imine and pushing the pi electrons of the carbonyl to undergo nucleophilic attach sulfur of thionyl chloride. This forms a O-S sigma bond and causes the pi electrons of the thionyl bond (S=O) to be pushed onto the oxygen.  The thionyl bond reforms in concert with the loss of a chloride leaving group (Cl-). The protonated imine is neutralized by any base. The nitrile is produced by an E2-like elimination reaction with a loss of sulfur dioxide (SO2) and another chloride as the leaving groups.

    1) Nucleophilic attack on thionyl chloride

    clipboard_e1bfadceb7cb323b3a0009a7b4d605f53.png

    2) Leaving group removal to reform the thionyl bond

    4.jpg

    3) Deprotonation

    5.jpg

    4) E2-like reaction to form a nitrile

    clipboard_ef55e1cf65191ceeb1c61272c225641b5.png

    Reactions of Nitriles

    Nitriles are analogous to carbonyl groups in that they are both contain pi bonds, are strongly polarized, and contain electrophilic carbons.

    clipboard_ec7e74661cd79c829c686492e88c5cb2f.png

    The bond polarization of a nitrile can clearly be seen when comparing the electrostatic potential maps of an alkene, an aldehyde, and a nitrile.  In the maps of the aldehyde and nitrile, the electron density in the pi bonds is pulled away from the carbon toward the electronegative oxygen and nitrogen.  This gives the functional group carbons a slight positive charge making them electrophilic.  In the map of the alkene, the electron density is centered on the carbon making the pi bond non-polar and the carbons not electrophilic.

    clipboard_ed0b8630ee4bcb58982fca65725287b42.png

    The triple bond of a nitrile reacts with negatively charged nucleophiles to form an imine anion intermediate in much the same fashion that carbonyls form a tetrahedral alkoxide intermediate.  Because the imine anion intermediate still contains a pi bond and an electrophilic carbon, additional nucleophilic additions can occur to form a variety of functional groups including ketones, aldehydes, and amines.  

    clipboard_ece8eb507e3f862c9d8c0fc006bd1f91c.png

     

    General Reactions of Nitriles

    Hydrolysis of Nitriles to form Carboxylic Acids

    One of the more useful reaction involving nitriles is their hydrolysis to form carboxylic acids. This reaction occurs in either acidc or basic aqueous solutions with slight differences in each mechanism.  In the case of acid catalysis, the nitrile becomes protonated. Protonation increases the electrophilicity of the nitrile so that it will accept water, a poor nucleophile. With base catalyzed hydrolysis, the strongly nucleophilic hydroxide anion is capable of directl addition to the carbon-nitrogen triple bond.  During both mechanisms an amide intermediate is formed which usually is not isolated.
     

    Acid Catalyzed Hydrolysis of Nitriles

    clipboard_e6c25c6b67600d4521adb553d88433759.png

    Example

    clipboard_eeb338eaa2162774abf5df51f511f62bb.png

    Mechanism

    The mechanism begins with the protonation of the nitrile to promote the addition of the weakly nucleophilic water molecule to the C-N triple bond. Once water has reacted with the nitrile carbon, a proton transfer and resonance occur to produce a protonated amide. Water acts as a weak base, deprotonating the carbonyl to form an amide and regenerating the hydronium catalyst. Further hydrolysis converts the amide to the carboxylic acid.  The nitrile nitrogen is eventually removed as a leaving group and eventually forms ammonium (NH4+)

    1) Protonation of the nitrile

    clipboard_eb047f9486b5e67ea433f799979201bd2.png

    2) Nucleophilic addition of water

    clipboard_ec1f8c874ef8845e991443ab60ea5c8ab.png

    3) Proton Transfer

    clipboard_ee7200b46c1235673986f7b2dba81aed5.png

    4) Resonance to form a protonated amide

    clipboard_e43b99e7366b453fa956bc73196a71567.png

    5) Deprotonation to form an amide

    clipboard_ebaa29786e44a7cd29299212807a14cdf.png

    6) Further hydrolysis of the amide forms a carboxylic acid. This mechanism can be found in Section 21.7

    clipboard_e23a318af4ccae99e6989658be48fbfef.png

    Base Catalyzed Hydrolysis of Nitriles

    clipboard_e7abd271ca4223f3b2714eb228fa229a0.png

    Example

     

    Mechanism

    Base catalyzed hydrolysis starts with the nucleophilic addition of a hydroxide ion to the C-N triple bond to form an imine anion.  Subsequent protonation by water forms an amide tautomer, hydroxyimine, and regenerates the hydroxide catalyst. Tautomerization of the hydroximine forms an amide which undergo further base catalyzed hydrolysis to form a carboxylic acid. During hydrolysis of the amide, nitrogen from the original nitrile is removed as a leaving group and eventually forms ammonium (NH4+)

    1) Nucleophilic addition of hydroxide

    2) Protonation by water to form a hydroxyimine and hydroxide

    3) Tautomerization of a hydroxyimine to form an amide

    4) Further hydrolysis of the amide forms a carboxylic acid. This mechanism can be found in Section 21.7

    The Reduction Nitriles to 1° Amines by Reaction with LiAlH4

    The reduction of nitriles with lithium aluminum hydride LiAlH4 is an excellent method for the synthesis of primary amines. This reaction occurs via two nucleophilic additions of a hydride to the electrophilic carbon in the nitrile.  Subsequent protonations with an aqueous work-up leads to the primary amine.
     

    1.jpg

    Predicting the Product of a Hydride Reduction

    clipboard_e06400537528aed06d8a584eff473adf7.png

    Example

    clipboard_e78d70ae0eaf1e67ff1b544a40dd8e2ee.png

    Mechanism

    During this reaction the hydride nucleophile reacts with the electrophilic carbon in the nitrile to form an imine anion. The imine ion is stabilized through formation of an anionic Lewis acid-base aluminum complex.  The complex is vital for the continuation of the reaction because it shifts the negative charge from the nitrogen to the alumnium allowing for the imine carbon to remain electrophilic.  Because the imine-aluminum complex still contains a pi bond and an electropilic carbon, it can undergo a second nucleophilic addition of a hydride to form a dianion. The dianion is also stabilized through the formation of an anionic Lewis acid-base aluminum complex. During the aqueous work-up, the dianion is protonated by water to form a primary amine.

    1) Nucleophilic attack by a hydride

    clipboard_e7bd14cd71bae9b88f9029dec07d5d95c.png

    2) Second nucleophilic attack by a hydride

    clipboard_ea786b19a73c9261cc954feb258dbe0d0.png

    3) Protonation by addition of water to give a primary amine

    clipboard_ebdcffcdb37dc1680f572cfafd048f10e.png

    The Conversion of Nitriles to Aldehydes by Reaction with DIBALH

    The use of DIBALH as a hydride source offers an efficient method for the synthesis of aldehydes.  DIBALH only contains on hydride so the addition of one equivalent to a nitrile at low temperature (-780C) allows for the conversion to an aldehyde.

    clipboard_e5289db390c4d5c2298d20da7810ddc30.png

    Predicting the Product of a Reaction with DIBALH

    clipboard_e2ca869e94c13030eb670dd82d030365f.png

    Example

    Mechanism

    The mechanism starts the formation of a Lewis acid-base complex which increases the electrophilic character of the nitrile's carbon. The nucleophilic addition of a hydride forms an imine anion which is also stabilized through formation of a Lewis acid-base aluminum complex.  Unlike the reduction with LiAlH4, DIBALH only has a single hydride so a second nucleophlic addition to the imine anion does not occur.  Subsequently, the imine anion undergoes hydrolyses during acidic aqueous work-up to from an aldehyde. The mechanism of imine anion hydrolysis is the reverse of an imine formation previously discussed.

    clipboard_e73078a4730c1d6bd467e5f596fb5757e.png

    This picture is from an outside source

    Conversion of Nitriles to Ketones Using Organometalic Reagents

    Some organometalic species, such as Grignard reagents or organolithium reagents, undergo nucleophilic addition to the electophillic carbon of a nitrile to form an intermediate imine anion. Despite the presence of a pi bond, the negative charge of the imine anion prevents any further nucleophilic additions. During an aqueous work-up, the imine anion is hydrolyzed by water to form a ketone. 

    General Reactions

    Predicting the Product of a Reaction with an Organometalic

    clipboard_e57b15f2d4ad6ab466b075e8e3f7420d6.png

     

    Examples

     

    Mechanism

    The mechanism begins with the nucleophilic Grignard reagent reacting with the electrophilic carbon of the nitrile to form a salt of the imine anion. The imine salt is protonated to form and imine which subsequenlty protonated to form a positively charged iminium ion.  After nucleophilic attack by water and a proton transfer, the nitrogen from the nitrile is removed as a leafing group in the from of ammonia (NH3).  This step forms a protonated ketone called a ketonium ion which is subsequently deprotonated by ammonia to the neutral ketone and ammonium (NH4+).

    1) Nucleophilic Attack by the Grignard Reagent to form an imine anion

    clipboard_e086974c025ac49001eef6dc88610abee.png

    2) Protonation to form an imine

    clipboard_ee95f3a622cde3bcc2a303a512bb6d54e.png

    3) Protonation to form an iminium ion

    clipboard_e93fd9872ea2a5c2dc5323f1f8b810c09.png

    4) Nucleophilic attack by water

    6.jpg

    5) Proton Transfer

    7.jpg

    6) Removal of NH3 as a leaving group to form a ketonium ion

    clipboard_e43099becfb77fb8e10f2d070fa7224e2.png

    7) Deprotonation to form a ketone

    clipboard_e8ecef9684074a14277d9e3e68086d1e5.png

     

    Planning the Synthesis of a Ketone from a Nitrile

    Because a C-C bond is formed, the reaction of a organometalic reagent with nitrile is an effect method for the synthesis of ketones.  Also, asymetrical ketones offer the possibility of two separate synthesis routes.

    Break a C-C bond between the carbon in the carbonyl and an adjacent carbon.  The fragment with the C=O becomes the nitrile starting material. The other fragment becomes either a Grignard or an organolithium reagent.

    clipboard_eb2ed1a7725638fbcc8e3f6fd6b83031e.png

    Example

    Plan a synthesis of the following molecule using the reaction of a organometallic reagent and a nitrile.

    Solution

    There are two possible pathways to synthesize this molecule.

    Analysis 1)

    Pathway 1)

    Analysis 2)

    Pathway 2)

     

    Exercise

    1) Please show how the following compounds could be prepared from a nitrile:

    a)

    b)

    2) Please show how the following transformations could be preformed:

    a)

    b)

    Solutions

    1)

    a)

     

    b)

     

    2)

    a)

    b)

     

    Contributors and Attributions


    20.7: Chemistry of Nitriles is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?