A series of corrosion experiments have been carried out in an autoclave to simulate as closely as possible the conditions of a strongly sour gas field. The focus of the study was placed on the effect of gas temperature on top of the line corrosion. The experimental works were conducted in a 20L autoclave especially designed for top of the line corrosion investigation at a total pressure of 25 bars with 2 and 10 bars of H2S and CO2 partial pressure respectively. The temperature for the experiments were varied at 25°C 40?C 60°C and 80°C for 21 days of exposure . The experimental work included weight loss calculation and characterization of the corrosion product films forming under these conditions. The general trend of top of the line corrosion rate decreased with increasing gas temperature. Higher gas and steel temperature led to the formation of protective and dense FeS layer with reduced porosity. At gas temperatures of 60°C and 80?C localized corrosion was observed on top of the line samples with pitting ratio ranging from 5 to 22. The severity of the localized attack was higher at 80?C. However only a small fraction of the surface was affected by pitting. Mackinawite and cubic FeS were always identified at the top of the line in most of the conditions tested while troilite was observed at a gas temperature of 80°C.