Electrocatalytic nitrate reduction is a sustainable approach to produce ammonia and remediate water pollutant nitrate. Here, we show that Co nanoparticle-decorated pomelo-peel-derived carbon is an efficient electrocatalyst for nitrate reduction to ammonia with a faradaic efficiency of 90.1% and a yield of 1.1 mmol h-1 mgcat.-1.