Hydrogen peroxide (H2O2) is one of essential commodity chemicals that is extensively used in various applications such as pulp & paper bleaching, wastewater treatment, and chemical synthesis. The electrochemical H2O2 production via oxygen reduction (2e− ORR) has emerged a promising method of H2O2 production, as it allows clean, continuous, and on-site H2O2 production. We have extensively explored the preparative chemistry of Ni single atom catalysts (Ni SACs) for H2O2 electrosynthesis, inspired by an H2O2-producing metalloenzyme, nickel superoxide dismutase (Ni SOD) with cofactor structures, which consists of a distorted square planar Ni2+ site, phenol group in tyrosine, and amine group in cysteine. We found that the formation of distorted square planar Ni2+–Nx sites with an appropriate degree of distortion is crucial for boosting H2O2 electrosynthesis activity. The optimized Ni SAC exhibited the best H2O2 electrosynthesis mass activity among the reported non-precious metal SACs and carbon-based catalysts. By subjecting the optimized Ni SAC to post-synthetic heat treatments, different types of heteroatom functionality were formed with almost similar Ni2+–Nx coordination structure. The catalyst possessing edge amine and phenol groups with distorted square planar Ni2+–Nx sites exhibited further enhanced catalytic activity. The Ni TOF calculation revealed a synergistic effect between the Ni2+–Nx sites and heteroatom groups.