This paper describes the effect of the composition of the oxide films on the properties of electrodes Ti/MxTiySnzO2 (M = Ir or Ru) prepared by the polymeric precursor method. XRD studies showed that the anodes are formed by solid solutions. The electrodes containing IrO2 exhibit lower activity for the oxygen evolution reaction. The doping of the electrode surface with SnO2 improves the catalytic properties of the anodes. However, it should be held in appropriate compositions, because the change in the atomic ratio of this element shows a marked effect on the stability of the oxides. Electrode Ti/Ir0.2Ti0.3Sn0.5O2 has lower lifetime, i.e. 6 hours. The 20% decrease in the stoichiometric amount of SnO2 increases the time to a value above 70 hours, as observed for Ti/Ir0.3Ti0.4Sn0.3O2. Electrode Ti/Ru0.3Ti0.4Sn0.3O2 shows lifetime of 11 hours; therefore IrO2 is more stable than RuO2 under the conditions investigated. These results suggest that electrode Ti/Ir0.3Ti0.4Sn0.3O2 is promising for different applications, such as water electrolysis, capacitors and organic electrosynthesis.