Water distribution networks (WDNs) is crucial to ensure social operations and economic activities. However, WDNs are highly sensitive and vulnerable to disasters. The aim of this study is to mitigate the catastrophic consequences of cascading failures in WDNs. A flow-based WDN cascading failure model is built. The extended multi-objective particle swarm optimization model is developed to resist cascading failures and improve resilience. This model takes pipe diameter as the decision variable to minimize cost and maximize pressure deficit. Water balance, pressure, and standard pipe diameter are the constraints. The classical optimal scenario (COS) and the cascading failure scenario (CFS) are simulated. The model is applied to a small and medium-sized benchmarked WDN. Results show that the extended PSO can find the optimal solution on the benchmarked WDN. The Pareto fronts are obtained. Compare to the Pareto fronts between COS and CFS, the pressure deficit under CFS is significantly reduced, and the cost is reduced while the same pressure deficit increased. Different tolerance parameters are tested. The small network is not sensitive to the tolerance parameter, but the medium-sized network is sensitive. The model evaluates a variety of conflicting goals, which help designers and water managers resist cascading failures in WDNs.