Undoubtedly, electrochemical ammonia synthesis without carbon footprint will be an anticipated alternative to the Haber-Bosch N 2 -xation process which is energy-intensive. Herein, the durian shell derived carbon was designed as the electrocatalyst precursor, and its graphene-like morphology features and unique hierarchic pore structure obtained by controlling calcination condition was used to trap the N 2 molecules rmly and convert them. Furthermore, the NH 3 synthesis properties with N, S doping and codoped were systematically tested. Detailed investigations shown the synergistic effect brought by N and S atom double doping strategy was e cient promote the increase of electrochemical active sites and thus enhanced the electrocatalytic performance. The NH 3 yield of 32.05 µg NH3 mg cat . −1 h − 1 was obtained by double-doped strategy, which enriched the application of biomass derived carbon materials.