A model has been previously developed to predict internal pitting corrosion of oil and gas pipelines. This model is based on experiments carried out in the laboratory at high pressure and high temperature under the operating conditions of the oil and gas pipelines. This model was validated by field trials and using field data. The model accounts for the statistical nature of the pitting corrosion. It predicts the growth of internal pits based on the readily available operational parameters from the field. It includes the pit growth rate driven by variables not included in the model. Finally it considers the variation of the pitting corrosion rate as a function of time and determines the error in the prediction. In this paper an approach has been developed to integrate the pitting corrosion model with the flow model. The pressure drops in a single phase gas flow single phase oil flow two-phase flow as well as three-phase flow have been predicted. Based on pressure drop and elevation change the pipeline locations where water and solids accumulate have been predicted. The pitting corrosion rates in those locations have then been predicted by superimposing the pitting corrosion model on the flow model. The pitting corrosion rates have further been calibrated based on the variation in the field operating conditions to predict reduction in pipe wall thickness as a function of time.