The TiO2 solution was made by sol-gel method in this research. The mesoporous TiO2 film was grown on ITO glass by spin coater via layer-by-layer deposition. The influence of heat treatment temperature and TiO2 film thickness on conversion efficiency was discussed here. The conversion efficiency of DSSC with three-layers TiO2 film treated at 650℃ is 1.71 %. 0.1M of iodide was optimized parameter of electrolyte in this research. Furthermore, the TiO2 film gave a higher conversion efficiency than the TiO2 film nontreated by 4-tertbutylpyridine, which increased 13% by surface treatment with 4-tertbutylpyridine.