Based on the surface of nickel foam electrode(Ni foam)with high specific surface area,a carbon nanotubes(CNTs)/Ni foam was prepared through the electrodeposition of CNTs.With the help of cetyltrimethylammonium bromide(CTAB),horseradish peroxidase(HRP)was immobilized onto the surface of CNTs/Ni foam by one-step electrodeposition of Au nanoparticles(AuNPs),and an HRP-AuNPs/CNTs/Ni foam direct electrochemical enzyme sensor was prepared.SEM,electron dispersive spectroscopy(EDS)and electrochemical methods were adopted to characterize the modified electrode,and the test conditions for pH value and work potential were also optimized.The sensor was applied in the detection of hydrogen peroxide and two organic peroxides.Results showed that the sensor has a good catalytic detection performance toward hydrogen peroxide,cumene hydroperoxide and 2-butanone peroxide with the detection limits of 1.2×10-7,4.5×10-7 and 2.5×10-7 mol/L,respectively.