**Abstract**

Sol-gel synthesis is used to obtain coatings that can modify the surfaces of metals to avoid corrosion or to enhance the biocompatibility and bioactivity of metals and their alloys that are of biomedical interest. Anticorrosion coatings composed of smart coatings and self-healing coatings will be described. TiO2, hydroxyapatite, bioglass, and hybrid coatings synthetized by sol-gel technology will be briefly introduced with regard to their role in surface-modifying metals for biomedical purposes. Finally, although there are other approaches to surface-modifying metals for either anticorrosion or biomedical purposes, sol-gel methods have several advantages in controlling surface chemistry composition and functionality.

**Keywords:** surface modification, coatings, sol-gel, corrosion, biomaterials
