Submersible drainage sump pumps work in a highly corrosive environment, forming films with corrosive reaction products on the surface. Pump rotors are high-demand parts, so they are made of quality materials with good wear and corrosion resistance properties such as nodular graphite cast iron. This paper analyses the corrosion behaviour of cast iron used in the manufacture of rotors in three types of wastewaters, with variable pH. Nodular graphite cast iron samples were immersed in wastewater for 30, 60, and 90 days and tested by linear polarisation and electrochemical impedance spectroscopy (EIS). Also, the layers of reaction products formed on the surface of the material were analysed by SEM and EDS. The results showed that nodular cast-iron immersed in wastewater with acidic pH showed intense corrosion, the oxide layer formed on its surface is unstable. Also, the final structure of the product layer is that of a tri-layer with cations and anions absorbed from the corrosion media: the double-electric layer directly connected to the metal surface, an internal layer consisting of ferrous compounds and ferric compounds that control the diffusion of oxygen, an outer layer, and a compact crust of ferric compounds. The change in the pH of the wastewater has a major influence on the corrosion rate of the cast iron, which increases from 356.4 µm/year in DWW-1 (6.5 pH) to 1440 µm/year in DWW-2 (3 pH) and 1743 µm/year DWWW-3 (11 pH) respectively. As can be seen, the experimental study covers the problem of the corrosion behaviour of the pump rotor in various types of wastewaters this aspect is particularly important for the good use of wastewater pumps and to predict possible deviations for the operation of the equipment within the treatment plants.