Effect of temperature on the corrosion behavior of X70 pipeline steel in 3.5% NaCl solution was studied by the immersion test, polarization curves, electrochemical impedance spectroscopy (EIS), scanning electron microscope (SEM), and X-ray diffraction (XRD). The corrosion potential (Ecorr) decreases, and the corrosion current density (Icorr) increases with the increase of temperature, so the corrosion rate increases. With the increase of temperature, the size of the capacitive semicircle of the Nyquist plots and the modulus of the impedance decreases at the same immersion time. Moreover, the characteristic frequency in the phase Angle plots decreases. The double charge layer capacitance (Qdl) increases with the increase of temperature and the immersion time. With the increase of temperature, the solution resistance (Rs), the charge transfer resistance (Rt) and the adsorption resistance of the corrosion product (Rf) decreases, the adsorption capacitance of the corrosion product (Qf) increases, the surface of the X70 steel was covered by a large amount of the gathered corrosion products, and the amount and the size of corrosion products significantly increases. With the increase of immersion time, Rt, the trend of the modulus of the impedance at low frequency, and Rf decreases at 25℃, 40℃, and 60℃, a small amount of corrosion products covered the surface of the X70 steel and more cracks were appeared on the corrosion products. However, at 80℃ and 95℃, these increases, a large amount of corrosion products covered the surface of the X70 steel, which is consistent with the increase of Rf that inhibits the corrosion process. At different temperatures and immersion time, the main composition of the corrosion products is similar, with Fe3O4, FeOOH and Fe2O3.