Abstract This work aims to analyze the failure in a pipe of produced water in an oil crude primary separation system. The produced water commonly has a high concentration of soluble salts and sediments. This fluid, which can be discarded or reused, is usually transported by seamless pipes of low carbon steel. In this case, the pipe employed was built by electric resistance welding (ERW) process. The sediment deposits and the elevated Cl − concentration in the produced water promoted the failure by localized corrosion through the longitudinal weld of the pipe. The chemical composition of the pipe, and its high level of inclusions contributed to the premature failure in operation. Thus, some recommendations were presented to mitigate premature failures in this type of application.