The corrosion process under the complex safe-end feedwater line conditions was investigated via experimental lab testing and numerical simulation. The corrosion of safe-end feedwater lines was controlled through the combination of galvanic corrosion, residual stress, and flow velocity. Firstly, galvanic corrosion occurred once the 20 steel was welded with 316L stainless steel. The pitting corrosion could be observed on the 20 steel side of the weld joint. Secondly, a vortex flow was detected around the welding bump and within the pits. The growth of the pits was accelerated in both the vertical and horizontal directions. Finally, under the residual stress condition, the stress intensity factor (K) at the bottom of the pits was easier to reach than the critical stress intensity factor (KISCC). Then, pitting was transformed into stress corrosion cracking which then propagated along the weld line. Therefore, the critical factor inducing the failure of safe-end feedwater lines was the combined action of galvanic corrosion, residual stress, and flow velocity.