High levels of CO2 and H2O concentration will cause serious internal corrosion of pipeline during the exploitation and transportation of oil and gas. Since carbon steel which is easy to occur localized corrosion and stainless steel which cost more and has a problem of weld cracking it is difficult to meet the requirement of transporting oil and gas with CO2. Economical 3Cr low alloy steel which has both good CO2 corrosion resistance and welding property has been successfully used as tubing in oil industry. Heat treatment significantly affects the mechanical properties and corrosion resistance of 3Cr steel but it has rarely been studied. In this article two different heat treatments had been conducted. One was the quenching which was carried out by heating the specimens at 900? for 40 min and cooling them in water. Another was the same quenching method mentioned above but following the quenching treatment specimens were tempered at 660? for 50min and then cooling them in air. The 3Cr steel which was not heat treated served as a contrast. To research the influence of heat treatment on the corrosion resistance of 3Cr steel high temperature high pressure autoclave was used to simulate the application environment of pipeline. The Vickers microhardness impact energy and tensile property were measured respectively. The results showed that the heat treatment could significantly improve the mechanical properties and corrosion resistance of 3Cr steel. This has a great guiding significance for the application of 3Cr steel in petroleum engineering.