In the present study, we developed an electrochemical sensor for highly sensitive detection of hydroxylamine using Au-Pt alloy nanoparticles. Au-Pt alloy nanoparticles were electrochemically deposited on a working electrode made of single-walled carbon nanotubes. The framework composition in the Au-Pt alloy nanoparticle was easily controlled by adjusting the Au