Photoconductive devices, with remarkable photoconductive performance, of fluorine doped tin oxide/TiO 2/(C 6H 13NH 3) 2(CH 3NH 3) m − 1 Pb mI 3m + 1 (m = 1, 2):TiO 2/Pt were fabricated. An electron injection mechanism from the (C 6H 13NH 3) 2(CH 3NH 3) m − 1 Pb mI 3m + 1 (m = 1, 2) to TiO 2 was proposed for the photoconductive effects, where organic–inorganic hybrid perovskite (C 6H 13NH 3) 2(CH 3NH 3) m − 1 Pb mI 3m + 1 (m = 1, 2), self-organized into mesoscopic TiO 2 films from solution directly, served as the electron donor. The photoconductive performance of the devices can be adjusted by the inorganic sheet thickness (tuned by m) of the hybrid perovskite. The photocurrent value increased as m value increased at the same illumination. Further, when bias voltage was 1.0 V, the ratio of photocurrent and dark current for (C 6H 13NH 3) 2(CH 3NH 3) 2 − Pb 2I 7:TiO 2 reached as high as 7.05 × 10 3. The devices could be potentially used as light detectors and light-controlled switch.