The Carbylamine reaction is a chemical test for detection of primary amines. In this reaction, the analyte is heated with alcoholic potassium hydroxide and chloroform. If a primary amine is present, the isocyanide is formed.
For example, the reaction with ethylamine: C2H5NH2+CHCl3+3KOH→C2H5NC+3KCl+3H2OEthylamineChloroformEthylisocyanide