A novel ultraviolet photochemical method was used to prepare TiO 2 resistive-switching films. Amorphous TiO 2 films were formed on flexible indium-tin oxide (ITO) coated polyethylene terephthalate (PET) substrates by deep ultraviolet irradiation at 150 °C. A Pt/TiO 2 /ITO/PET device was then fabricated to investigate bipolar resistive switching of the films for potential application in non-volatile memories. The ratio of on-state to off-state currents was measured, and a good value of 1000 was obtained. The retention and switch-cycling characteristics of the device were investigated for different bending radii. The resistive switching behavior of the flexible device remained stable after 600 cycles of electrical switching and 1000 cycles of bending.