Nitriles can be prepared by the dehydration of primary amides. Common reagents for this include phosphorus pentoxide () and thionyl chloride (). In a related dehydration, secondary amides give nitriles by the von Braun amide degradation. In this case, one C-N bond is cleaved.