This work presents the synthesis of fluorine- and chlorine-doped silica thin films on stainless steel (316L) prepared by the sol–gel method. Obtained materials were examined: structurally (SEM, roughness measurements), mechanically (four-point bending test) and biologically (in vitro). The results of the tests show that it is a possibility to synthesis by sol-gel method stable, continuous and biocompatible coating for materials used for implants