Flexible pipes used in the offshore petroleum industry are made of steel wires covered with internal and external polymer sheaths that protect the internal metallic layers. These polymer layers are not fully impervious therefore some molecules such as H2S CO2 and H2O can permeate through these layers and create a harsh corrosive environment inside the annulus of these pipes. This situation is very different from that of the conventional pipelines because the amount of electrolyte is rather limited. Thus the corrosive liquid in the annulus space will soon become saturated with corrosion products while normal pipes are mostly exposed to an infinite and non-variant bulk of electrolyte in the fluid. A mechanistic model is developed to predict the uniform corrosion in flexible pipes caused by H2S and CO2 permeation into the annulus space. The model incorporates the effect of transport of the species the transient chemical variations in the annulus and the corrosive electro chemical reactions. The model allows predicting the corrosion phenomena and analysing the effect of different operating and design parameters. Several simulations were performed and the effect of pressure temperature volume-to-area ratio in the annuluar space the growth of the scale layer and the permeation rates were investigated. The simulation results were discussed in details and some validation is provided.