The electrochemical corrosion property of four stainless steels 304,316 L,2205,and 2507 in complex corrosion medium,which simulates the one in Tarim Oilfield,was investigated on the electrochemical workstation CHI660 Dand the corrosion produced membranes on the surface of the steels were compared and analyzed by using the scanning electron microscopy(SEM).The result showed that increasing temperature,the four kinds of stainless steel corrosion resistance and pitting corrosion resistance would reduce in two complex corrosion media.The influence of CO2 adding on the corrosion process of stainless steel was complex.At 20 ℃,the four kinds of stainless steel corrosion resistance and pitting corrosion resistance would reduce with CO2 adding.However,at 50℃and 80℃,the four kinds of stainless steel corrosion resistance and pitting corrosion resistance would raise with CO2 adding.The sequence of the four kinds of stainless steels with corrosion resistance from strong to weak would be 2507,2205,316 Land 304 in the same corrosion condition.