Poly(1H-1,2,4-triazole-3-thiol) (poly(T3T)) conductive film was coated successfully on the gold electrode (Au). The electrochemical behavior of vanillin (VAN) was studied on the 1H-1,2,4-triazole-3-thiol-Au (T3T-Au) electrode. The determination of VAN was performed on the T3T-Au electrode using a differential pulse voltammetry (DPV) technique. In order to detect the concentration of VAN, suitable supporting electrolyte solution and pH value were determined. At pH 3 in HClO4 solution, the anodic peak current of VAN obtained with the T3T-Au electrode is 4.3 times greater than the bare Au electrode. The response oxidation peak current and concentration of VAN showed a good linear relationship in the range of 0.1-11.3 mu M. The limit of detection was found as 0.04 mu M. Besides, the reproducibility, repeatability, stability, and interference measurements were also assayed. This sensor was applied successfully for the detection of VAN in synthetic samples and various food samples.