In order to expand photoresponse range of TiO2, reduce energy consumption of semiconductor material optical catalytic, certain amount of rare earth element Erbiun was doped during preparation of anatase titanium dioxide to improve the light absorption and photocatalysis efficiency. A series of rare earth element doped TiO2 material were prepared by sol-gel process, and characterized by means of UV-vis diffuse reflectance spectra. UV-vis absorption verified that doping of Er3+ enhanced absorptive capacity of catalyst in visible region. The photocatalytic performance of anatase titanium dioxide and rare earth element Erbiun doped with TiO2 to basic fuchsin were studied.