This work focuses on a development of a finite element model that simulates corrosion phenomenon and its influence on structure rupture (pipelines). Subsequently, the pitting effect on reliability and pipelines lifetime is studied. In this paper, the investigated structure material is characterized experimentally, in order to determine the maximum strength and stress resistance. Therefore, a numerical model was developed under ANSYS code to simulate different loads to obtain the stress concentration factor as the stresses could surpass the yielding limit in the corrosion impact, and to determine the Von Mises stress. A corrosion model and residual stresses used in the literature are coupled with the probabilistic model to find the limit state function. Thus, failure probability and structure reliability index under the effect of pitting corrosion phenomena are calculated and the obtained results are discussed and analyzed.