Due to the intrinsic slow kinetics and high potential of the anodic oxygen evolution reaction (OER), hydrazine oxidation reaction (HzOR) with ultralow potential is a viable substitute to combine the cathodic hydrogen evolution reaction (HER) for the energy-saving hydrogen generation. Therefore, it is a compelling demand to explore high-performance electrocatalysts for bifunctional HER and HzOR. Herein, natural DNA was employed to prepare the uniform and ultrafine Ir/Ir2P hybrids loaded on N, P-codoped porous carbon (Ir/PNPC) through a facile “mix-and-pyrolyze” approach. Benefitting from abundant heteroatom doping, large surface area and high degree of graphitization, Ir/PNPC only requires the ultrasmall potentials of -22/-347/-54 mV at 100 mA cm-2 for HER, 46/172/227 mV at 10 mA cm-2 for HzOR, and 167/836/864 mV at 100 mA cm−2 for the constructed two-electrode overall hydrazine splitting (OHzS) in the alkaline, neutral and acidic electrolytes, respectively, all exceeding Pt/C and also showing the remarkable energy-efficient superiority over the conventional water splitting. Furthermore, the OHzS system can be readily driven by the as-prepared direct N2H4/H2O2 fuel cell and commercial solar cell with decent H2 generation rate of 1.245 and 1.392 mmol h-1, respectively. This study provides lights on the preparation of the advanced pH-universal HER and HzOR bifunctional electrocatalysts by natural DNA and is also encouraging for the energy-saving H2 production.