A nano-array biosensor for hydrogen peroxide (H2O2) based on the co-electrodeposition of horseradish peroxidase (HRP) and methylene blue (MB) into anodic aluminum oxide template was constructed. The immobilized HRP could maintain natural bioactivity and MB could efficiently shuttle electrons between HRP and the electrode.