Titanium dioxide thin film has been successfully synthesized deposited on ITO glass substrates by the sol–gel dip-coating method using freeze drying technique. The precursor and TiO2 film were characterized using XRD, AFM and UV-vis absorption spectra analysis technologies. The XRD result demonstrates that the TiO2 film is well crystallized and consists of anatase phase only with (101) plane. The morphology of the nanoparticles of TiO2 thin film is spherical shape with grain size of 30.1 nm in average diameter and the surface of the TiO2 film is smooth. There is a strong wide UV absorption band around 387 nm and the calculated band gap (Eg) value of the TiO2 thin film is about 3.18 eV. The water contact angles for the thin film was only about 12°. The freeze drying-assisted sol-gel technique offers a novel process route in treating hydrophilic glasses for self-cleaning building materials and would be widely application for building energy saving.