The investment and operating costs of pumping stations in drinking water distribution networks are some of the highest public costs in urban sectors. Generally, these systems are designed based on extreme scenarios. However, in periods of normal operation, extra energy is produced, thereby generating excess costs. To avoid this problem, this work presents a new methodology for the design of pumping stations. The proposed technique is based on the use of a setpoint curve to optimize the operating and investment costs of a station simultaneously. According to this purpose, a novel mathematical optimization model is developed. The solution output by the model includes the selection of the pumps, the dimensions of pipelines, and the optimal flow distribution among all water sources for a given network. To demonstrate the advantages of using this technique, a case study network is presented. A pseudo-genetic algorithm (PGA) is implemented to resolve the optimization model. Finally, the obtained results show that it is possible to determine the full design and operating conditions required to achieve the lowest cost in a multiple pump station network.