This chemical sensor method was selected to detect cyanide in this paper. We synthesized a new reagent which can produce color change from colorless to yellow when encountering cyanide. According to this feature, this reagent can be used to identify cyanide. This reagent had also a good ability of anti-interference, the color change is not obvious when this reagent Encounter the interference ions of F , Cl , Br , I , No3 . So even though these ions are present with Cn- at the same time, this reagent can also identify cyanide accurately.