Few studies employ electrochemical technology for urban water disinfection. This paper presents the replacement of a Cl 2 gas system by an on-site chlorine generation system (electrochemical disinfectant solution, EDS) and application at a water treatment plant. The study compares the Cl 2 gas and EDS systems over 36 months, with 18 months for Cl 2 gas and, after the implementation, 18 months for the EDS system (12-month dry season and 6-month wet season). Turbidity, residual Cl 2 , pH, total and faecal coliforms and DBPs were monitored. Turbidity was within legal limits and DBPs below both legal limits and limits of detection. For Cl 2 gas, residual Cl 2 suffered a decrease in wet and dry periods. However, the EDS maintained residual Cl 2 to the network tips without significant variations, with operational costs reduced by $41%.The study demonstrates that on-site Cl 2 generation can be employed for water disinfection for large urban areas with considerable economic and technical advantages. K E Y W O R D S chlorine gas, disinfection, electrochemical disinfectant solution, urban water treatment, water treatment plant 1 | INTRODUCTION An important factor in sanitation policy is the handling of water for human consumption, ranging from collection, treatment and storage to distribution. The most used products for disinfection are chlorine based, such as chlorine dioxide (ClO 2 ), various hypochlorite (ClO À ) forms and chlorine gas (Cl 2 ) itself (Abdullah et al., 2009). Chlorine for disinfection of drinking water has been widely used for more than 100 years, because it is low cost and presents residual disinfection capacity in the distribution systems, whereas other agents, such as ozone (O 3 ) or hydrogen peroxide (H 2 O 2 ), do not present this capacity (Abdullah et al., 2009) and can also form toxic degradation byproducts (Ike, Lee, & Hur, 2019).Researchers have observed that disinfectant stability (concentration) in distribution network can depend on several factors, including line pressure, water quality, mains maintenance and disinfectant type (Blokker, Smeets, & Medema, 2014). In the case of Cl 2 in the distribution network, it has been observed that concentration decreases with distance from the original dosage point (Angulo et al., 2017). Therefore, at the exit point of the water treatment plant (WTP), the concentration is generally higher than at the extremes of the distribution system, as seen in the literature (Angulo, 2017;Fisher, Kastl, & Sathasivan, 2011). It has been reported that maintenance in the distribution system, during pipe opening, removal and substitution, may contribute to drinking water contamination by pathogens by permitting the entrance of contaminated materials (Blokker et al., 2014).