The aim of this study was to demonstrate the relationship between the structural and corrosion properties of an ISO 5832-9 biomedical alloy modified with titanium dioxide (TiO 2 ) layers. These layers were obtained via the sol-gel method by acid-catalyzed hydrolysis of titanium isopropoxide in isopropanol solution. To obtain TiO 2 layers with different structural properties, the coated samples were annealed at temperatures of 200, 300, 400, 450, 500, 600 and 800°C for 2 h. For all the prepared samples, accelerated corrosion measurements were performed in Tyrode's physiological solution using electrochemical methods. The most important corrosion parameters were determined: corrosion potential, polarization resistance, corrosion rate, breakdown and repassivation potentials. Corrosion damage was analyzed using scanning electron microscopy. Structural analysis was carried out for selected TiO 2 coatings annealed at 200, 400, 600 and 800°C. In addition, the morphology, chemical composition, crystallinity, thickness and density of the deposited TiO 2 layers were determined using suitable electron and X-ray measurement methods. It was shown that the structure and character of interactions between substrate and deposited TiO 2 layers depended on annealing temperature. All the obtained TiO 2 coatings exhibit anticorrosion properties, but these properties are related to the crystalline structure and character of substrate-layer interaction. From the point of view of corrosion, the best TiO 2 sol-gel coatings for stainless steel intended for biomedical applications seem to be those obtained at 400°C.