Oil-grade alloy 718 is currently used in high pressure high temperature H2S CO2 and chloride contained corrosive oil drilling field because of its high strength good toughness high pitting corrosion resistance good environment assisted cracking resistance and long corrosion fatigue life. The influence of temperature on pitting behaviors and passive film properties of oil-grade alloy 718 in 3.5% NaCl solution were investigated by potentiodynamic polarization current-time transient curves EIS (Electrochemical impedance spectroscopy) Mott-Schottky plots and X-ray photoelectron spectroscopy (XPS). It was shown that the passive film stability degraded and the corrosion resistance decreased as temperature increased. In addition the susceptibility to pitting corrosion of oil-grade alloy 718 was increased with temperature. Cr- Nb- Mo- and Ti-enriched oxide films were formed on the surface of oil-grade alloy 718 after potentiodynamic polarization at different temperatures. The passive films formed on oil-grade alloy 718 after passivation showed a double-layer structure and behaved as n-type and p-type semiconductors. The XPS results indicated that the outer layer was mixed with Cr(OH)3 Ni(OH)2 FeOOH hydroxides and small amounts of MoO3 while the inner layer consisted of Cr2O3 FeO Fe2O3 Nb2O5 and TiO2. However the compositions and protective properties of passive films were varied with temperature.