The Hydrolysis of Amides

Technically, hydrolysis is a reaction with water. That is exactly what happens when amides are hydrolyzed in the presence of dilute acids such as dilute hydrochloric acid. The acid acts as a catalyst for the reaction between the amide and water. The alkaline hydrolysis of amides actually involves reaction with hydroxide ions, but the result is similar enough that it is still classed as hydrolysis.

Hydrolysis under acidic conditions

Taking ethanamide as a typical amide. If ethanamide is heated with a dilute acid (such as dilute hydrochloric acid), ethanoic acid is formed together with ammonium ions. So, if you were using hydrochloric acid, the final solution would contain ammonium chloride and ethanoic acid.

$CH_3CONH_2 + H_2O + HCl \ rightarrow CH_3COOH + NH_4^+Cl^-$

Hydrolysis under alkaline conditions

Also, if ethanamide is heated with sodium hydroxide solution, ammonia gas is given off and you are left with a solution containing sodium ethanoate.

$CH_3CONH_2 + NaOH \rightarrow CH_3COONa + NH_3$

Using alkaline hydrolysis to test for an amide

If you add sodium hydroxide solution to an unknown organic compound, and it gives off ammonia on heating (but not immediately in the cold), then it is an amide. You can recognize the ammonia by smell and because it turns red litmus paper blue.

The possible confusion using this test is with ammonium salts. Ammonium salts also produce ammonia with sodium hydroxide solution, but in this case there is always enough ammonia produced in the cold for the smell to be immediately obvious.