The present investigation observed the effect of current density (j), electrocoagulation (EC) time, inter electrode distance, electrode area, initial pH and settling time on the removal of nitrate (NO 3 -) and sulphate (SO 4 2-) from biologically treated municipal wastewater (BTMW), and optimization of the operating conditions of the EC process. A glass chamber of two-liter volume was used for the experiments with DC power supply using two electrode plates of aluminum (Al-Al). The maximum removal of NO 3 -(63.21 %) and SO 4 2-(79.98 %) of BTMW was found with the optimum operating conditions: current density: 2.65 A/m 2 , EC time: 40 min, inter electrode distance: 0.5 cm, electrode area: 160 cm 2 , initial pH: 7.5 and settling time: 60 min. The EC brought down the concentration of NO 3 -within desirable limit of the Bureau of Indian Standard (BIS)/WHO for drinking water. Under optimal operating conditions, the operating cost was found to be 1.01$/m 3 of water in terms of the electrode consumption (23.71 9 10 -5 kg Al/m 3 ) and energy consumption (101.76 kWh/m 3 ).