We developed a simple method to synthesize TiO2 nanowire arrays with nearly 100% exposed {001} facets. The coating exhibits good transparency. The thin films of TiO2 nanowire arrays display a very good photocatalytic degradation of dye molecules and good durability. Based on the above features, the TiO2 nanowire array coating is advantageous for self-cleaning coating.