A nanocomposite was prepared by physical adsorption of methylene blue on sodium dodecylsulfate that was wrapped on multiwalled carbon nanotubes on the surface of a glassy carbon electrode. This electrostatic interaction enables electrical communication between the electrode and analyte. The composite has been successfully applied for Hydrogen peroxide detection.