Wastewater from livestock farms contains high concentrations of suspended solids, organic contaminants, and nitrogen compounds, such as ammoniacal nitrogen. Discharging livestock effluents into water bodies without appropriate treatment leads to severe environmental pollution. Compared to conventional treatment methods, electrochemical oxidation exhibits higher nitrogen removal efficiencies. In the present work, the electrochemical removal of ammoniacal nitrogen from real livestock wastewater was investigated through a lab-scale reactor. Preliminary experiments were carried out to investigate the effects of different anode materials, including boron-doped diamond and iridium/ruthenium-coated titanium, on the total nitrogen removal efficiency using synthetic wastewater. Boron-doped diamond, a well-known non-active electrode, allowed to obtain 63.7 ± 1.21 % of total nitrogen degradation efficiency. However, the iridium/ruthenium-coated titanium electrode, belonging to the class of active anodes, showed a higher performance, achieving 78.8 ± 0.76 % contaminant degradation. Coupling iridium/ruthenium-coated titanium anode with a stainless-steel cathode improved the performance of the system, achieving even 96.2 ± 2.73 % of total nitrogen removal. The optimized cell configuration was used to treat livestock wastewater, resulting in the degradation of 67.0 ± 2.25 % of total nitrogen and 37.3 ± 0.68 % of total organic carbon when sodium chloride was added. At the end of the process, the ammonium content was completely removed, and only 17.7 ± 0.51 % of the initial nitrogen turned into nitrate. The results show that the proposed system is a promising approach to treating livestock wastewater by coupling high contaminant removal efficiencies with low operational costs. Anyway, further studies on process optimization with an emphasis on power requirements and electrode costs need to be carried out.