PDDA-Gr/PdNPs were synthesized by one-pot hydrothermal approach. A sensitive electrochemical sensor for triclosan was successfully achieved. The sensor has wide linear range, low detection limit and acceptable stability. This method was applied to determine the real samples without pretreatment.