This paper presents the effect of Cr doping on the optical and structural properties of TiO2 films synthesized by sol-gel and deposited by the dip- coating technique. The characteristics of pure and Cr-doped TiO2 were studied by absorption and X-ray diffraction measurement. The spectrum of UV absorption of TiO2 chromium concentrations indicates a red shift; therefore, the energy gap decreases with increased doping. The minimum value of energy gap (2.5 eV) is found at concentration of 4 %. XRD measurements show that the anatase phase is shown for all thin films. Surface morphology measurement by atomic force microscope (AFM) showed that the roughness of thin films decrease with doping and has a minimum value with 4 wt % doping ratio.