Skip to content
Worked Examples · Example 6.5

Q.Haloalkanes react with KCN to form alkyl cyanides as main product while AgCN forms isocyanides as the chief product. Explain.

Odisha ChseTextbookSubjective· 2mImportance★★★★★
3% · 5/147 Questions
✓ Free question

KCN is ionic, giving a free CN−CN^- that attacks through its more nucleophilic CARBON end, forming an alkyl cyanide. AgCN is covalent, with silver bonded to the CARBON of the cyanide group (Ag−C≡NAg-C{\equiv}N) — that is exactly what leaves the nitrogen's lone pair exposed and free to act as the nucleophile instead, giving the isocyanide.

Why cyanide is ambident

The cyanide ion has lone-pair density on both its carbon and nitrogen ends, so it can attack an electrophile through either atom, giving different products: attack through carbon gives an alkyl cyanide (nitrile, R−C≡NR-C{\equiv}N); attack through nitrogen gives an alkyl isocyanide (isonitrile, R−N≡CR-N{\equiv}C).

KCN: free, ionic cyanide attacks through carbon

KCN dissociates completely into K+K^+ and free CN−CN^- in solution. The carbon end of CN−CN^- is more nucleophilic (larger, more polarisable, and it forms a stronger C–C bond with the alkyl carbon than the alternative C–N bond would), so SN2S_N2 attack happens at carbon, giving the nitrile as the major product:

R−X+KCN→aqueous ethanolR−C≡N+KXR{-}X + KCN \xrightarrow{\text{aqueous ethanol}} R{-}C{\equiv}N + KX

AgCN: covalent, silver bonded to CARBON, leaving nitrogen free

AgCN is not a simple source of free CN−CN^- — it is covalent, and the silver sits on the carbon end of the cyanide group: Ag−C≡NAg{-}C{\equiv}N. With silver already occupying the carbon, that end is no longer available to act as a nucleophile — it is the nitrogen lone pair that is left exposed, and nitrogen is what attacks the alkyl halide's carbon. The product is the isocyanide, with silver halide as the byproduct:

R−X+AgCN→etherR−N≡C+AgXR{-}X + AgCN \xrightarrow{\text{ether}} R{-}N{\equiv}C + AgX

Watch out

A common mix-up is to think the metal in AgCN sits on nitrogen. It is the opposite: silver bonds to carbon, and it is precisely THAT occupation of the carbon end that forces the nitrogen end to be the one that attacks — not some separate "kinetic vs thermodynamic" argument.

Summary

ReagentNature of CNSilver/metal bonds toFree end that attacksProduct
KCNFree CN−CN^- ion— (no metal coordination)Carbon (intrinsically more nucleophilic)R−CNR{-}CN (nitrile)
AgCNCovalentCarbonNitrogen (freed up since carbon is occupied)R−NCR{-}NC (isocyanide)
✓Final answer

KCN provides free CN−CN^-, which attacks through its more nucleophilic carbon end to give alkyl cyanides (R−CNR{-}CN). AgCN is covalent with silver bonded to the carbon of the cyanide group, which leaves the nitrogen end free to attack instead, giving alkyl isocyanides (R−NCR{-}NC).

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.