Three heme-proteins, including myoglobin (Mb), hemoglobin (Hb) and horseradish peroxidase (HRP), were immobilized on edge-plane pyrolytic graphite (EPG) electrodes by agarose hydrogel. The proteins entrapped in the agarose film undergo fast direct electron transfer reactions, corresponding to FeIII = e- --> FeII. The formal potential (E degrees'), the apparent coverage (Gamma), the electron transfer coefficient (alpha) and the apparent electron transfer rate constant (ks) were calculated by integrating cyclic voltammograms or performing nonlinear regression analysis of square wave voltammetric (SWV) experimental data. The E degrees's are linearly dependent on solution pH (redox Bohr effect), indicating that the electron transfer was proton-coupled. Ultraviolet visible (UV-Vis) and reflection-absorption infrared (RAIR) spectra suggest that the conformation of proteins in the agarose film are little different from that proteins alone, and the conformation changes reversibly in the range of pH 3.0-10.0. Atomic force microscopy (AFM) images of the agarose film indicate a stable and crystal-like structure formed possibly due to the synergistic interaction of hydrogen bonding between N,N-dimethylformamide (DMF), agarose hydrogel and heme-proteins. This suggests a strong interaction between the heme-proteins and the agarose hydrogel. DMF plays an important role in immobilizing proteins and enhancing electron transfer between proteins and electrodes. The mechanisms for catalytic reduction of hydrogen peroxide and nitric oxide (NO) by proteins entrapped in agarose hydrogel were also explored.