from www.madsci.org :
Pure titanium is fully resistant against corrosion in sea water. Experiments have been performed with titanium samples which were placed in the sea air close to a groyne for three years: the samples did not change at all. The corrosion resistance is due to the formation of a thin oxide film (TiO2, a white material which is frequently used in paints) which is resistant against liquids containing chlorine, such as salt sea water.Usually, you don't find pure titanium, but a titanium alloy. An alloy is a material which contains several metals. Stainless steel, for example, consists mainly of iron, but also contains nickel or chromium. Titanium alloys are usually used for aircraft and missiles where light weight and strength are important. Some titanium alloys may corrode in sea water.