Ammonia is an important raw material for fertilizer production and chemical industry, and is also a good carbon-free energy storage fuel. Compared with the Haber-Bosch method for industrial-scale ammonia synthesis with high energy consumption and low conversion rate, the electrocatalytic ammonia synthesis method has the advantages of green and high efficiency under mild environmental conditions. This article reviews the reaction mechanism of electrocatalytic ammonia synthesis when using nitrogen, nitrate, and nitrogen oxide as different nitrogen sources. Based on the characteristics of different nitrogen sources, the research progress and advantages of each are analyzed. The problems of difficulty in controlling intermediates and reaction paths for nitrate reduction because of the large elemental valence span, complexity of the nitrogen oxide system, difficulty in controlling the hydrogen evolution reaction, and difficulty in dissolving nitrogen in water for activation are discussed, respectively. The solutions are summarized to develop high activity catalysts with different strategies to improve the reaction efficiency and selectivity, to optimize the reaction device to reduce the influence of mass transfer, and to select different electrolyte systems to improve the reaction process.