A high-efficiency, robust process using a high-concentration imide-based lithium-salt electrolyte enables the electroreduction of nitrogen with stabilized ammonia yield rates of 150 ± 20 nmol s−1 cm−2 and a current-to-ammonia efficiency that is close to 100%.