A novel gel electrolyte approach has been implemented to enable the electrochemical reduction of nitrogen to ammonia at low temperature and pressure.