NOVELTY - A rare earth doped titanium dioxide optical anode comprises rare earth compound and tetrabutyl titanate having a mole ratio of 1:10-100.    USE - A rare earth doped titanium dioxide optical anode for dye-sensitized solar cell.    ADVANTAGE - The anode has an up-conversion capability and rho -type doping effect, simple preparation, cheap and easy to obtain raw materials, and improved light current and photo-voltage of battery and Fermi level of titanium dioxide thus improving photoelectric conversion efficiency of battery.    DETAILED DESCRIPTION - An INDEPENDENT CLAIM is included for preparation of the rare earth doped titanium dioxide optical anode comprising:    (A) mixing nano-crystal titanium dioxide and tetrabutyl titanate (10 times crystal quantity), adding deionized water, stirring for 30 minutes, filtering, washing for 2-3 times to obtain white solids, adding mixed solution of nitric acid and acetic acid having a pH of 1 to washed solids, heating at 80 degrees C to obtain transparent blue solution, subjecting to hydrothermal treatment at 200 degrees C for 12 hours, adding mixed solution of nitric acid and acetic acid having a pH of 1, subjecting to hydrothermal treatment at 80 degrees C for 12 hours, adding polyethylene glycol 20000 and emulsifier (25 wt.%), and stirring to obtain nano-crystal titanium dioxide colloid;    (B) dissolving erbium oxide and ytterbium oxide in a nitric acid solution to obtain a nitrate solution, adding titanium dioxide blue solution and tetrabutyl titanate, subjecting to hydrothermally treatment at 200 degrees C for 12 hours, filtering, vacuum drying the filter cake at 100 degrees C for 2.5 hours, grinding, sintering at 800 degrees C for 2.5 hours, and cooling naturally to room temperature to obtain the rare earth doped titanium dioxide powder; and    (C) mixing rare earth doped titanium dioxide powder and nano-crystal titanium dioxide colloid at a ratio of 1:3, heating at 450 degrees C for 20 minutes, cooling to 80 degrees C, sintering at 450 degrees C for 30 minutes, cooling to room temperature, immersing obtained product in dye solution for 24 hours, drying, immersing in ethanol for 3-5 minutes, washing, and air drying.